# HG changeset patch # User Chris Cannam # Date 1583492035 0 # Node ID 720decd4ceff1beb4e7bae889da512d1e7ef05d8 # Parent 6e08f1136c496cc213b47cda2421d52dca27197c Add Tuning Difference RDF diff -r 6e08f1136c49 -r 720decd4ceff plugins/tuning-difference.n3 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/plugins/tuning-difference.n3 Fri Mar 06 10:53:55 2020 +0000 @@ -0,0 +1,152 @@ +@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 "Chris Cannam" ; + foaf:logo ; + foaf:page . + +## Properties of the plugin library, and references to the plugins it contains + +plugbase:library a vamp:PluginLibrary ; + vamp:identifier "tuning-difference" ; + foaf:maker :library_maker ; + 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" ; + foaf:page ; + doap:download-page ; + . + + +## Properties of the Tuning Difference plugin + +plugbase:tuning-difference a vamp:Plugin ; + dc:title "Tuning Difference" ; + vamp:name "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""" ; + foaf:maker :library_maker ; + dc:rights """GPL""" ; + vamp:identifier "tuning-difference" ; + vamp:vamp_API_version vamp:api_version_2 ; + 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 ; + vamp:output plugbase:tuning-difference_output_reffeature ; + vamp:output plugbase:tuning-difference_output_otherfeature ; + vamp:output plugbase:tuning-difference_output_rotfeature ; + . +plugbase: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: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" ; + dc:description """Difference in averaged frequency profile between channels 1 and 2, in cents. A positive value means channel 2 is higher.""" ; + vamp:fixed_bin_count "true" ; + vamp:unit "cents" ; + vamp:bin_count 1 ; + vamp:sample_type vamp:VariableSampleRate ; +# vamp:computes_event_type ; +# vamp:computes_feature ; +# vamp:computes_signal_type ; + . +plugbase:tuning-difference_output_tuningfreq a vamp:SparseOutput ; + vamp:identifier "tuningfreq" ; + dc:title "Relative Tuning Frequency" ; + dc:description """Tuning frequency of channel 2, if channel 1 is assumed to contain the same music as it at a tuning frequency of A=440Hz.""" ; + vamp:fixed_bin_count "true" ; + vamp:unit "hz" ; + vamp:bin_count 1 ; + vamp:sample_type vamp:VariableSampleRate ; +# vamp:computes_event_type ; +# vamp:computes_feature ; +# vamp:computes_signal_type ; + . +plugbase:tuning-difference_output_reffeature a vamp:DenseOutput ; + vamp:identifier "reffeature" ; + dc:title "Reference Feature" ; + dc:description """Chroma feature from reference audio.""" ; + vamp:fixed_bin_count "true" ; + vamp:unit "" ; + vamp:bin_count 60 ; +# vamp:computes_event_type ; +# vamp:computes_feature ; +# vamp:computes_signal_type ; + . +plugbase:tuning-difference_output_otherfeature a vamp:DenseOutput ; + vamp:identifier "otherfeature" ; + dc:title "Other Feature" ; + dc:description """Chroma feature from other audio, before rotation.""" ; + vamp:fixed_bin_count "true" ; + vamp:unit "" ; + vamp:bin_count 60 ; +# vamp:computes_event_type ; +# vamp:computes_feature ; +# vamp:computes_signal_type ; + . +plugbase:tuning-difference_output_rotfeature a vamp:DenseOutput ; + vamp:identifier "rotfeature" ; + dc:title "Other Feature at Rotated Frequency" ; + dc:description """Chroma feature from reference audio calculated with the tuning frequency obtained from rotation matching.""" ; + vamp:fixed_bin_count "true" ; + vamp:unit "" ; + vamp:bin_count 60 ; +# vamp:computes_event_type ; +# vamp:computes_feature ; +# vamp:computes_signal_type ; + . +