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

WaveInStream Frequency

Mar 31, 2009 at 12:50 AM

I am VERY new to any audio programming, but I have just started playing around with NAudio and I think it may be just what I'm looking for.  What I would like to do is create an application for tuning an instrument -- I have figured out how to monitor the buffer of the WaveInStream in fairly real-time, but I am wondering is there any way that I could calculate the frequency of the stream?  Basically I want to monitor the default input device and constantly show the frequency (like the low E note on a guitar's frequency is 41.20).  I then of course want to build a GUI and make it user-friendly, etc, but I need to figure out the guts first.

Is this possible using NAudio?  I'm not afraid to get in the source and start writing some code but I need a little bit of guidance.