From: yomguy Date: Fri, 28 Sep 2012 21:37:13 +0000 (+0200) Subject: fix aubio onsetrate class name X-Git-Tag: 0.4.3~4^2~1^2 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=8dac0f37c0147604e380ca3b1f0d9a0b4616761f;p=timeside.git fix aubio onsetrate class name --- diff --git a/timeside/analyzer/aubio_onsetrate.py b/timeside/analyzer/aubio_onsetrate.py index 802bb78..e7417ae 100644 --- a/timeside/analyzer/aubio_onsetrate.py +++ b/timeside/analyzer/aubio_onsetrate.py @@ -24,12 +24,12 @@ from timeside.analyzer.core import * from timeside.api import IValueAnalyzer from aubio import onset -class AubioBPM(Processor): +class AubioOnsetRate(Processor): implements(IValueAnalyzer) @interfacedoc def setup(self, channels=None, samplerate=None, blocksize=None, totalframes=None): - super(AubioBPM, self).setup(channels, samplerate, blocksize, totalframes) + super(AubioOnsetRate, self).setup(channels, samplerate, blocksize, totalframes) self.win_s = 512 self.hop_s = self.win_s / 2 self.t = onset("default", self.win_s, self.hop_s, 1)