annotate tests/test-transforms-basic/transforms/percussiononsets-start-and-duration.xml @ 123:b514bae9555e

Do not feed audio data to a plugin before its transform's start time (we might be feeding other transforms that started earlier). This breaks a test, but the test's expected output was broken (rather alarmingly)! Note that this does mean a plugin may have to-next-block "leakage" at start as well as end of its start-duration zone.
author Chris Cannam
date Wed, 08 Oct 2014 18:44:40 +0100
parents 7a31201dc42d
children
rev   line source
Chris@96 1 <transform
Chris@96 2 id="vamp:vamp-example-plugins:percussiononsets:onsets"
Chris@96 3 pluginVersion="2"
Chris@96 4 program=""
Chris@96 5 stepSize="512"
Chris@96 6 blockSize="1024"
Chris@96 7 windowType="hanning"
Chris@96 8 startTime="2.000000000"
Chris@96 9 duration="2.000000000"
Chris@96 10 sampleRate="0">
Chris@96 11 <parameter name="sensitivity" value="40"/>
Chris@96 12 <parameter name="threshold" value="3"/>
Chris@96 13 </transform>