Audio features
We will try to compare the raw audio data in a spectrogram representation. During the process have been found several cases in whihch the tunes had no audio at the first have of the chopped clip.
Mel Spectrogram codeblock
n_fft = 1024
win_length = None
hop_length = 512
spectrogram = T.Spectrogram(
n_fft=n_fft,
win_length=win_length,
hop_length=hop_length,
center=True,
pad_mode="reflect",
power=2.0,
)