This project has moved. For the latest updates, please go here.

Using NAudio for DSP

Jan 22, 2010 at 12:57 AM

Hi,

I'm working on project which involves recording audio (whilst playing audio at the same time), and applying filters (using fft, FiR, etc.) on the recorded data.

I was wondering what the best way to go about doing this would be, given that I don't really want to write any sounds out to .wav files (in the early stages

at least, where the audio is originally recorded).  I don't think memory is an issue, and the 16-bit, 44.1khz mono sound being recorded will not be too long

(meaning i can afford to have the whole thing sitting in an array in memory if need be).  I can probably pick up the details from the sample applications and

the like, but the general way to go about doing this is a problem for me - and using WPF (which im new to) will take some time for me to learn.

Any help is appreciated,

 

Dylan.

Coordinator
Jan 22, 2010 at 8:45 AM

have a look at my Skype Voice Changer project which shows how to apply effects using NAudio. At the moment there is no example code of playing back what you are recording in realtime (mainly because the latency will be very poor with NAudio), but I am hoping that at some point in the future we will have some example code.