summaryrefslogtreecommitdiff
path: root/tests/sms.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/sms.py')
-rw-r--r--tests/sms.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/sms.py b/tests/sms.py
index 9fb8fa0..f717900 100644
--- a/tests/sms.py
+++ b/tests/sms.py
@@ -1050,9 +1050,9 @@ class TestSimplSMS(object):
pd = simpl.SMSPeakDetection()
pd.max_peaks = self.max_peaks
pd.hop_size = self.hop_size
+ peaks = pd.find_peaks(audio)[0:self.num_frames]
pt = simpl.SMSPartialTracking()
pt.max_partials = self.max_partials
- peaks = pd.find_peaks(audio)[0:self.num_frames]
partials = pt.find_partials(peaks)
synth = simpl.SMSSynthesis()
synth.hop_size = self.hop_size