Ignore:
Timestamp:
Aug 2, 2006, 1:21:46 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:
778bc7a
Parents:
aa3637a
Message:

add buffer and hosize options to aubioplot-spec, use 10000 as default value for maxf
add buffer and hosize options to aubioplot-spec, use 10000 as default value for maxf

File:
1 edited

Legend:

Unmodified
Added
Removed
  • python/aubioplot-spec

    raa3637a re638bcf  
    1717                          help="input sound file")
    1818        parser.add_option("-M","--maxf",
    19                           action="store", dest="maxf", default=0.,
     19                          action="store", dest="maxf", default=10000.,
    2020                          type='float',help="higher frequency limit")
    2121        parser.add_option("-L","--minf",
     
    3434                          action="store", dest="outplot", default=None,
    3535                          help="save plot to output.{ps,png}")
     36        parser.add_option("-B","--bufsize", type='int',
     37                          action="store", dest="bufsize", default=8192,
     38                          help="buffer size [default=8192]")
     39        parser.add_option("-H","--hopsize", type='int',
     40                          action="store", dest="hopsize", default=1024,
     41                          help="overlap size [default=1024]")
    3642        (options, args) = parser.parse_args()
    3743        if not options.filename:
     
    5258plot_spec(filename, outplot=outplot, extension=extension, log=options.log,
    5359  maxf = options.maxf, minf = options.minf,
    54   xsize = options.xsize, ysize = options.ysize)
     60  xsize = options.xsize, ysize = options.ysize,
     61  bufsize = options.bufsize, hopsize = options.hopsize)
Note: See TracChangeset for help on using the changeset viewer.