Changeset 90bcdaa for python


Ignore:
Timestamp:
Aug 2, 2006, 4:39:38 PM (18 years ago)
Author:
Paul Brossier <piem@altern.org>
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:
e5cc1ea
Parents:
9bb8151
Message:

make xsize and ysize floats in aubioplot-audio
make xsize and ysize floats in aubioplot-audio

File:
1 edited

Legend:

Unmodified
Added
Removed
  • python/aubioplot-audio

    r9bb8151 r90bcdaa  
    1313        parser.add_option("-x","--xsize",
    1414                          action="store", dest="xsize", default=1.,
    15                           help="define xsize for plot")
     15                          type='float',help="define xsize for plot")
    1616        parser.add_option("-y","--ysize",
    1717                          action="store", dest="ysize", default=1.,
    18                           help="define ysize for plot")
     18                          type='float',help="define ysize for plot")
    1919        parser.add_option("-O","--outplot",
    2020                          action="store", dest="outplot", default=None,
     
    3535  outplot = None
    3636
    37 aubio.gnuplot.plot_audio(options.filename.split(','),
     37aubio.gnuplot.plot_audio(options.filename.split(','), 
    3838  extension = extension,
    3939  outplot = outplot,
    40   xsize=float(options.xsize),
    41   ysize=float(options.ysize))
     40g,
     41  xsize=options.xsize,
     42  ysize=options.ysize)
Note: See TracChangeset for help on using the changeset viewer.