summaryrefslogtreecommitdiff
path: root/ardour.dox
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2015-03-30 11:29:31 +0200
committerRobin Gareus <robin@gareus.org>2015-03-30 11:29:31 +0200
commitb03e2f00e3640a4d49ceecc858ff521e5ea65903 (patch)
treee6145b557b07c3a608f6dd8079cbb394e8572543 /ardour.dox
parentda42014c4d0508725447b820446eff94be241a19 (diff)
hack AudioAnalyzer for VAMP Onsetdetect
This works around a bug in OnsetDetector. It requests a buffer of 1114 samples but later FFT bails out if the buffer size is not a power-of-two. Also large buffersizes fail. Work-around: use ADAPT_ALL_SAFE (no buffersize adapter), use a reasonably small buffersize. The current settings work, even though it produces the following warnings (vamp-plugins/OnsetDetect.cpp) WARNING: OnsetDetector::initialise: Possibly sub-optimal step size for this sample rate: 512 (wanted 557) WARNING: OnsetDetector::initialise: Possibly sub-optimal block size for this sample rate: 1024 (wanted 1114) This commit should be reverted once VAMP/QM/aubio is updated/fixed.
Diffstat (limited to 'ardour.dox')
0 files changed, 0 insertions, 0 deletions