Mercurial > hg > sonic-annotator
annotate tests/misc-queries/test-query @ 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 | 92911f967a16 | 
| children | 
| rev | line source | 
|---|---|
| Chris@0 | 1 | 
| 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 | 
| Chris@0 | 5 SELECT ?transform ?library ?library_id ?plugin | 
| Chris@0 | 6 FROM <file:///work/runner/transforms/percussiononsets.n3> | 
| Chris@0 | 7 FROM <http://vamp-plugins.org/rdf/plugins/vamp-example-plugins> | 
| Chris@0 | 8 | 
| Chris@0 | 9 WHERE { | 
| Chris@0 | 10 ?transform a vamp:Transform . | 
| Chris@0 | 11 ?transform vamp:plugin ?plugin . | 
| Chris@0 | 12 ?plugin a vamp:Plugin . | 
| Chris@0 | 13 ?library a vamp:PluginLibrary . | 
| Chris@0 | 14 ?library vamp:identifier ?library_id . | 
| Chris@0 | 15 ?library vamp:available_plugin ?plugin . | 
| Chris@0 | 16 } | 
| Chris@0 | 17 | 
