From eeb45383e5f126b40e4e00a9e7d2a339eb5cf128 Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Thu, 18 Aug 2016 17:23:19 +0200 Subject: [PATCH] ./python/demos/demo_timestretch{,_online}.py: fix usage string --- python/demos/demo_timestretch.py | 2 +- python/demos/demo_timestretch_online.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 -- 2.11.0