From ce65c30264be9683dd3a59b35730d2f31e02d37f Mon Sep 17 00:00:00 2001 From: John Glover <glover.john@gmail.com> Date: Thu, 21 Oct 2010 13:39:28 +0100 Subject: Changed from floats to doubles in the C/C++ code, makes Python integration a bit easier. Fixed a bug that would cause SndObjSynthesis to crash if peak values were floats. --- mq.py | 1 - 1 file changed, 1 deletion(-) (limited to 'mq.py') diff --git a/mq.py b/mq.py index 44af0cc..b5835dc 100644 --- a/mq.py +++ b/mq.py @@ -62,7 +62,6 @@ class MQPeakDetection(simpl.PeakDetection): current_mag > next_mag): p = simpl.Peak() p.amplitude = current_mag - p.bin_number = bin - 1 p.frequency = (bin - 1) * self._fundamental p.phase = np.angle(spectrum[bin-1]) current_peaks.append(p) -- cgit v1.2.3