Changeset eeb4538


Ignore:
Timestamp:
Aug 18, 2016, 5:23:19 PM (4 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/constantq, feature/pitchshift, feature/pydocstrings, feature/timestretch, master, pitchshift, sampler, timestretch, yinfft+
Children:
73e068d
Parents:
07364a5
Message:

./python/demos/demo_timestretch{,_online}.py: fix usage string

Location:
python/demos
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • python/demos/demo_timestretch.py

    r07364a5 reeb4538  
    1818
    1919if len(sys.argv) < 3:
    20     print("Usage: %s <source_filename> <output_filename> <rate> [samplerate]".format(sys.argv[0]))
     20    print("Usage: {:s} <source_filename> <output_filename> <rate> [samplerate]".format(sys.argv[0]))
    2121    print("""Examples:
    2222    # twice faster
  • python/demos/demo_timestretch_online.py

    r07364a5 reeb4538  
    1818
    1919if len(sys.argv) < 3:
    20     print("Usage: %s <source_filename> <output_filename> <rate> [samplerate]".format(sys.argv[0]))
     20    print("Usage: {:s} <source_filename> <output_filename> <rate> [samplerate]".format(sys.argv[0]))
    2121    print("""Examples:
    2222    # twice faster
Note: See TracChangeset for help on using the changeset viewer.