The plotspectrum command displays the power spectrum of an audio clip.
If the audio clip has more than one channel, the channels are mixed down to a single channel before computing the spectrum.
Assuming that a male voice is recorded in the file example1.wav:
clip:=readwav("/path/to/sounds/example1.wav"):; plotspectrum(clip,range=[0,1500]) |
You can see that the dominant frequency is around 220 Hz, which is the middle of tenor range. This is consistent with the fact that a male is speaking in the clip.