From 04fc360dedaec88c6a17c8ee3ce94ece4dc3caf3 Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Wed, 21 Sep 2016 01:33:55 +0200 Subject: [PATCH] python/demos/demo_pitchshift.py: default to 64 hop --- python/demos/demo_pitchshift.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.11.0