Quantcast
Channel: NAudio
Viewing all articles
Browse latest Browse all 5831

New Post: How to code circullar buffer to create a delay and used the wavein for micrcophone and output to speaker?

$
0
0

How to code circullar buffer to create a delay and used the wavein for micrcophone input and output to speaker?

 

 public NAudio.Wave.WaveIn input = null;
        public NAudio.Wave.DirectSoundOut waveout = null;
        public NAudio.Wave.WaveInProvider wavein = null;
       
        private void button1_Click(object sender, EventArgs e)
        {

            WaveIn input = new NAudio.Wave.WaveIn();
            input.WaveFormat = new NAudio.Wave.WaveFormat(44100, 2);
            IWaveProvider wavein = new NAudio.Wave.WaveInProvider(input);
       
            waveout = new NAudio.Wave.DirectSoundOut();
            waveout.Play();
         
     
           

        }

 

Any answer Guys? :)   


Viewing all articles
Browse latest Browse all 5831

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>