From 36f6f5531d90ba34180484b25204d1ef416fcd2f Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Sat, 13 Apr 2013 12:48:55 -0500 Subject: [PATCH] timeside/analyzer/aubio_onsetrate.py: simplify, using get_last_s --- timeside/analyzer/aubio_onsetrate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/timeside/analyzer/aubio_onsetrate.py b/timeside/analyzer/aubio_onsetrate.py index 7cfc2d5..9aba7ab 100644 --- a/timeside/analyzer/aubio_onsetrate.py +++ b/timeside/analyzer/aubio_onsetrate.py @@ -60,7 +60,7 @@ class AubioOnsetRate(Processor): downmixed = frames[i:i+self.hop_s, :].sum(axis = -1) isonset = self.t(downmixed) if isonset: - self.onsets += [self.t.get_last_onset_s()] + self.onsets += [self.t.get_last_s()] i += self.hop_s self.block_read += 1 return frames, eod -- 2.39.5