source: examples/plotfb.py @ ef1c3b7

feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
Last change on this file since ef1c3b7 was 7a46bf6, checked in by Amaury Hazan <mahmoudax@gmail.org>, 17 years ago

merged from piem, corrected mffcs coefs/filter number
added some scripts to visualize filterbank and mfccs

  • Property mode set to 100755
File size: 290 bytes
Line 
1#!/usr/bin/env python
2
3import pylab
4import numpy
5import sys
6
7filename=sys.argv[1]
8
9mat = pylab.load(filename)
10nmat= numpy.array(mat)
11print numpy.shape(nmat)
12
13pylab.hold(True)
14
15n_filters=numpy.shape(nmat)[0]
16for i in range(n_filters):
17  pylab.plot(nmat[i,:])
18
19
20pylab.hold(False)
21pylab.show()
Note: See TracBrowser for help on using the repository browser.