annotate tuning-difference.n3 @ 69:c0b78dcc08e6 feature-alternatives tip

Some experimental feature adjustments - try using diffs between chroma cells (no better at first glance)
author Chris Cannam
date Fri, 16 Aug 2019 12:28:58 +0100
parents 82ca3aeb470a
children
rev   line source
Chris@41 1 @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
Chris@41 2 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
Chris@41 3 @prefix vamp: <http://purl.org/ontology/vamp/> .
Chris@41 4 @prefix plugbase: <http://vamp-plugins.org/rdf/plugins/tuning-difference#> .
Chris@41 5 @prefix owl: <http://www.w3.org/2002/07/owl#> .
Chris@41 6 @prefix dc: <http://purl.org/dc/elements/1.1/> .
Chris@41 7 @prefix af: <http://purl.org/ontology/af/> .
Chris@41 8 @prefix foaf: <http://xmlns.com/foaf/0.1/> .
Chris@41 9 @prefix doap: <http://usefulinc.com/ns/doap#> .
Chris@41 10 @prefix cc: <http://web.resource.org/cc/> .
Chris@41 11 @prefix : <#> .
Chris@41 12
Chris@41 13
Chris@41 14 ## Properties of this document
Chris@41 15
Chris@41 16 <> a vamp:PluginDescription ;
Chris@41 17 foaf:maker <http://vamp-plugins.org/rdf/template-generator> ;
Chris@41 18 foaf:primaryTopic <http://vamp-plugins.org/rdf/plugins/tuning-difference> .
Chris@41 19
Chris@41 20
Chris@41 21 ## Maker of the whole plugin library
Chris@41 22
Chris@41 23 :library_maker
Chris@41 24 foaf:name "Chris Cannam" ;
Chris@41 25 foaf:logo <http://vamp-plugins.org/rdf/plugins/makers/qm.png> ;
Chris@41 26 foaf:page <http://c4dm.eecs.qmul.ac.uk/> .
Chris@41 27
Chris@41 28 ## Properties of the plugin library, and references to the plugins it contains
Chris@41 29
Chris@41 30 plugbase:library a vamp:PluginLibrary ;
Chris@41 31 vamp:identifier "tuning-difference" ;
Chris@41 32 foaf:maker :library_maker ;
Chris@41 33 vamp:available_plugin plugbase:tuning-difference ;
Chris@41 34 dc:title "Tuning Difference" ;
Chris@41 35 dc:description "Estimate the tuning frequency of a recording, by comparing it to another recording of the same music whose tuning frequency is known" ;
Chris@41 36 foaf:page <http://code.soundsoftware.ac.uk/projects/tuning-difference> ;
Chris@41 37 doap:download-page <http://code.soundsoftware.ac.uk/projects/tuning-difference> ;
Chris@41 38 .
Chris@41 39
Chris@41 40
Chris@41 41 ## Properties of the Tuning Difference plugin
Chris@41 42
Chris@41 43 plugbase:tuning-difference a vamp:Plugin ;
Chris@41 44 dc:title "Tuning Difference" ;
Chris@41 45 vamp:name "Tuning Difference" ;
Chris@41 46 dc:description """Estimate the tuning frequency of a recording, by comparing it to another recording of the same music whose tuning frequency is known""" ;
Chris@41 47 foaf:maker :library_maker ;
Chris@41 48 dc:rights """GPL""" ;
Chris@41 49 vamp:identifier "tuning-difference" ;
Chris@41 50 vamp:vamp_API_version vamp:api_version_2 ;
Chris@48 51 owl:versionInfo "3" ;
Chris@41 52 vamp:input_domain vamp:TimeDomain ;
Chris@41 53 vamp:parameter plugbase:tuning-difference_param_maxduration ;
Chris@48 54 vamp:parameter plugbase:tuning-difference_param_maxrange ;
Chris@48 55 vamp:parameter plugbase:tuning-difference_param_finetuning ;
Chris@41 56
Chris@41 57 vamp:output plugbase:tuning-difference_output_cents ;
Chris@41 58 vamp:output plugbase:tuning-difference_output_tuningfreq ;
Chris@41 59 vamp:output plugbase:tuning-difference_output_reffeature ;
Chris@41 60 vamp:output plugbase:tuning-difference_output_otherfeature ;
Chris@41 61 vamp:output plugbase:tuning-difference_output_rotfeature ;
Chris@41 62 .
Chris@41 63 plugbase:tuning-difference_param_maxduration a vamp:Parameter ;
Chris@41 64 vamp:identifier "maxduration" ;
Chris@41 65 dc:title "Maximum duration to analyse" ;
Chris@41 66 dc:format "s" ;
Chris@41 67 vamp:min_value 0 ;
Chris@41 68 vamp:max_value 3600 ;
Chris@41 69 vamp:unit "s" ;
Chris@41 70 vamp:default_value 0 ;
Chris@41 71 vamp:value_names ();
Chris@41 72 .
Chris@48 73 plugbase:tuning-difference_param_maxrange a vamp:QuantizedParameter ;
Chris@48 74 vamp:identifier "maxrange" ;
Chris@48 75 dc:title "Maximum range in semitones" ;
Chris@48 76 dc:format "semitones" ;
Chris@48 77 vamp:min_value 1 ;
Chris@48 78 vamp:max_value 11 ;
Chris@48 79 vamp:unit "semitones" ;
Chris@48 80 vamp:quantize_step 1 ;
Chris@48 81 vamp:default_value 4 ;
Chris@48 82 vamp:value_names ();
Chris@48 83 .
Chris@48 84 plugbase:tuning-difference_param_finetuning a vamp:QuantizedParameter ;
Chris@48 85 vamp:identifier "finetuning" ;
Chris@48 86 dc:title "Fine tuning" ;
Chris@48 87 dc:format "" ;
Chris@48 88 vamp:min_value 0 ;
Chris@48 89 vamp:max_value 1 ;
Chris@48 90 vamp:unit "" ;
Chris@48 91 vamp:quantize_step 1 ;
Chris@48 92 vamp:default_value 1 ;
Chris@48 93 vamp:value_names ();
Chris@48 94 .
Chris@41 95 plugbase:tuning-difference_output_cents a vamp:SparseOutput ;
Chris@41 96 vamp:identifier "cents" ;
Chris@41 97 dc:title "Tuning Difference" ;
Chris@41 98 dc:description """Difference in averaged frequency profile between channels 1 and 2, in cents. A positive value means channel 2 is higher.""" ;
Chris@41 99 vamp:fixed_bin_count "true" ;
Chris@41 100 vamp:unit "cents" ;
Chris@41 101 vamp:bin_count 1 ;
Chris@41 102 vamp:sample_type vamp:VariableSampleRate ;
Chris@41 103 # vamp:computes_event_type <Place event type URI here and uncomment> ;
Chris@41 104 # vamp:computes_feature <Place feature attribute URI here and uncomment> ;
Chris@41 105 # vamp:computes_signal_type <Place signal type URI here and uncomment> ;
Chris@41 106 .
Chris@41 107 plugbase:tuning-difference_output_tuningfreq a vamp:SparseOutput ;
Chris@41 108 vamp:identifier "tuningfreq" ;
Chris@41 109 dc:title "Relative Tuning Frequency" ;
Chris@41 110 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.""" ;
Chris@41 111 vamp:fixed_bin_count "true" ;
Chris@41 112 vamp:unit "hz" ;
Chris@41 113 vamp:bin_count 1 ;
Chris@41 114 vamp:sample_type vamp:VariableSampleRate ;
Chris@41 115 # vamp:computes_event_type <Place event type URI here and uncomment> ;
Chris@41 116 # vamp:computes_feature <Place feature attribute URI here and uncomment> ;
Chris@41 117 # vamp:computes_signal_type <Place signal type URI here and uncomment> ;
Chris@41 118 .
Chris@41 119 plugbase:tuning-difference_output_reffeature a vamp:DenseOutput ;
Chris@41 120 vamp:identifier "reffeature" ;
Chris@41 121 dc:title "Reference Feature" ;
Chris@41 122 dc:description """Chroma feature from reference audio.""" ;
Chris@41 123 vamp:fixed_bin_count "true" ;
Chris@41 124 vamp:unit "" ;
Chris@41 125 vamp:bin_count 60 ;
Chris@41 126 # vamp:computes_event_type <Place event type URI here and uncomment> ;
Chris@41 127 # vamp:computes_feature <Place feature attribute URI here and uncomment> ;
Chris@41 128 # vamp:computes_signal_type <Place signal type URI here and uncomment> ;
Chris@41 129 .
Chris@41 130 plugbase:tuning-difference_output_otherfeature a vamp:DenseOutput ;
Chris@41 131 vamp:identifier "otherfeature" ;
Chris@41 132 dc:title "Other Feature" ;
Chris@41 133 dc:description """Chroma feature from other audio, before rotation.""" ;
Chris@41 134 vamp:fixed_bin_count "true" ;
Chris@41 135 vamp:unit "" ;
Chris@41 136 vamp:bin_count 60 ;
Chris@41 137 # vamp:computes_event_type <Place event type URI here and uncomment> ;
Chris@41 138 # vamp:computes_feature <Place feature attribute URI here and uncomment> ;
Chris@41 139 # vamp:computes_signal_type <Place signal type URI here and uncomment> ;
Chris@41 140 .
Chris@41 141 plugbase:tuning-difference_output_rotfeature a vamp:DenseOutput ;
Chris@41 142 vamp:identifier "rotfeature" ;
Chris@41 143 dc:title "Other Feature at Rotated Frequency" ;
Chris@41 144 dc:description """Chroma feature from reference audio calculated with the tuning frequency obtained from rotation matching.""" ;
Chris@41 145 vamp:fixed_bin_count "true" ;
Chris@41 146 vamp:unit "" ;
Chris@41 147 vamp:bin_count 60 ;
Chris@41 148 # vamp:computes_event_type <Place event type URI here and uncomment> ;
Chris@41 149 # vamp:computes_feature <Place feature attribute URI here and uncomment> ;
Chris@41 150 # vamp:computes_signal_type <Place signal type URI here and uncomment> ;
Chris@41 151 .
Chris@41 152