Mercurial > hg > sonic-annotator
annotate tests/test-transforms-basic/transforms/percussiononsets-set-parameters.n3 @ 366:9f7297c47850
Update plugin handling to follow the smart pointers used in the svcore library. This is awkward in our context, and the outcome isn't a very nice one - but it
does look as if we had the potential for use-after-free in cases where a plugin
was both used "bare" and wrapped in an auto-deleting adapter; those should be
fixed now
author | Chris Cannam |
---|---|
date | Thu, 23 Apr 2020 15:51:55 +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 |