Changeset eeb4538 for python


Ignore:
Timestamp:
Aug 18, 2016, 5:23:19 PM (8 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, 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.