From: Paul Brossier Date: Sun, 8 Dec 2013 03:09:55 +0000 (-0500) Subject: python/scripts/aubiocut: sync option names with examples/ X-Git-Tag: 0.4.0-beta1~14 X-Git-Url: https://git.aubio.org/?a=commitdiff_plain;h=49e40ccad7a9c75fdbcacea745f2b9c9e838c4c1;p=aubio.git python/scripts/aubiocut: sync option names with examples/ --- diff --git a/python/scripts/aubiocut b/python/scripts/aubiocut index a4693109..ba66eee8 100755 --- a/python/scripts/aubiocut +++ b/python/scripts/aubiocut @@ -15,7 +15,7 @@ def parse_args(): parser = OptionParser(usage=usage) parser.add_option("-i", "--input", action = "store", dest = "source_file", help="input sound file to analyse", metavar = "") - parser.add_option("-m","--method", + parser.add_option("-O","--onset-method", action="store", dest="onset_method", default='default', metavar = "", help="onset detection method [default=default] \ @@ -34,7 +34,7 @@ def parse_args(): help="silence threshold [default=-70]") """ # algorithm parameters - parser.add_option("--samplerate", + parser.add_option("-r", "--samplerate", metavar = "", type='int', action="store", dest="samplerate", default=0, help="samplerate at which the file should be represented") @@ -46,7 +46,7 @@ def parse_args(): metavar = "", type='int', action="store", dest="hopsize", default=256, help="overlap size [default=256]") - parser.add_option("-t","--threshold", + parser.add_option("-t","--onset-threshold", metavar = "", type="float", action="store", dest="threshold", default=0.3, help="onset peak picking threshold [default=0.3]")