From: Paul Brossier Date: Thu, 18 Aug 2016 15:23:19 +0000 (+0200) Subject: ./python/demos/demo_timestretch{,_online}.py: fix usage string X-Git-Tag: 0.4.4~265 X-Git-Url: https://git.aubio.org/?p=aubio.git;a=commitdiff_plain;h=eeb45383e5f126b40e4e00a9e7d2a339eb5cf128 ./python/demos/demo_timestretch{,_online}.py: fix usage string --- diff --git a/python/demos/demo_timestretch.py b/python/demos/demo_timestretch.py index 8569a449..136dbd98 100755 --- a/python/demos/demo_timestretch.py +++ b/python/demos/demo_timestretch.py @@ -17,7 +17,7 @@ hop_s = win_s / 8 # 87.5 % overlap warmup = win_s // hop_s - 1 if len(sys.argv) < 3: - print("Usage: %s [samplerate]".format(sys.argv[0])) + print("Usage: {:s} [samplerate]".format(sys.argv[0])) print("""Examples: # twice faster {0} track_01.mp3 track_01_faster.wav 2.0 diff --git a/python/demos/demo_timestretch_online.py b/python/demos/demo_timestretch_online.py index e682e8e2..d2e22d5e 100755 --- a/python/demos/demo_timestretch_online.py +++ b/python/demos/demo_timestretch_online.py @@ -17,7 +17,7 @@ hop_s = win_s / 8 # 87.5 % overlap warmup = win_s // hop_s - 1 if len(sys.argv) < 3: - print("Usage: %s [samplerate]".format(sys.argv[0])) + print("Usage: {:s} [samplerate]".format(sys.argv[0])) print("""Examples: # twice faster {0} track_01.mp3 track_01_faster.wav 2.0