From 900df1a168193a3668c35865635bf084ee8949dc Mon Sep 17 00:00:00 2001 From: John Glover Date: Thu, 26 Jul 2012 19:07:47 +0100 Subject: [mq] Remove unneeded code. --- simpl/mq.py | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/simpl/mq.py b/simpl/mq.py index fcfa93b..15aadaf 100644 --- a/simpl/mq.py +++ b/simpl/mq.py @@ -171,19 +171,6 @@ class MQPeakDetection(simpl.PeakDetection): frame.peaks = list(self._current_peaks) return self._current_peaks - # def find_peaks(self, audio): - # frames = [] - # pos = 0 - # while pos < len(audio) - self.hop_size: - # if not self.static_frame_size: - # self.frame_size = self.next_frame_size() - # frame = simpl.Frame(self.frame_size) - # frame.audio = audio[pos:pos + self.frame_size] - # self.find_peaks_in_frame(frame) - # frames.append(frame) - # pos += self.hop_size - # return frames - class MQPartialTracking(simpl.PartialTracking): "Partial tracking, based on the McAulay and Quatieri (MQ) algorithm" -- cgit v1.2.3