view transforms/percussiononsets-detectionfunction.n3 @ 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 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_detectionfunction;
#	vamp:step_size "256";
# 	vamp:block_size "512";
	vamp:window_type "Hanning";
	vamp:parameter_binding :param0 ;
	vamp:parameter_binding :param1 .

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

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