Click here to Skip to main content
15,890,282 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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:

C#
...
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);
            }
        }
...
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900