Rafal CCC

Rafal CCC

  • NA
  • 2
  • 6.4k

Alvas.Audio, NAduio and Fourier transform

Aug 7 2011 1:07 PM
Hi, I need help with my c# program.

Speaking to a microphone, I want to sound was processed by Fourier Transform (I think the parties should be thrown to the buffer, processed and deposited into speakers), this should work at all in real time, saying I would hear my voice through the speakers. Later I might try to add some effects, which specifically address the processing.

I found the library NAudio and Alvas.Audio.
How sound from Alvas.Audio or NAudio process by Fourier transform in the AForge library?

How to go about it? I need help with the processing of sound taken from the library Alvas.Audio by Fourier transform.
Please help.
This is my code:


...
using Alvas.Audio;
using AForge.Math;
...

namespace sound
{
  public partial class Form1 : Form
  {
 
  RecordPlayer record_player = new RecordPlayer(); 

  public Form1()
  {
  InitializeComponent();

...

  private void toolStripButton3_nagraj_Click(object sender, EventArgs e)
  {
  int pos = record_player.Position;
  if (pos <= 0)
  {
  record_player.Record();


  Complex[] tablica = new Complex[10000];
 

  // I got stuck here



  }
  else
  {
  record_player.Record(pos);
  }
  }
...


Answers (1)