import numpy import matplotlib.pyplot as p import waveforms as w with_hum = w.wavfile('hum_testsound.wav',sample_rate=22050) with_hum.spectrum(title='Spectrum with hum') w.show()