# HG changeset patch # User Chris Cannam # Date 1401872131 -3600 # Node ID ec19a15bee822016e1428550fff5c7121260da05 # Parent 59e3cca75b8df6b25a0c7bd9016ce5d200dca9f7 RDF file, and some copyright etc updates diff -r 59e3cca75b8d -r ec19a15bee82 silvet.n3 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/silvet.n3 Wed Jun 04 09:55:31 2014 +0100 @@ -0,0 +1,99 @@ +@prefix rdfs: . +@prefix xsd: . +@prefix vamp: . +@prefix plugbase: . +@prefix owl: . +@prefix dc: . +@prefix af: . +@prefix foaf: . +@prefix cc: . +@prefix : <#> . + +<> a vamp:PluginDescription ; + foaf:maker ; + foaf:primaryTopic . + +:silvet a vamp:PluginLibrary ; + vamp:identifier "silvet" ; + vamp:available_plugin plugbase:silvet ; + foaf:page ; + . + +plugbase:silvet a vamp:Plugin ; + dc:title "Silvet Note Transcription" ; + vamp:name "Silvet Note Transcription" ; + dc:description """""" ; + foaf:maker [ foaf:name "Queen Mary, University of London" ] ; # FIXME could give plugin author's URI here + dc:rights """Method by Emmanouil Benetos and Simon Dixon; plugin by Chris Cannam and Emmanouil Benetos. GPL licence.""" ; +# cc:license ; + vamp:identifier "silvet" ; + vamp:vamp_API_version vamp:api_version_2 ; + owl:versionInfo "1" ; + vamp:input_domain vamp:TimeDomain ; + + vamp:parameter plugbase:silvet_param_mode ; + vamp:parameter plugbase:silvet_param_instrument ; + vamp:parameter plugbase:silvet_param_finetune ; + + vamp:output plugbase:silvet_output_notes ; + vamp:output plugbase:silvet_output_timefreq ; + . +plugbase:silvet_param_mode a vamp:QuantizedParameter ; + vamp:identifier "mode" ; + dc:title "Processing mode" ; + dc:format "" ; + vamp:min_value 0 ; + vamp:max_value 1 ; + vamp:unit "" ; + vamp:quantize_step 1 ; + vamp:default_value 1 ; + vamp:value_names ( "Draft (faster)" "Intensive (higher quality)"); + . +plugbase:silvet_param_instrument a vamp:QuantizedParameter ; + vamp:identifier "instrument" ; + dc:title "Instrument" ; + dc:format "" ; + vamp:min_value 0 ; + vamp:max_value 12 ; + vamp:unit "" ; + vamp:quantize_step 1 ; + vamp:default_value 0 ; + vamp:value_names ( "Multiple or unknown instruments" "Piano" "Guitar" "Violin" "Cello" "Horn" "Flute" "Oboe" "Clarinet" "Tenor Sax" "Bassoon" "String ensemble" "Wind ensemble"); + . +plugbase:silvet_param_finetune a vamp:QuantizedParameter ; + vamp:identifier "finetune" ; + dc:title "Return fine pitch estimates" ; + dc:format "" ; + vamp:min_value 0 ; + vamp:max_value 1 ; + vamp:unit "" ; + vamp:quantize_step 1 ; + vamp:default_value 0 ; + vamp:value_names (); + . +plugbase:silvet_output_notes a vamp:SparseOutput ; + vamp:identifier "notes" ; + dc:title "Note transcription" ; + dc:description """Overall note transcription across selected instruments""" ; + vamp:fixed_bin_count "true" ; + vamp:unit "Hz" ; + vamp:bin_count 2 ; + vamp:bin_names ( "Frequency" "Velocity"); + vamp:sample_type vamp:VariableSampleRate ; + vamp:sample_rate 711.29 ; +# vamp:computes_event_type ; +# vamp:computes_feature ; +# vamp:computes_signal_type ; + . +plugbase:silvet_output_timefreq a vamp:DenseOutput ; + vamp:identifier "timefreq" ; + dc:title "Time-frequency distribution" ; + dc:description """Filtered constant-Q time-frequency distribution used as input to the expectation-maximisation algorithm""" ; + vamp:fixed_bin_count "true" ; + vamp:unit "" ; + vamp:bin_count 545 ; +# vamp:computes_event_type ; +# vamp:computes_feature ; +# vamp:computes_signal_type ; + . + diff -r 59e3cca75b8d -r ec19a15bee82 src/Silvet.cpp --- a/src/Silvet.cpp Fri May 23 18:17:59 2014 +0100 +++ b/src/Silvet.cpp Wed Jun 04 09:55:31 2014 +0100 @@ -70,15 +70,13 @@ string Silvet::getDescription() const { - // Return something helpful here! - return ""; + return "Estimate the note onsets, pitches, and durations that make up a music recording."; } string Silvet::getMaker() const { - // Your name here - return ""; + return "Queen Mary, University of London"; } int @@ -90,11 +88,7 @@ string Silvet::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 "Method by Emmanouil Benetos and Simon Dixon; plugin by Chris Cannam and Emmanouil Benetos. GPL licence."; } Silvet::InputDomain