@@ -0,0 +1,730 @@
+# coding=utf-8%0A%22%22%22%0A  Wav spectral plot by CyberTriber (https://github.com/CyberTriber)%0A%0A==============================================================%0A%22%22%22%0Aimport matplotlib.pyplot as plt%0Aimport numpy as np%0Aimport wave%0A%0Afile = 'm.wav'%0A%0Awith wave.open(file,'r') as wav_file:%0A%09#Extract Raw Audio from Wav File%0A%09signal = wav_file.readframes(-1)%0A%09signal = np.fromstring(signal, 'Int16')%0A%0A%09#Split the data into channels %0A%09channels = %5B%5B%5D for channel in range(wav_file.getnchannels())%5D%0A%09for index, datum in enumerate(signal):%0A%09    channels%5Bindex%25len(channels)%5D.append(datum)%0A%0A%09fs = wav_file.getframerate()%0A%09dt = 0.0005%0A%09NFFT = 1024%0A%09Fs = int(1.0/dt)%0A%09Pxx, freqs, bins, im = plt.specgram(signal, NFFT=NFFT, Fs=Fs, noverlap=900)%0A%09plt.show()

plot (spectrum) from wav file