Changeset 9b138a8 for python/aubio/gnuplot.py
- Timestamp:
- May 17, 2006, 11:18:56 AM (18 years ago)
- Branches:
- feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master, pitchshift, sampler, timestretch, yinfft+
- Children:
- ba11e53
- Parents:
- 7cded32
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
python/aubio/gnuplot.py
r7cded32 r9b138a8 73 73 g.gnuplot('unset multiplot;') 74 74 75 def audio_to_spec(filename,minf = 0, maxf = 0, lowthres = 0.):75 def audio_to_spec(filename,minf = 0, maxf = 0, lowthres = -20.): 76 76 from aubioclass import fvec,cvec,pvoc,sndfile 77 77 from math import log10 … … 135 135 g('set yrange [%f:%f]' % (max(10,minf),maxf)) 136 136 g('set log y') 137 g.splot(Gnuplot.GridData(data,time,freq, binary=1 , title='mag. (dB)'))137 g.splot(Gnuplot.GridData(data,time,freq, binary=1)) 138 138 #xorig += 1./todraw 139 139
Note: See TracChangeset
for help on using the changeset viewer.