Changeset dbd19ea for python/test/bench/tempo/demo-tempo
- Timestamp:
- Aug 10, 2006, 4:34:17 PM (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:
- e81c045
- Parents:
- 33cf541
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
python/test/bench/tempo/demo-tempo
r33cf541 rdbd19ea 8 8 from aubio.task import taskbeat,taskparams 9 9 from aubio.aubioclass import fvec, aubio_autocorr 10 from aubio.gnuplot import gnuplot_create 10 from aubio.gnuplot import gnuplot_create, gnuplot_addargs 11 11 from aubio.aubiowrapper import * 12 12 from math import exp,log … … 23 23 action="store", dest="printframe", default=-1, 24 24 help="make a plot of the n_th frame") 25 parser.add_option("-x","--xsize", 26 action="store", dest="xsize", default=1., 27 type='float', help="define xsize for plot") 28 parser.add_option("-y","--ysize", 29 action="store", dest="ysize", default=1., 30 type='float', help="define ysize for plot") 31 parser.add_option("-O","--outplot", 32 action="store", dest="outplot", default=None, 33 help="save plot to output.{ps,png}") 25 gnuplot_addargs(parser) 34 26 (options, args) = parser.parse_args() 35 27 if not options.filename: … … 55 47 extension = '' 56 48 outplot = None 57 f = gnuplot_create(outplot=outplot,extension=extension )49 f = gnuplot_create(outplot=outplot,extension=extension,options=options) 58 50 59 51 params = taskparams()
Note: See TracChangeset
for help on using the changeset viewer.