# HG changeset patch # User cannam # Date 1214237437 0 # Node ID 0f72cadc5cc8b79498686aadbd3eeea141e3a9bf # Parent afd60ff5ceefe0ffc69b9b6c0b877bb41dd9aa71 * add provisional rdf files for example plugins diff -r afd60ff5ceef -r 0f72cadc5cc8 examples/vamp-example-plugins.n3 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/examples/vamp-example-plugins.n3 Mon Jun 23 16:10:37 2008 +0000 @@ -0,0 +1,214 @@ +@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:maker ; + foaf:primaryTopic . + +:vamp-example-plugins a vamp:PluginLibrary ; + vamp:identifier "vamp-example-plugins" ; + vamp:available_plugin plugbase:amplitudefollower; + vamp:available_plugin plugbase:percussiononsets; + vamp:available_plugin plugbase:spectralcentroid; + vamp:available_plugin plugbase:zerocrossing . + +plugbase:amplitudefollower a vamp:Plugin ; + dc:title "Amplitude Follower" ; + vamp:name "Amplitude Follower" ; + dc:description "Track the amplitude of the audio signal" ; + foaf:maker [ foaf:name "Vamp SDK Example Plugins"] ; # FIXME could give plugin author's URI here + cc:license ; + vamp:identifier "amplitudefollower" ; + vamp:vamp_API_version vamp:api_version_1 ; + owl:versionInfo "1" ; + vamp:input_domain vamp:TimeDomain ; + + vamp:parameter_descriptor plugbase:amplitudefollower_param_attack ; + vamp:parameter_descriptor plugbase:amplitudefollower_param_release ; + + vamp:output_descriptor plugbase:amplitudefollower_output_amplitude ; + . +plugbase:amplitudefollower_param_attack a vamp:ParameterDescriptor ; + vamp:identifier "attack" ; + dc:title "Attack time" ; + dc:format "s" ; + vamp:min_value 0 ; + vamp:max_value 1 ; + vamp:unit "s" ; + vamp:default_value 0.01 ; + vamp:value_names (); + . +plugbase:amplitudefollower_param_release a vamp:ParameterDescriptor ; + vamp:identifier "release" ; + dc:title "Release time" ; + dc:format "s" ; + vamp:min_value 0 ; + vamp:max_value 1 ; + vamp:unit "s" ; + vamp:default_value 0.01 ; + vamp:value_names (); + . +plugbase:amplitudefollower_output_amplitude a vamp:DenseOutput ; + vamp:identifier "amplitude" ; + dc:title "Amplitude" ; + dc:description "" ; + vamp:fixed_bin_count "true" ; + vamp:unit "V" ; + vamp:bin_count 1 ; + vamp:bin_names ( ""); + vamp:computes_feature_type ; + vamp:computes_event_type ; + . +plugbase:percussiononsets a vamp:Plugin ; + dc:title "Simple Percussion Onset Detector" ; + vamp:name "Simple Percussion Onset Detector" ; + dc:description "Detect percussive note onsets by identifying broadband energy rises" ; + foaf:maker [ foaf:name "Vamp SDK Example Plugins"] ; # FIXME could give plugin author's URI here + cc:license ; + vamp:identifier "percussiononsets" ; + vamp:vamp_API_version vamp:api_version_1 ; + owl:versionInfo "2" ; + vamp:input_domain vamp:FrequencyDomain ; + + vamp:parameter_descriptor plugbase:percussiononsets_param_threshold ; + vamp:parameter_descriptor plugbase:percussiononsets_param_sensitivity ; + + vamp:output_descriptor plugbase:percussiononsets_output_onsets ; + vamp:output_descriptor plugbase:percussiononsets_output_detectionfunction ; + . +plugbase:percussiononsets_param_threshold a vamp:ParameterDescriptor ; + vamp:identifier "threshold" ; + dc:title "Energy rise threshold" ; + dc:format "dB" ; + vamp:min_value 0 ; + vamp:max_value 20 ; + vamp:unit "dB" ; + vamp:default_value 3 ; + vamp:value_names (); + . +plugbase:percussiononsets_param_sensitivity a vamp:ParameterDescriptor ; + vamp:identifier "sensitivity" ; + dc:title "Sensitivity" ; + dc:format "%" ; + vamp:min_value 0 ; + vamp:max_value 100 ; + vamp:unit "%" ; + vamp:default_value 40 ; + vamp:value_names (); + . +plugbase:percussiononsets_output_onsets a vamp:SparseOutput ; + vamp:identifier "onsets" ; + dc:title "Onsets" ; + dc:description "Percussive note onset locations" ; + vamp:fixed_bin_count "true" ; + vamp:unit "" ; + vamp:bin_count 0 ; + vamp:bin_names (); + vamp:sample_type vamp:VariableSampleRate ; + vamp:sample_rate 44100 ; + vamp:computes_feature_type ; + vamp:computes_event_type ; + . +plugbase:percussiononsets_output_detectionfunction a vamp:DenseOutput ; + vamp:identifier "detectionfunction" ; + dc:title "Detection Function" ; + dc:description "Broadband energy rise detection function" ; + vamp:fixed_bin_count "true" ; + vamp:unit "" ; + a vamp:QuantizedOutput ; + vamp:quantize_step 1 ; + vamp:bin_count 1 ; + vamp:bin_names ( ""); + vamp:computes_feature_type ; + vamp:computes_event_type ; + . +plugbase:spectralcentroid a vamp:Plugin ; + dc:title "Spectral Centroid" ; + vamp:name "Spectral Centroid" ; + dc:description "Calculate the centroid frequency of the spectrum of the input signal" ; + foaf:maker [ foaf:name "Vamp SDK Example Plugins"] ; # FIXME could give plugin author's URI here + cc:license ; + vamp:identifier "spectralcentroid" ; + vamp:vamp_API_version vamp:api_version_1 ; + owl:versionInfo "2" ; + vamp:input_domain vamp:FrequencyDomain ; + + + vamp:output_descriptor plugbase:spectralcentroid_output_logcentroid ; + vamp:output_descriptor plugbase:spectralcentroid_output_linearcentroid ; + . +plugbase:spectralcentroid_output_logcentroid a vamp:DenseOutput ; + vamp:identifier "logcentroid" ; + dc:title "Log Frequency Centroid" ; + dc:description "Centroid of the log weighted frequency spectrum" ; + vamp:fixed_bin_count "true" ; + vamp:unit "Hz" ; + vamp:bin_count 1 ; + vamp:bin_names ( ""); + vamp:computes_feature_type ; + vamp:computes_event_type ; + . +plugbase:spectralcentroid_output_linearcentroid a vamp:DenseOutput ; + vamp:identifier "linearcentroid" ; + dc:title "Linear Frequency Centroid" ; + dc:description "Centroid of the linear frequency spectrum" ; + vamp:fixed_bin_count "true" ; + vamp:unit "Hz" ; + vamp:bin_count 1 ; + vamp:bin_names ( ""); + vamp:computes_feature_type ; + vamp:computes_event_type ; + . +plugbase:zerocrossing a vamp:Plugin ; + dc:title "Zero Crossings" ; + vamp:name "Zero Crossings" ; + dc:description "Detect and count zero crossing points" ; + foaf:maker [ foaf:name "Vamp SDK Example Plugins"] ; # FIXME could give plugin author's URI here + cc:license ; + vamp:identifier "zerocrossing" ; + vamp:vamp_API_version vamp:api_version_1 ; + owl:versionInfo "2" ; + vamp:input_domain vamp:TimeDomain ; + + + vamp:output_descriptor plugbase:zerocrossing_output_counts ; + vamp:output_descriptor plugbase:zerocrossing_output_zerocrossings ; + . +plugbase:zerocrossing_output_counts a vamp:DenseOutput ; + vamp:identifier "counts" ; + dc:title "Zero Crossing Counts" ; + dc:description "The number of zero crossing points per processing block" ; + vamp:fixed_bin_count "true" ; + vamp:unit "crossings" ; + a vamp:QuantizedOutput ; + vamp:quantize_step 1 ; + vamp:bin_count 1 ; + vamp:bin_names ( ""); + vamp:computes_feature_type ; + vamp:computes_event_type ; + . +plugbase:zerocrossing_output_zerocrossings a vamp:SparseOutput ; + vamp:identifier "zerocrossings" ; + dc:title "Zero Crossings" ; + dc:description "The locations of zero crossing points" ; + vamp:fixed_bin_count "true" ; + vamp:unit "" ; + a vamp:QuantizedOutput ; + vamp:quantize_step 1 ; + vamp:bin_count 0 ; + vamp:bin_names (); + vamp:sample_type vamp:VariableSampleRate ; + vamp:sample_rate 44100 ; + vamp:computes_feature_type ; + vamp:computes_event_type ; + . + diff -r afd60ff5ceef -r 0f72cadc5cc8 examples/vamp-example-plugins.rdf --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/examples/vamp-example-plugins.rdf Mon Jun 23 16:10:37 2008 +0000 @@ -0,0 +1,238 @@ + + + + + + + + + vamp-example-plugins + + + + + + + Amplitude Follower + Amplitude Follower + Track the amplitude of the audio signal + + + Vamp SDK Example Plugins + + + + amplitudefollower + + 1 + + + + + + + attack + Attack time + s + 0 + 1 + s + 0.01 + + + + release + Release time + s + 0 + 1 + s + 0.01 + + + + amplitude + Amplitude + + true + V + 1 + + + + + + + + + + + Simple Percussion Onset Detector + Simple Percussion Onset Detector + Detect percussive note onsets by identifying broadband energy rises + + + Vamp SDK Example Plugins + + + + percussiononsets + + 2 + + + + + + + + threshold + Energy rise threshold + dB + 0 + 20 + dB + 3 + + + + sensitivity + Sensitivity + % + 0 + 100 + % + 40 + + + + onsets + Onsets + Percussive note onset locations + true + + 0 + + + 44100 + + + + + detectionfunction + Detection Function + Broadband energy rise detection function + true + + + 1 + 1 + + + + + + + + + + + Spectral Centroid + Spectral Centroid + Calculate the centroid frequency of the spectrum of the input signal + + + Vamp SDK Example Plugins + + + + spectralcentroid + + 2 + + + + + + logcentroid + Log Frequency Centroid + Centroid of the log weighted frequency spectrum + true + Hz + 1 + + + + + + + + + + + linearcentroid + Linear Frequency Centroid + Centroid of the linear frequency spectrum + true + Hz + 1 + + + + + + + + + + + Zero Crossings + Zero Crossings + Detect and count zero crossing points + + + Vamp SDK Example Plugins + + + + zerocrossing + + 2 + + + + + + counts + Zero Crossing Counts + The number of zero crossing points per processing block + true + crossings + + 1 + 1 + + + + + + + + + + + zerocrossings + Zero Crossings + The locations of zero crossing points + true + + + 1 + 0 + + + 44100 + + + +