From: Paul Brossier Date: Mon, 22 Jul 2013 00:27:26 +0000 (-0500) Subject: timeside/analyzer/aubio_temporal.py: improve comments X-Git-Tag: 0.5.0~76 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=0fdcda788cb11bfd4fa4b40ca115acd9447471f5;p=timeside.git timeside/analyzer/aubio_temporal.py: improve comments --- diff --git a/timeside/analyzer/aubio_temporal.py b/timeside/analyzer/aubio_temporal.py index d30f621..71082d8 100644 --- a/timeside/analyzer/aubio_temporal.py +++ b/timeside/analyzer/aubio_temporal.py @@ -71,13 +71,11 @@ class AubioTemporal(Processor): commonAttr = dict(samplerate=self.samplerate(), blocksize=self.win_s, stepsize=self.hop_s) - # FIXME : Onsets, beat and onset rate are not frame based Results + # FIXME : Onsets, beat and onset rate are not frame based Results # samplerate, blocksize, etc. are not appropriate here # Those might be some kind of "AnalyzerSegmentResults" - #--------------------------------- - # Onsets - #--------------------------------- + # list of onset locations onsets = AnalyzerResult() # Set metadata onsetsAttr = dict(id="aubio_onset", @@ -87,9 +85,7 @@ class AubioTemporal(Processor): # Set Data onsets.data = self.onsets - #--------------------------------- - # Onset Rate - #--------------------------------- + # list of inter-onset intervals, in beats per minute onsetrate = AnalyzerResult() # Set metadata onsetrateAttr = dict(id="aubio_onset_rate", @@ -103,9 +99,7 @@ class AubioTemporal(Processor): else: onsetrate.data = [] - #--------------------------------- - # Beats - #--------------------------------- + # list of beat locations beats = AnalyzerResult() # Set metadata beatsAttr = dict(id="aubio_beat", @@ -115,9 +109,7 @@ class AubioTemporal(Processor): # Set Data beats.data = self.beats - #--------------------------------- - # BPM - #--------------------------------- + # list of inter-beat intervals, in beats per minute bpm = AnalyzerResult() # Set metadata bpmAttr = dict(id="aubio_bpm",