diff options
author | John Glover <glover.john@gmail.com> | 2010-12-08 17:36:30 +0000 |
---|---|---|
committer | John Glover <glover.john@gmail.com> | 2010-12-08 17:36:30 +0000 |
commit | 2a7cc2153f7445453422d74d87d2ce0cf9de51ff (patch) | |
tree | 9cb2268eedef9c9ff0c65282af0fe7d977f434b2 /examples | |
parent | af5cafa0e628b1c8fd672afd87af7a0525ac6c85 (diff) | |
download | simpl-2a7cc2153f7445453422d74d87d2ce0cf9de51ff.tar.gz simpl-2a7cc2153f7445453422d74d87d2ce0cf9de51ff.tar.bz2 simpl-2a7cc2153f7445453422d74d87d2ce0cf9de51ff.zip |
Changed synth variable name for consistency.
Diffstat (limited to 'examples')
-rw-r--r-- | examples/resynth.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/resynth.py b/examples/resynth.py index e551720..c8a1ee9 100644 --- a/examples/resynth.py +++ b/examples/resynth.py @@ -32,9 +32,9 @@ peaks = pd.find_peaks(audio) pt = simpl.MQPartialTracking() pt.max_partials = 20 partials = pt.find_partials(peaks) -sndobj_synth = simpl.SndObjSynthesis() +synth = simpl.SndObjSynthesis() -audio_out = sndobj_synth.synth(partials) +audio_out = synth.synth(partials) audio_out = np.asarray(audio_out * 32768, np.int16) write(output_file, 44100, audio_out) |