shithub: aubio

Download patch

ref: b7208f8424f035a2b3de69185d4a6de2b081c980
parent: 4077fa18ebf8f4acbc14613ae5a8821ebed17fe3
author: Paul Brossier <piem@piem.org>
date: Thu Mar 23 11:32:21 EDT 2017

python/lib/aubio/cmd.py: improve tempo subcommand description

--- a/doc/aubio.txt
+++ b/doc/aubio.txt
@@ -13,6 +13,7 @@
   onset        get onset times
   pitch        extract fundamental frequency
   beat         get locations of beats
+  tempo        get overall tempo in bpm
   notes        get midi-like notes
   mfcc         extract mel-frequency cepstrum coefficients
   melbands     extract mel-frequency energies per band
@@ -84,6 +85,13 @@
 BEAT
 
   The "beat" command accepts all common options and no additional options.
+
+  The default buffer size for the beat algorithm is 1024. The default hop size
+  is 512.
+
+TEMPO
+
+  The "tempo" command accepts all common options and no additional options.
 
   The default buffer size for the beat algorithm is 1024. The default hop size
   is 512.
--- a/python/lib/aubio/cmd.py
+++ b/python/lib/aubio/cmd.py
@@ -62,7 +62,7 @@
 
     # tempo subcommand
     subparser = subparsers.add_parser('tempo',
-            help='get locations of beats')
+            help='get overal tempo in bpm')
     parser_add_input(subparser)
     parser_add_buf_hop_size(subparser, buf_size=1024, hop_size=512)
     parser_add_time_format(subparser)