summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Glover <john@john-glovers-macbook.local>2010-12-17 16:07:12 +0000
committerJohn Glover <john@john-glovers-macbook.local>2010-12-17 16:07:12 +0000
commit4278a00279b66ff5876b3d91097141b06c9596ce (patch)
tree1c39062f488171311036a439c4068fdc6eef6ffd
parent1eb1ba84ac7bf24965635b7e433456109dc05420 (diff)
downloadsimpl-4278a00279b66ff5876b3d91097141b06c9596ce.tar.gz
simpl-4278a00279b66ff5876b3d91097141b06c9596ce.tar.bz2
simpl-4278a00279b66ff5876b3d91097141b06c9596ce.zip
Fixed wrong method being called in test_residual
-rw-r--r--tests/sms.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/sms.py b/tests/sms.py
index 0ba6685..7e23759 100644
--- a/tests/sms.py
+++ b/tests/sms.py
@@ -1142,7 +1142,7 @@ class TestSimplSMS(object):
synth.max_partials = self.max_partials
simpl_harmonic = synth.synth(partials)
res = simpl.SMSResidual()
- simpl_residual = res.find_residual(simpl_harmonic, audio[0:simpl_harmonic.size])
+ simpl_residual = res.synth(simpl_harmonic, audio[0:simpl_harmonic.size])
#import matplotlib.pyplot as plt
#plt.plot(sms_residual)