summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Glover <j@johnglover.net>2021-07-23 09:35:28 +0100
committerJohn Glover <j@johnglover.net>2021-07-23 09:35:28 +0100
commit5c63899cbffacb9a0506eb79f9b5d7c6398bd031 (patch)
treef7cf3e6f52b78465f6e6cc04c7d9f46facd4ff74
parent2565396236c2672aa8ed298128f051b19783a057 (diff)
downloadsimpl-5c63899cbffacb9a0506eb79f9b5d7c6398bd031.tar.gz
simpl-5c63899cbffacb9a0506eb79f9b5d7c6398bd031.tar.bz2
simpl-5c63899cbffacb9a0506eb79f9b5d7c6398bd031.zip
More Python 3 cleanup
-rw-r--r--README.rst2
-rw-r--r--examples/harmonicsynthesis.py2
-rw-r--r--examples/plotpartials.py2
-rw-r--r--examples/plotpeaks.py2
-rw-r--r--examples/residualsynthesis.py2
-rw-r--r--examples/timescale.py2
6 files changed, 6 insertions, 6 deletions
diff --git a/README.rst b/README.rst
index fad901a..956cea6 100644
--- a/README.rst
+++ b/README.rst
@@ -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])