# HG changeset patch # User Chris Cannam # Date 1410533499 -3600 # Node ID df696e57a1508a33e312badd1ad621f880b02515 # Parent 716f797e20256ede16b4fb0a711a2613ddc87cd4 Add category and RDF description files, fill in copyright stuff diff -r 716f797e2025 -r df696e57a150 TempogramPlugin.cpp --- a/TempogramPlugin.cpp Fri Sep 12 15:09:38 2014 +0100 +++ b/TempogramPlugin.cpp Fri Sep 12 15:51:39 2014 +0100 @@ -60,33 +60,25 @@ string TempogramPlugin::getDescription() const { - // Return something helpful here! return "Cyclic Tempogram as described by Peter Grosche and Meinard Muller"; } string TempogramPlugin::getMaker() const { - //Your name here return "Carl Bussey"; } int TempogramPlugin::getPluginVersion() const { - // Increment this each time you release a version that behaves - // differently from the previous one return 1; } string TempogramPlugin::getCopyright() const { - // This function is not ideally named. It does not necessarily - // need to say who made the plugin -- getMaker does that -- but it - // should indicate the terms under which it is distributed. For - // example, "Copyright (year). All Rights Reserved", or "GPL" - return ""; + return "Copyright 2014 Queen Mary University of London. GPL licence."; } TempogramPlugin::InputDomain diff -r 716f797e2025 -r df696e57a150 tempogram.cat --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tempogram.cat Fri Sep 12 15:51:39 2014 +0100 @@ -0,0 +1,1 @@ +vamp:tempogram:tempogram::Visualisation diff -r 716f797e2025 -r df696e57a150 tempogram.n3 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tempogram.n3 Fri Sep 12 15:51:39 2014 +0100 @@ -0,0 +1,203 @@ +@prefix rdfs: . +@prefix xsd: . +@prefix vamp: . +@prefix plugbase: . +@prefix owl: . +@prefix dc: . +@prefix af: . +@prefix foaf: . +@prefix doap: . +@prefix cc: . +@prefix : <#> . + + +## Properties of this document + +<> a vamp:PluginDescription ; + foaf:maker ; + foaf:primaryTopic . + + +## Maker of the whole plugin library + +:library_maker + foaf:name "Carl Bussey" ; + foaf:logo ; + foaf:page . + . + + +## Properties of the plugin library, and references to the plugins it contains + +plugbase:library a vamp:PluginLibrary ; + vamp:identifier "tempogram" ; + foaf:maker :library_maker ; + vamp:available_plugin plugbase:tempogram ; + dc:title "Tempogram" ; + dc:description "A Vamp plugin implementation of the tempogram and cyclic tempogram features described in Grosche, Müller, and Kurth 2010" ; + foaf:page ; + doap:download-page ; + . + + +## Properties of the Tempogram plugin + +plugbase:tempogram a vamp:Plugin ; + dc:title "Tempogram" ; + vamp:name "Tempogram" ; + dc:description """Cyclic Tempogram as described by Peter Grosche and Meinard Müller""" ; + foaf:maker :library_maker ; + dc:rights """Copyright 2014 Queen Mary University of London. GPL licence.""" ; +# cc:license ; + vamp:identifier "tempogram" ; + vamp:vamp_API_version vamp:api_version_2 ; + owl:versionInfo "1" ; + vamp:input_domain vamp:FrequencyDomain ; + + vamp:parameter plugbase:tempogram_param_C ; + vamp:parameter plugbase:tempogram_param_minDB ; + vamp:parameter plugbase:tempogram_param_log2TN ; + vamp:parameter plugbase:tempogram_param_log2HopSize ; + vamp:parameter plugbase:tempogram_param_log2FftLength ; + vamp:parameter plugbase:tempogram_param_minBPM ; + vamp:parameter plugbase:tempogram_param_maxBPM ; + vamp:parameter plugbase:tempogram_param_octDiv ; + + vamp:output plugbase:tempogram_output_cyclicTempogram ; + vamp:output plugbase:tempogram_output_tempogramDFT ; + vamp:output plugbase:tempogram_output_tempogramACT ; + vamp:output plugbase:tempogram_output_nc ; + . +plugbase:tempogram_param_C a vamp:Parameter ; + vamp:identifier "C" ; + dc:title "Novelty Curve Spectrogram Compression Constant" ; + dc:format "" ; + vamp:min_value 2 ; + vamp:max_value 10000 ; + vamp:unit "" ; + vamp:default_value 1000 ; + vamp:value_names (); + . +plugbase:tempogram_param_minDB a vamp:Parameter ; + vamp:identifier "minDB" ; + dc:title "Novelty Curve Minimum DB" ; + dc:format "" ; + vamp:min_value -100 ; + vamp:max_value -50 ; + vamp:unit "" ; + vamp:default_value -74 ; + vamp:value_names (); + . +plugbase:tempogram_param_log2TN a vamp:QuantizedParameter ; + vamp:identifier "log2TN" ; + dc:title "Tempogram Window Length" ; + dc:format "" ; + vamp:min_value 7 ; + vamp:max_value 12 ; + vamp:unit "" ; + vamp:quantize_step 1 ; + vamp:default_value 10 ; + vamp:value_names ( "128" "256" "512" "1024" "2048" "4096"); + . +plugbase:tempogram_param_log2HopSize a vamp:QuantizedParameter ; + vamp:identifier "log2HopSize" ; + dc:title "Tempogram Hopsize" ; + dc:format "" ; + vamp:min_value 6 ; + vamp:max_value 12 ; + vamp:unit "" ; + vamp:quantize_step 1 ; + vamp:default_value 6 ; + vamp:value_names ( "64" "128" "256" "512" "1024" "2048" "4096"); + . +plugbase:tempogram_param_log2FftLength a vamp:QuantizedParameter ; + vamp:identifier "log2FftLength" ; + dc:title "Tempogram FFT Length" ; + dc:format "" ; + vamp:min_value 6 ; + vamp:max_value 12 ; + vamp:unit "" ; + vamp:quantize_step 1 ; + vamp:default_value -74 ; + vamp:value_names (); + . +plugbase:tempogram_param_minBPM a vamp:QuantizedParameter ; + vamp:identifier "minBPM" ; + dc:title "(Cyclic) Tempogram Minimum BPM" ; + dc:format "" ; + vamp:min_value 0 ; + vamp:max_value 2000 ; + vamp:unit "" ; + vamp:quantize_step 5 ; + vamp:default_value 30 ; + vamp:value_names (); + . +plugbase:tempogram_param_maxBPM a vamp:QuantizedParameter ; + vamp:identifier "maxBPM" ; + dc:title "(Cyclic) Tempogram Maximum BPM" ; + dc:format "" ; + vamp:min_value 30 ; + vamp:max_value 2000 ; + vamp:unit "" ; + vamp:quantize_step 5 ; + vamp:default_value 480 ; + vamp:value_names (); + . +plugbase:tempogram_param_octDiv a vamp:QuantizedParameter ; + vamp:identifier "octDiv" ; + dc:title "Cyclic Tempogram Octave Divider" ; + dc:format "" ; + vamp:min_value 5 ; + vamp:max_value 60 ; + vamp:unit "" ; + vamp:quantize_step 1 ; + vamp:default_value 30 ; + vamp:value_names (); + . +plugbase:tempogram_output_cyclicTempogram a vamp:DenseOutput ; + vamp:identifier "cyclicTempogram" ; + dc:title "Cyclic Tempogram" ; + dc:description """Cyclic Tempogram""" ; + vamp:fixed_bin_count "true" ; + vamp:unit "" ; + vamp:bin_count 30 ; +# vamp:computes_event_type ; +# vamp:computes_feature ; +# vamp:computes_signal_type ; + . +plugbase:tempogram_output_tempogramDFT a vamp:DenseOutput ; + vamp:identifier "tempogramDFT" ; + dc:title "Tempogram via DFT" ; + dc:description """Tempogram via DFT""" ; + vamp:fixed_bin_count "true" ; + vamp:unit "BPM" ; + vamp:bin_count 1 ; + vamp:bin_names ( "-nan"); +# vamp:computes_event_type ; +# vamp:computes_feature ; +# vamp:computes_signal_type ; + . +plugbase:tempogram_output_tempogramACT a vamp:DenseOutput ; + vamp:identifier "tempogramACT" ; + dc:title "Tempogram via ACT" ; + dc:description """Tempogram via ACT""" ; + vamp:fixed_bin_count "true" ; + vamp:unit "BPM" ; + vamp:bin_count 1 ; + vamp:bin_names ( "inf"); +# vamp:computes_event_type ; +# vamp:computes_feature ; +# vamp:computes_signal_type ; + . +plugbase:tempogram_output_nc a vamp:DenseOutput ; + vamp:identifier "nc" ; + dc:title "Novelty Curve" ; + dc:description """Novelty Curve""" ; + vamp:fixed_bin_count "true" ; + vamp:unit "" ; + vamp:bin_count 1 ; +# vamp:computes_event_type ; +# vamp:computes_feature ; +# vamp:computes_signal_type ; + . +