From: Paul Brossier Date: Tue, 20 Sep 2016 23:33:55 +0000 (+0200) Subject: python/demos/demo_pitchshift.py: default to 64 hop X-Git-Url: https://git.aubio.org/?a=commitdiff_plain;h=04fc360dedaec88c6a17c8ee3ce94ece4dc3caf3;p=aubio.git python/demos/demo_pitchshift.py: default to 64 hop --- diff --git a/python/demos/demo_pitchshift.py b/python/demos/demo_pitchshift.py index bc501607..ad78794a 100755 --- a/python/demos/demo_pitchshift.py +++ b/python/demos/demo_pitchshift.py @@ -13,9 +13,9 @@ if __name__ == '__main__': if len(sys.argv) > 4: samplerate = int(sys.argv[4]) else: samplerate = 0 if len(sys.argv) > 5: hop_size = int(sys.argv[5]) - else: hop_size = 256 + else: hop_size = 64 if len(sys.argv) > 6: mode = sys.argv[6] - else: mode = available_modes[0] + else: mode = "default" source_read = aubio.source(sys.argv[1], samplerate, hop_size) if samplerate == 0: samplerate = source_read.samplerate