1

Using scipy stft, like this :

sample_rate, samples = scipy.io.wavfile.read(sample_dir/'original'/test_sample_name)
f, t, Zxx = scipy.signal.stft(samples.transpose(), sample_rate)

f.shape is equal to 129. My understanding is that this number represents the number of frequency at which we evaluate the Fourier Transform. How is it calculated? Can we fix this number?

Statistic Dean
  • 151
  • 1
  • 6

0 Answers0