diff multiple_f0_estimation/silvet/silvet.n3 @ 62:2b1e48b14423

Add framewise scripts
author Chris Cannam
date Wed, 12 Aug 2015 17:36:31 +0100
parents 674fb672aa76
children
line wrap: on
line diff
--- a/multiple_f0_estimation/silvet/silvet.n3	Thu Sep 04 16:48:42 2014 +0100
+++ b/multiple_f0_estimation/silvet/silvet.n3	Wed Aug 12 17:36:31 2015 +0100
@@ -51,15 +51,20 @@
 #   cc:license            <Place plugin license URI here and uncomment> ; 
     vamp:identifier       "silvet" ;
     vamp:vamp_API_version vamp:api_version_2 ;
-    owl:versionInfo       "1" ;
+    owl:versionInfo       "3" ;
     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_onsets ;
     vamp:output      plugbase:silvet_output_timefreq ;
+    vamp:output      plugbase:silvet_output_pitchactivation ;
+    vamp:output      plugbase:silvet_output_chroma ;
+    vamp:output      plugbase:silvet_output_templates ;
     .
+    
 plugbase:silvet_param_mode a  vamp:QuantizedParameter ;
     vamp:identifier     "mode" ;
     dc:title            "Processing mode" ;
@@ -69,14 +74,14 @@
     vamp:unit           "" ;
     vamp:quantize_step   1  ;
     vamp:default_value   1 ;
-    vamp:value_names     ( "Draft (faster)" "Intensive (higher quality)");
+    vamp:value_names     ( "Live (faster and lower latency)" "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:max_value       13 ;
     vamp:unit           "" ;
     vamp:quantize_step   1  ;
     vamp:default_value   0 ;
@@ -96,20 +101,70 @@
 plugbase:silvet_output_notes a  vamp:SparseOutput ;
     vamp:identifier       "notes" ;
     dc:title              "Note transcription" ;
-    dc:description        """Overall note transcription across selected instruments"""  ;
+    dc:description        """Overall note transcription. Each note has time, duration, estimated fundamental frequency, and a synthetic MIDI velocity (1-127) estimated from the strength of the pitch in the mixture."""  ;
     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 ;
     vamp:computes_event_type   af:Note ;
     .
+plugbase:silvet_output_onsets a  vamp:SparseOutput ;
+    vamp:identifier       "onsets" ;
+    dc:title              "Note onsets" ;
+    dc:description        """Note onsets, without durations. These can be calculated sooner than complete notes, because it isn't necessary to wait for a note to finish before returning its feature. Each event has time, estimated fundamental frequency in Hz, and a synthetic MIDI velocity (1-127) estimated from the strength of the pitch in the mixture."""  ;
+    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 ;
+    vamp:computes_event_type   af:Onset ;
+    .
+plugbase:silvet_output_onoffsets a  vamp:SparseOutput ;
+    vamp:identifier       "onoffsets" ;
+    dc:title              "Note onsets and offsets" ;
+    dc:description        """Note onsets and offsets as separate events. Each onset event has time, estimated fundamental frequency in Hz, and a synthetic MIDI velocity (1-127) estimated from the strength of the pitch in the mixture. Offsets are represented in the same way but with a velocity of 0."""  ;
+    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 ;
+    .
 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"""  ;
+    dc:description        """Filtered constant-Q time-frequency distribution as used as input to the expectation-maximisation algorithm."""  ;
     vamp:fixed_bin_count  "true" ;
     vamp:unit             "" ;
+    vamp:bin_count        545 ;
     vamp:computes_signal_type  af:Spectrogram ;
     .
-
+plugbase:silvet_output_pitchactivation a  vamp:DenseOutput ;
+    vamp:identifier       "pitchactivation" ;
+    dc:title              "Pitch activation distribution" ;
+    dc:description        """Pitch activation distribution resulting from expectation-maximisation algorithm, prior to note extraction."""  ;
+    vamp:fixed_bin_count  "true" ;
+    vamp:unit             "" ;
+    vamp:bin_count        88 ;
+    vamp:computes_signal_type  af:Spectrogram ;
+    .
+plugbase:silvet_output_chroma a  vamp:DenseOutput ;
+    vamp:identifier       "chroma" ;
+    dc:title              "Pitch chroma distribution" ;
+    dc:description        """Pitch chroma distribution formed by wrapping the un-thresholded pitch activation distribution into a single octave of semitone bins."""  ;
+    vamp:fixed_bin_count  "true" ;
+    vamp:unit             "" ;
+    vamp:bin_count        12 ;
+    vamp:computes_signal_type  af:Chromagram ;
+    .
+plugbase:silvet_output_templates a  vamp:DenseOutput ;
+    vamp:identifier       "templates" ;
+    dc:title              "Templates" ;
+    dc:description        """Constant-Q spectral templates for the selected instrument pack."""  ;
+    vamp:fixed_bin_count  "true" ;
+    vamp:unit             "" ;
+    vamp:bin_count        545 ;
+    .