Computing multiple spectrograms (ID files)#
In this example, we want to export spectrograms drawn from the sample audio dataset with the following requirements:
Start timestamps of the audio files are unknown
One single
8 s-long spectrogram should be exported per audio fileAudio data are downsampled sampled at
24 kHzbefore spectrograms are computedThe DC component of the audio data is rejected before spectrograms are computed
Exported spectrogram images should be named after the audio file IDs
The FFT used for computing the spectrograms will use a 1024 samples-long hamming window, with a 128 samples-long hop.