Mercurial > hg > sonic-annotator
annotate tests/misc-queries/test-query-transform-params @ 269:39fb206b1153 piper-nopiper
Filter out Xing/LAME info frames, rather than letting them go to the mp3 decoder as if they were audio frames. Fixes the 1152-sample zero pad at start of some decoded mp3 files (distinct from decoder delay). The logic here is based on the madplay code.
author | Chris Cannam |
---|---|
date | Thu, 24 Nov 2016 13:32:04 +0000 |
parents | 92911f967a16 |
children |
rev | line source |
---|---|
Chris@0 | 1 PREFIX vamp: <http://purl.org/ontology/vamp/> |
Chris@0 | 2 |
Chris@0 | 3 SELECT ?transform ?param_id ?param_value |
Chris@0 | 4 |
Chris@0 | 5 FROM <file:///work/runner/transforms/percussiononsets.n3> |
Chris@0 | 6 |
Chris@0 | 7 WHERE { |
Chris@0 | 8 ?transform vamp:parameter_binding ?binding . |
Chris@0 | 9 ?binding vamp:parameter ?param . |
Chris@0 | 10 ?param vamp:identifier ?param_id . |
Chris@0 | 11 ?binding vamp:value ?param_value . |
Chris@0 | 12 } |
Chris@0 | 13 |