Created
June 24, 2012 14:12
-
-
Save jul/2983362 to your computer and use it in GitHub Desktop.
spectrogram 1st step
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from scikits.audiolab import Sndfile | |
import numpy as np | |
import pylab as plt | |
from numpy import fft | |
koln=Sndfile("test.wav") | |
sample=koln.read_frames(18300000) | |
plt.specgram(sample[:,1]) | |
plt.show() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment