diff options
author | John Glover <j@johnglover.net> | 2012-07-26 19:07:47 +0100 |
---|---|---|
committer | John Glover <j@johnglover.net> | 2012-07-26 19:07:47 +0100 |
commit | 900df1a168193a3668c35865635bf084ee8949dc (patch) | |
tree | 805bc88327a0e879991128a9066697526de6f727 | |
parent | c4852e9aaf2b4e4dd62c8c7006d5241b890b104f (diff) | |
download | simpl-900df1a168193a3668c35865635bf084ee8949dc.tar.gz simpl-900df1a168193a3668c35865635bf084ee8949dc.tar.bz2 simpl-900df1a168193a3668c35865635bf084ee8949dc.zip |
[mq] Remove unneeded code.
-rw-r--r-- | simpl/mq.py | 13 |
1 files changed, 0 insertions, 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" |