|
From: Jan S. <ha...@st...> - 2015-05-19 20:45:06
|
> You are recording many different audio signals, > and they have different spectrograms of course. > > Record a signal into a wav file and create the spectrogram: > > $ rec -c file.wav 0 10 > $ sox file.wav spectrogram -o wav.png Sorry: $ sox file.wav -n spectrogram -o wav.png > Now convert that file to an ogg and create its spectrogram: > > $ sox file.wav file.ogg > $ sox file.ogg spectrogram -o ogg.png $ sox file.ogg -n spectrogram -o ogg.png > Are the two spectrograms identical? Yes, nearly identical, > except the ogg format cuts away the very high frequencies. |