Mercurial > hg > sonic-annotator
annotate tests/test-transforms-basic/transforms/percussiononsets-multiple-outputs-start-and-duration.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@97 | 1 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>. |
Chris@97 | 2 @prefix vamp: <http://purl.org/ontology/vamp/>. |
Chris@97 | 3 @prefix examples: <http://vamp-plugins.org/rdf/plugins/vamp-example-plugins#>. |
Chris@101 | 4 @prefix xsd: <http://www.w3.org/2001/XMLSchema#>. |
Chris@97 | 5 @prefix : <#>. |
Chris@97 | 6 |
Chris@97 | 7 :transform0 a vamp:Transform; |
Chris@97 | 8 vamp:plugin examples:percussiononsets ; |
Chris@97 | 9 vamp:output examples:percussiononsets_output_onsets ; |
Chris@97 | 10 vamp:start "PT1.0S"^^xsd:duration ; |
Chris@97 | 11 vamp:duration "PT3.0S"^^xsd:duration . |
Chris@97 | 12 |
Chris@97 | 13 :transform1 a vamp:Transform; |
Chris@97 | 14 vamp:plugin examples:percussiononsets ; |
Chris@97 | 15 vamp:output examples:percussiononsets_output_detectionfunction ; |
Chris@97 | 16 vamp:start "PT2.0S"^^xsd:duration ; |
Chris@97 | 17 vamp:duration "PT1.0S"^^xsd:duration . |
Chris@97 | 18 |
Chris@97 | 19 |
Chris@97 | 20 |