Spectrum analysis software
Nov 18, 2008 at 1:20 AM Thread Starter Post #1 of 9

b0dhi

Headphoneus Supremus
Joined
Oct 12, 2005
Posts
2,070
Likes
21
Anyone know of software that can do a spectrum analysis on a signal in very short repetitive time windows? What I'm trying to do is like this:

skxr0.gif


...except I wanna be able to catch changes within every cycle of a, say, 1300Hz signal, and observe the changes in detail.
 
Nov 18, 2008 at 12:26 PM Post #3 of 9

b0dhi

Headphoneus Supremus
Joined
Oct 12, 2005
Posts
2,070
Likes
21
Ugh looks like I may have to. Turns out that what I'm after is a STFT (short-time fourier transform) or Spectrograph, except the display is just a regular 2D frequency/amplitude plot but with a scrollbar to travel back or forward in time. How can no one have done something like this before >_<
 
Nov 19, 2008 at 4:12 PM Post #5 of 9

b0dhi

Headphoneus Supremus
Joined
Oct 12, 2005
Posts
2,070
Likes
21
Yea, looked at that and about a dozen others. There are a few that do realtime analysis but not to the degree that I'm after unfortunately.

I'm in the process of writing one myself atm. Most of it is re-writing what 99% of analysis software already does, but adding time-domain controls. Luckily I can get most of the processing done with stuff others have already built, like graphing, FFT, etc. The only thing I've had to write myself so far is the wav file decoder.

On another note, if anyone knows how to get Exocortex DSP to do a 1D FFT without crashing, PM me...
 
Nov 19, 2008 at 5:01 PM Post #6 of 9

asebastian0

100+ Head-Fier
Joined
Nov 6, 2005
Posts
211
Likes
12
Write it in MATLAB. Easy enough if you use the signal processing toolkit as a jumping off point. There are also a ton of specialized MATLAB apps written by various people that can be modified for your specific needs.

Ugh.. seems like you are already started. Need to finish the thread before I start a post!
smile.gif
 
Nov 19, 2008 at 5:16 PM Post #7 of 9

b0dhi

Headphoneus Supremus
Joined
Oct 12, 2005
Posts
2,070
Likes
21
Bout half way through atm. Waveform and spectrum views are working. Just gotta program the windowing function and then the time travel scrollbar and it's time to get the electret microphone and take some measurements
biggrin.gif
 
Dec 30, 2008 at 9:32 PM Post #9 of 9

b0dhi

Headphoneus Supremus
Joined
Oct 12, 2005
Posts
2,070
Likes
21
Wouldn't call it "polished" by any stretch of the imagination, but it works well for what I need it for.

Feel free if you want to have a play with it: http://members.iinet.net.au/~harargh...eDomainFFT.zip

The textbox on the right is the sample offset from beginning. It crashes if you slide all the way to the right. It only supports stereo WAV files. Also, the output is not normalised. It's just good for comparing files.
 

Users who are viewing this thread

Top