0

When I am trying to create an spectrogram of an audio file, should I plot time vs amplitude or time vs frequency ?

Prakash Raman
  • 13,319
  • 27
  • 82
  • 132

1 Answers1

5

All three. One axis is time, one axis is frequency, and the third axis (or color or brightness or whatever) is the intensity of that frequency at that time, as determined by a fourier transform.

hobbs
  • 223,387
  • 19
  • 210
  • 288
  • Yep. Although when I want to create a spectrogram for an audio file (like what www.soundcloud.com uses in their player) what do i use, because the normal spectrograms we find are just 2-d images. – Prakash Raman Dec 20 '10 at 07:19
  • Soundcloud doesn't have a spectrogram anywhere I can see. – hobbs Dec 20 '10 at 07:24
  • I guess I meant an amplitude waveform (e.g. http://soundcloud.com/dawnbrian5/photograph-katie-by-brian-clayton) – Prakash Raman Dec 20 '10 at 10:24