summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/resynth.py4
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)