- Timestamp:
- Feb 22, 2014, 7:38:12 PM (11 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:
- 8a5148e
- Parents:
- 467122d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
python/scripts/aubiocut
r467122d r4c0a1db 55 55 help="cut input sound file at detected labels \ 56 56 best used with option -L") 57 58 # minioi 59 parser.add_option("-M","--minioi", 60 metavar = "<value>", type='string', 61 action="store", dest="minioi", default="12ms", 62 help="minimum inter onset interval [default=12ms]") 63 57 64 """ 58 65 parser.add_option("-D","--delay", … … 65 72 action="store", dest="dcthreshold", default=1., 66 73 help="onset peak picking DC component [default=1.]") 67 parser.add_option("-M","--mintol",68 metavar = "<value>",69 action="store", dest="mintol", default=0.048,70 help="minimum inter onset interval [default=0.048]")71 74 parser.add_option("-L","--localmin", 72 75 action="store_true", dest="localmin", default=False, … … 153 156 else: 154 157 o = onset(options.onset_method, bufsize, hopsize) 158 if options.minioi: 159 if options.minioi.endswith('ms'): 160 o.set_minioi_ms(int(options.minioi[:-2])) 161 elif options.minioi.endswith('s'): 162 o.set_minioi_s(int(options.minioi[:-1])) 163 else: 164 o.set_minioi(int(options.minioi)) 155 165 o.set_threshold(options.threshold) 156 166
Note: See TracChangeset
for help on using the changeset viewer.