diff options
author | John Glover <j@johnglover.net> | 2021-07-23 09:35:28 +0100 |
---|---|---|
committer | John Glover <j@johnglover.net> | 2021-07-23 09:35:28 +0100 |
commit | 5c63899cbffacb9a0506eb79f9b5d7c6398bd031 (patch) | |
tree | f7cf3e6f52b78465f6e6cc04c7d9f46facd4ff74 | |
parent | 2565396236c2672aa8ed298128f051b19783a057 (diff) | |
download | simpl-5c63899cbffacb9a0506eb79f9b5d7c6398bd031.tar.gz simpl-5c63899cbffacb9a0506eb79f9b5d7c6398bd031.tar.bz2 simpl-5c63899cbffacb9a0506eb79f9b5d7c6398bd031.zip |
More Python 3 cleanup
-rw-r--r-- | README.rst | 2 | ||||
-rw-r--r-- | examples/harmonicsynthesis.py | 2 | ||||
-rw-r--r-- | examples/plotpartials.py | 2 | ||||
-rw-r--r-- | examples/plotpeaks.py | 2 | ||||
-rw-r--r-- | examples/residualsynthesis.py | 2 | ||||
-rw-r--r-- | examples/timescale.py | 2 |
6 files changed, 6 insertions, 6 deletions
@@ -33,7 +33,7 @@ C++ Library Dependencies Additional Python Module Dependencies ------------------------------------- -* Python (>= 2.6.*) +* Python (>= 3.5) * Cython_ * NumPy * SciPy diff --git a/examples/harmonicsynthesis.py b/examples/harmonicsynthesis.py index 401025d..983e6df 100644 --- a/examples/harmonicsynthesis.py +++ b/examples/harmonicsynthesis.py @@ -5,7 +5,7 @@ import simpl usage = 'Usage: python {0} <input wav file> <output wav file>'.format(__file__) if len(sys.argv) != 3: - print usage + print(usage) sys.exit(1) audio, sampling_rate = simpl.read_wav(sys.argv[1]) diff --git a/examples/plotpartials.py b/examples/plotpartials.py index cf06ae1..89cc53b 100644 --- a/examples/plotpartials.py +++ b/examples/plotpartials.py @@ -4,7 +4,7 @@ import simpl usage = 'Usage: python {0} <wav file>'.format(__file__) if len(sys.argv) != 2: - print usage + print(usage) sys.exit(1) audio = simpl.read_wav(sys.argv[1])[0] diff --git a/examples/plotpeaks.py b/examples/plotpeaks.py index 7c7b59e..ea9ff4c 100644 --- a/examples/plotpeaks.py +++ b/examples/plotpeaks.py @@ -4,7 +4,7 @@ import matplotlib.pyplot as plt usage = 'Usage: python {0} <wav file>'.format(__file__) if len(sys.argv) != 2: - print usage + print(usage) sys.exit(1) audio = simpl.read_wav(sys.argv[1])[0] diff --git a/examples/residualsynthesis.py b/examples/residualsynthesis.py index f3559c8..5bf5efe 100644 --- a/examples/residualsynthesis.py +++ b/examples/residualsynthesis.py @@ -5,7 +5,7 @@ import simpl usage = 'Usage: python {0} <input wav file> <output wav file>'.format(__file__) if len(sys.argv) != 3: - print usage + print(usage) sys.exit(1) audio, sampling_rate = simpl.read_wav(sys.argv[1]) diff --git a/examples/timescale.py b/examples/timescale.py index 2b061d7..9ba03ef 100644 --- a/examples/timescale.py +++ b/examples/timescale.py @@ -7,7 +7,7 @@ usage = 'Usage: python {0} '.format(__file__) + \ '<input wav file> <time scale factor> <output wav file>' if len(sys.argv) != 4: - print usage + print(usage) sys.exit(1) audio, sampling_rate = simpl.read_wav(sys.argv[1]) |