Mercurial > hg > tuning-difference
diff tuning-difference.n3 @ 48:3b1b966d8f49
Minor fixes, expand tests, and update RDF description
author | Chris Cannam |
---|---|
date | Wed, 10 Jul 2019 12:00:28 +0100 |
parents | aaf8fa1cde19 |
children | 82ca3aeb470a |
line wrap: on
line diff
--- a/tuning-difference.n3 Tue Jul 09 16:14:19 2019 +0100 +++ b/tuning-difference.n3 Wed Jul 10 12:00:28 2019 +0100 @@ -30,6 +30,7 @@ plugbase:library a vamp:PluginLibrary ; vamp:identifier "tuning-difference" ; foaf:maker :library_maker ; + vamp:available_plugin plugbase:bulk-tuning-difference ; vamp:available_plugin plugbase:tuning-difference ; dc:title "Tuning Difference" ; dc:description "Estimate the tuning frequency of a recording, by comparing it to another recording of the same music whose tuning frequency is known" ; @@ -38,6 +39,117 @@ . +## Properties of the Bulk Tuning Difference plugin + +plugbase:bulk-tuning-difference a vamp:Plugin ; + dc:title "Bulk Tuning Difference" ; + vamp:name "Bulk Tuning Difference" ; + dc:description """Estimate the tuning frequencies of a set of recordings at once, by comparing them to a reference recording of the same music whose tuning frequency is known""" ; + foaf:maker :library_maker ; + dc:rights """GPL""" ; + vamp:identifier "bulk-tuning-difference" ; + vamp:vamp_API_version vamp:api_version_2 ; + owl:versionInfo "3" ; + vamp:input_domain vamp:TimeDomain ; + vamp:parameter plugbase:bulk-tuning-difference_param_maxduration ; + vamp:parameter plugbase:bulk-tuning-difference_param_maxrange ; + vamp:parameter plugbase:bulk-tuning-difference_param_finetuning ; + + vamp:output plugbase:bulk-tuning-difference_output_cents ; + vamp:output plugbase:bulk-tuning-difference_output_tuningfreq ; + vamp:output plugbase:bulk-tuning-difference_output_reffeature ; + vamp:output plugbase:bulk-tuning-difference_output_otherfeature ; + vamp:output plugbase:bulk-tuning-difference_output_rotfeature ; + . +plugbase:bulk-tuning-difference_param_maxduration a vamp:Parameter ; + vamp:identifier "maxduration" ; + dc:title "Maximum duration to analyse" ; + dc:format "s" ; + vamp:min_value 0 ; + vamp:max_value 3600 ; + vamp:unit "s" ; + vamp:default_value 0 ; + vamp:value_names (); + . +plugbase:bulk-tuning-difference_param_maxrange a vamp:QuantizedParameter ; + vamp:identifier "maxrange" ; + dc:title "Maximum range in semitones" ; + dc:format "semitones" ; + vamp:min_value 1 ; + vamp:max_value 11 ; + vamp:unit "semitones" ; + vamp:quantize_step 1 ; + vamp:default_value 4 ; + vamp:value_names (); + . +plugbase:bulk-tuning-difference_param_finetuning a vamp:QuantizedParameter ; + vamp:identifier "finetuning" ; + dc:title "Fine tuning" ; + dc:format "" ; + vamp:min_value 0 ; + vamp:max_value 1 ; + vamp:unit "" ; + vamp:quantize_step 1 ; + vamp:default_value 1 ; + vamp:value_names (); + . +plugbase:bulk-tuning-difference_output_cents a vamp:SparseOutput ; + vamp:identifier "cents" ; + dc:title "Tuning Differences" ; + dc:description """A single feature vector containing a value for each input channel after the first (reference) channel, containing the difference in averaged frequency profile between that channel and the reference channel, in cents. A positive value means the corresponding channel is higher than the reference.""" ; + vamp:fixed_bin_count "false" ; + vamp:unit "cents" ; + vamp:sample_type vamp:VariableSampleRate ; +# vamp:computes_event_type <Place event type URI here and uncomment> ; +# vamp:computes_feature <Place feature attribute URI here and uncomment> ; +# vamp:computes_signal_type <Place signal type URI here and uncomment> ; + . +plugbase:bulk-tuning-difference_output_tuningfreq a vamp:SparseOutput ; + vamp:identifier "tuningfreq" ; + dc:title "Relative Tuning Frequencies" ; + dc:description """A single feature vector containing a value for each input channel after the first (reference) channel, containing the tuning frequency of that channel, if the reference channel is assumed to contain the same music as it at a tuning frequency of A=440Hz.""" ; + vamp:fixed_bin_count "false" ; + vamp:unit "hz" ; + vamp:sample_type vamp:VariableSampleRate ; +# vamp:computes_event_type <Place event type URI here and uncomment> ; +# vamp:computes_feature <Place feature attribute URI here and uncomment> ; +# vamp:computes_signal_type <Place signal type URI here and uncomment> ; + . +plugbase:bulk-tuning-difference_output_reffeature a vamp:DenseOutput ; + vamp:identifier "reffeature" ; + dc:title "Reference Feature" ; + dc:description """Chroma feature from reference channel.""" ; + vamp:fixed_bin_count "true" ; + vamp:unit "" ; + vamp:bin_count 120 ; +# vamp:computes_event_type <Place event type URI here and uncomment> ; +# vamp:computes_feature <Place feature attribute URI here and uncomment> ; +# vamp:computes_signal_type <Place signal type URI here and uncomment> ; + . +plugbase:bulk-tuning-difference_output_otherfeature a vamp:DenseOutput ; + vamp:identifier "otherfeature" ; + dc:title "Other Features" ; + dc:description """Series of chroma feature vectors from the non-reference audio channels, before rotation.""" ; + vamp:fixed_bin_count "true" ; + vamp:unit "" ; + vamp:bin_count 120 ; +# vamp:computes_event_type <Place event type URI here and uncomment> ; +# vamp:computes_feature <Place feature attribute URI here and uncomment> ; +# vamp:computes_signal_type <Place signal type URI here and uncomment> ; + . +plugbase:bulk-tuning-difference_output_rotfeature a vamp:DenseOutput ; + vamp:identifier "rotfeature" ; + dc:title "Other Features at Rotated Frequency" ; + dc:description """Series of chroma feature vectors from the non-reference audio channels, calculated with the tuning frequency obtained from rotation matching.""" ; + vamp:fixed_bin_count "true" ; + vamp:unit "" ; + vamp:bin_count 120 ; +# vamp:computes_event_type <Place event type URI here and uncomment> ; +# vamp:computes_feature <Place feature attribute URI here and uncomment> ; +# vamp:computes_signal_type <Place signal type URI here and uncomment> ; + . + + ## Properties of the Tuning Difference plugin plugbase:tuning-difference a vamp:Plugin ; @@ -48,9 +160,11 @@ dc:rights """GPL""" ; vamp:identifier "tuning-difference" ; vamp:vamp_API_version vamp:api_version_2 ; - owl:versionInfo "1" ; + owl:versionInfo "3" ; vamp:input_domain vamp:TimeDomain ; vamp:parameter plugbase:tuning-difference_param_maxduration ; + vamp:parameter plugbase:tuning-difference_param_maxrange ; + vamp:parameter plugbase:tuning-difference_param_finetuning ; vamp:output plugbase:tuning-difference_output_cents ; vamp:output plugbase:tuning-difference_output_tuningfreq ; @@ -68,6 +182,28 @@ vamp:default_value 0 ; vamp:value_names (); . +plugbase:tuning-difference_param_maxrange a vamp:QuantizedParameter ; + vamp:identifier "maxrange" ; + dc:title "Maximum range in semitones" ; + dc:format "semitones" ; + vamp:min_value 1 ; + vamp:max_value 11 ; + vamp:unit "semitones" ; + vamp:quantize_step 1 ; + vamp:default_value 4 ; + vamp:value_names (); + . +plugbase:tuning-difference_param_finetuning a vamp:QuantizedParameter ; + vamp:identifier "finetuning" ; + dc:title "Fine tuning" ; + dc:format "" ; + vamp:min_value 0 ; + vamp:max_value 1 ; + vamp:unit "" ; + vamp:quantize_step 1 ; + vamp:default_value 1 ; + vamp:value_names (); + . plugbase:tuning-difference_output_cents a vamp:SparseOutput ; vamp:identifier "cents" ; dc:title "Tuning Difference" ;