import numpy import waveforms as w with_hum = w.wavfile('with_hum.wav') with_hum.spectrum(title='Spectrum with hum',npoints=256000) w.show()