Frequency Analyzer in C#
11,593
It's in a very experimental state at the moment, but if you have a look at the WPFDemo project in NAudio, it performs an FFT on the incoming microphone data or sound file you play and plots it under the wave-form.
Author by
Admin
Updated on June 27, 2022Comments
-
Admin almost 2 years
I'm looking for a C# source code that performs a frequency analysis on a WAV file and displays the results in a graph, similar to the one displayed in apps like WavePad. Do you know where I can find such a code?
Thanks!
-
Admin over 14 yearsThanks, but I couldn't find where the app displays the WAV frequency. In fact, as soon as I loaded a WAV file and clicked "Play", it crashed...
-
Mark Heath over 14 yearsif you report the details of the error, I'll have a look into it. The FFT is drawn here: naudio.codeplex.com/SourceControl/changeset/view/28568#597541
-
joshcomley about 14 yearsCan NAudio be routed to use the main system sound source? i.e. pick up windows' beeps and bleeps?
-
Mark Heath about 14 years@joshcomley it might be possible with the CoreAudio wrappers for Vista and Win7, but I haven't experimented much with them yet