view tests/test-multiple-audio/transforms/detectionfunction.n3 @ 271:7b3a80021b7c piper-nopiper

Add MAD_BUFFER_GUARD padding at end of mp3 buffer, in order to ensure last frame is decoded successfully (otherwise the decoded audio is truncated). Another thing learned from madplay.
author Chris Cannam
date Thu, 24 Nov 2016 17:06:31 +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 .