source: examples/plotmat.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: 358 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).T
11print numpy.shape(nmat)
12
13
14pylab.matshow(nmat, cmap=pylab.cm.gray, aspect='auto')
15#pylab.imshow(nmat, cmap=pylab.cm.gray, aspect='auto', interpolation=False)
16#pylab.contour(nmat, cmap=pylab.cm.gray, aspect='auto')
17
18pylab.show()
Note: See TracBrowser for help on using the repository browser.