view tests/test-transforms-basic/transforms/percussiononsets-df-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
line wrap: on
line source
<transform
    id="vamp:vamp-example-plugins:percussiononsets:detectionfunction"
    pluginVersion="2"
    program=""
    stepSize="512"
    blockSize="1024"
    windowType="hanning"
    startTime="2.000000000"
    duration="2.000000000"
    sampleRate="0">
  <parameter name="sensitivity" value="40"/>
  <parameter name="threshold" value="3"/>
</transform>