diff options
| author | John Glover <glover.john@gmail.com> | 2010-12-24 12:37:39 +0000 | 
|---|---|---|
| committer | John Glover <glover.john@gmail.com> | 2010-12-24 12:37:39 +0000 | 
| commit | 0aaf61396643d7884b792b6d1a053c7dae7390b2 (patch) | |
| tree | 6e7fafe7ecf7a318cdbcc0129f3f6b0dc39fec77 /mq.py | |
| parent | c0d481904d7a12065f5a29b631326924dc674c99 (diff) | |
| download | simpl-0aaf61396643d7884b792b6d1a053c7dae7390b2.tar.gz simpl-0aaf61396643d7884b792b6d1a053c7dae7390b2.tar.bz2 simpl-0aaf61396643d7884b792b6d1a053c7dae7390b2.zip | |
Updated MQ and SndObj peak detection and partial tracking to simpl 0.2
Diffstat (limited to 'mq.py')
| -rw-r--r-- | mq.py | 2 | 
1 files changed, 1 insertions, 1 deletions
| @@ -144,7 +144,7 @@ class MQPeakDetection(simpl.PeakDetection):          self._max_peaks peaks."""          self._current_peaks = []                  # fft of frame -        f = np.fft.rfft(frame * self._window) +        f = np.fft.rfft(frame.audio * self._window)          spectrum = abs(f)          # find all peaks in the spectrum          prev_mag = np.abs(spectrum[0]) |