How to plot the frequency spectrum with scipy

return data.astype(int16) # two byte integers # A tone, 2 seconds, 44100 samples per second. tone = note(440,2,amp=10000) ... See numpy.fft for definitions and conventions used. Zero-padding, analogously with ifft, is performed by appending zeros to the input along the specified dimension. Although this is the common approach, it might lead to ... ................
................