Assume that I have STFT (short time fourier transform) data, how would these can be displayed on the picture box as spectrogram of frequency vs time, what function in C# can I use ?
Asked
Active
Viewed 3,252 times
0
-
There isn't a built in function for the .NET framework for calculating STFT or displaying specrograms. This may be two questions? Are you asking what library you could use to find the STFT of an audio file, then how would you write a spectrogram user control? – Matt Johnson May 14 '13 at 02:42
-
Hi Matt, I just need to know the second question, I can use Naudio library to get STFT, what I mean is once I got the frequency data vs time, how would I display it ? – Thuc-Tram Ngo May 14 '13 at 03:27
1 Answers
0
The WPF Sound Visualization Library isn't bad for this type of thing, although it doesn't have a spectrograph control.
While not a .NET implementation Audacity is open source. So you may be able to poke around in there and see how they created their Spectrograph control
There is also some Matlab code here that should allow you to get to where you need

Matt Johnson
- 1,913
- 16
- 23