view transforms/percussiononsets.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 581b1b150a4d
children
line wrap: on
line source
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>.
@prefix vamp: <http://purl.org/ontology/vamp/>.
@prefix examples: <http://vamp-plugins.org/rdf/plugins/vamp-example-plugins#>.
@prefix : <#>.

:transform0 a vamp:Transform;
	vamp:plugin examples:percussiononsets;
	vamp:output examples:percussiononsets_output_onsets;
	vamp:step_size "256";
 	vamp:block_size "512";
#	vamp:sample_rate "44100";
	vamp:window_type "Hanning";
	vamp:parameter_binding :param0 ;
	vamp:parameter_binding :param1 .

:param0 a vamp:ParameterBinding;
	vamp:parameter [ vamp:identifier "sensitivity" ];
	vamp:value "40".

:param1 a vamp:ParameterBinding;
	vamp:parameter examples:percussiononsets_param_threshold;
	vamp:value "3".