Mercurial > hg > sonic-annotator
annotate tests/test-transforms-basic/transforms/percussiononsets-set-parameters.n3 @ 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@0 | 1 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>. |
Chris@0 | 2 @prefix vamp: <http://purl.org/ontology/vamp/>. |
Chris@0 | 3 @prefix examples: <http://vamp-plugins.org/rdf/plugins/vamp-example-plugins#>. |
Chris@0 | 4 @prefix : <#>. |
Chris@0 | 5 |
Chris@0 | 6 :transform0 a vamp:Transform; |
Chris@0 | 7 vamp:plugin examples:percussiononsets ; |
Chris@0 | 8 vamp:output examples:percussiononsets_output_onsets ; |
Chris@0 | 9 vamp:step_size "512"; |
Chris@0 | 10 vamp:block_size "1024"; |
Chris@0 | 11 vamp:parameter_binding :param0 ; |
Chris@0 | 12 vamp:parameter_binding :param1 . |
Chris@0 | 13 |
Chris@0 | 14 :param0 a vamp:ParameterBinding; |
Chris@0 | 15 vamp:parameter [ vamp:identifier "sensitivity" ]; |
Chris@0 | 16 vamp:value "60". |
Chris@0 | 17 |
Chris@0 | 18 :param1 a vamp:ParameterBinding; |
Chris@0 | 19 vamp:parameter examples:percussiononsets_param_threshold; |
Chris@0 | 20 vamp:value "2.6". |
Chris@0 | 21 |
Chris@0 | 22 |