view tests/test-multiple-audio/transforms/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 9a10c3ffff47
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:summary_type "mean" .

:transform1 a vamp:Transform;
	vamp:plugin examples:percussiononsets ;
	vamp:output examples:percussiononsets_output_detectionfunction ;
	vamp:summary_type "median" .

# This is not a summary and so should not appear with --summary-only
:transform2 a vamp:Transform;
	vamp:plugin examples:percussiononsets ;
	vamp:output examples:percussiononsets_output_onsets .

:transform3 a vamp:Transform;
	vamp:plugin examples:percussiononsets ;
	vamp:output examples:percussiononsets_output_detectionfunction ;
	vamp:summary_type "mode" .

# This has different step and block sizes from the default
# (:transform0), and so should be listed separately with different
# values in the output
:transform4 a vamp:Transform;
	vamp:plugin examples:percussiononsets ;
	vamp:output examples:percussiononsets_output_detectionfunction ;
	vamp:step_size 4096 ;
	vamp:block_size 8192 ;
	vamp:summary_type "mean" .

# This is not a summary and so should not appear with --summary-only
:transform5 a vamp:Transform;
	vamp:plugin examples:percussiononsets ;
	vamp:output examples:percussiononsets_output_detectionfunction .