ref: eeb45383e5f126b40e4e00a9e7d2a339eb5cf128
parent: 07364a5e81de7ba8eebb76f205f7bab65df39524
author: Paul Brossier <piem@piem.org>
date: Thu Aug 18 13:23:19 EDT 2016
./python/demos/demo_timestretch{,_online}.py: fix usage string
--- a/python/demos/demo_timestretch.py
+++ b/python/demos/demo_timestretch.py
@@ -17,7 +17,7 @@
warmup = win_s // hop_s - 1
if len(sys.argv) < 3:
- print("Usage: %s <source_filename> <output_filename> <rate> [samplerate]".format(sys.argv[0]))
+ print("Usage: {:s} <source_filename> <output_filename> <rate> [samplerate]".format(sys.argv[0]))
print("""Examples:
# twice faster
{0} track_01.mp3 track_01_faster.wav 2.0
--- a/python/demos/demo_timestretch_online.py
+++ b/python/demos/demo_timestretch_online.py
@@ -17,7 +17,7 @@
warmup = win_s // hop_s - 1
if len(sys.argv) < 3:
- print("Usage: %s <source_filename> <output_filename> <rate> [samplerate]".format(sys.argv[0]))
+ print("Usage: {:s} <source_filename> <output_filename> <rate> [samplerate]".format(sys.argv[0]))
print("""Examples:
# twice faster
{0} track_01.mp3 track_01_faster.wav 2.0