Mercurial > hg > vamp-plugin-sdk
view examples/vamp-example-plugins.rdf @ 217:f9b4f60280db
* improve usage printout & command line parsing a bit
author | cannam |
---|---|
date | Wed, 29 Oct 2008 15:03:32 +0000 |
parents | 7c08ba8083b2 |
children |
line wrap: on
line source
<?xml version="1.0" encoding="utf-8"?> <rdf:RDF xmlns:af="http://purl.org/ontology/af/" xmlns:cc="http://web.resource.org/cc/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:foaf="http://xmlns.com/foaf/0.1/" xmlns:owl="http://www.w3.org/2002/07/owl#" xmlns:plugbase="http://vamp-plugins.org/rdf/plugins/vamp-example-plugins#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xmlns:vamp="http://purl.org/ontology/vamp/" xmlns:xsd="http://www.w3.org/2001/XMLSchema#" xml:base="http://vamp-plugins.org/rdf/plugins/vamp-example-plugins#"> <vamp:PluginDescription rdf:about=""> <foaf:maker rdf:resource="x"/> <foaf:maker rdf:resource="http://www.vamp-plugins.org/doap.rdf#template-generator"/> <foaf:primaryTopic rdf:resource=""/> </vamp:PluginDescription> <vamp:PluginLibrary rdf:about="#vamp-example-plugins"> <vamp:identifier>vamp-example-plugins</vamp:identifier> <vamp:available_plugin rdf:resource="#amplitudefollower"/> <vamp:available_plugin rdf:resource="#percussiononsets"/> <vamp:available_plugin rdf:resource="#spectralcentroid"/> <vamp:available_plugin rdf:resource="#zerocrossing"/> </vamp:PluginLibrary> <vamp:Plugin rdf:about="#amplitudefollower"> <dc:title>Amplitude Follower</dc:title> <vamp:name>Amplitude Follower</vamp:name> <dc:description>Track the amplitude of the audio signal</dc:description> <foaf:maker> <rdf:Description> <foaf:name>Vamp SDK Example Plugins</foaf:name> </rdf:Description> </foaf:maker> <vamp:identifier>amplitudefollower</vamp:identifier> <vamp:vamp_API_version rdf:resource="http://purl.org/ontology/vamp/api_version_1"/> <owl:versionInfo>1</owl:versionInfo> <vamp:input_domain rdf:resource="http://purl.org/ontology/vamp/TimeDomain"/> <vamp:parameter rdf:resource="#amplitudefollower_param_attack"/> <vamp:parameter rdf:resource="#amplitudefollower_param_release"/> <vamp:output rdf:resource="#amplitudefollower_output_amplitude"/> </vamp:Plugin> <vamp:Parameter rdf:about="#amplitudefollower_param_attack"> <vamp:identifier>attack</vamp:identifier> <dc:title>Attack time</dc:title> <dc:format>s</dc:format> <vamp:min_value rdf:datatype="http://www.w3.org/2001/XMLSchema#integer">0</vamp:min_value> <vamp:max_value rdf:datatype="http://www.w3.org/2001/XMLSchema#integer">1</vamp:max_value> <vamp:unit>s</vamp:unit> <vamp:default_value rdf:datatype="http://www.w3.org/2001/XMLSchema#decimal">0.01</vamp:default_value> <vamp:value_names rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#nil"/> </vamp:Parameter> <vamp:Parameter rdf:about="#amplitudefollower_param_release"> <vamp:identifier>release</vamp:identifier> <dc:title>Release time</dc:title> <dc:format>s</dc:format> <vamp:min_value rdf:datatype="http://www.w3.org/2001/XMLSchema#integer">0</vamp:min_value> <vamp:max_value rdf:datatype="http://www.w3.org/2001/XMLSchema#integer">1</vamp:max_value> <vamp:unit>s</vamp:unit> <vamp:default_value rdf:datatype="http://www.w3.org/2001/XMLSchema#decimal">0.01</vamp:default_value> <vamp:value_names rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#nil"/> </vamp:Parameter> <vamp:DenseOutput rdf:about="#amplitudefollower_output_amplitude"> <vamp:identifier>amplitude</vamp:identifier> <dc:title>Amplitude</dc:title> <dc:description></dc:description> <vamp:fixed_bin_count>true</vamp:fixed_bin_count> <vamp:unit>V</vamp:unit> <vamp:bin_count rdf:datatype="http://www.w3.org/2001/XMLSchema#integer">1</vamp:bin_count> <vamp:bin_names> <rdf:Description> <rdf:first></rdf:first> <rdf:rest rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#nil"/> </rdf:Description> </vamp:bin_names> </vamp:DenseOutput> <vamp:Plugin rdf:about="#percussiononsets"> <dc:title>Simple Percussion Onset Detector</dc:title> <vamp:name>Simple Percussion Onset Detector</vamp:name> <dc:description>Detect percussive note onsets by identifying broadband energy rises</dc:description> <foaf:maker> <rdf:Description> <foaf:name>Vamp SDK Example Plugins</foaf:name> </rdf:Description> </foaf:maker> <vamp:identifier>percussiononsets</vamp:identifier> <vamp:vamp_API_version rdf:resource="http://purl.org/ontology/vamp/api_version_1"/> <owl:versionInfo>2</owl:versionInfo> <vamp:input_domain rdf:resource="http://purl.org/ontology/vamp/FrequencyDomain"/> <vamp:parameter rdf:resource="#percussiononsets_param_threshold"/> <vamp:parameter rdf:resource="#percussiononsets_param_sensitivity"/> <vamp:output rdf:resource="#percussiononsets_output_onsets"/> <vamp:output rdf:resource="#percussiononsets_output_detectionfunction"/> </vamp:Plugin> <vamp:Parameter rdf:about="#percussiononsets_param_threshold"> <vamp:identifier>threshold</vamp:identifier> <dc:title>Energy rise threshold</dc:title> <dc:format>dB</dc:format> <vamp:min_value rdf:datatype="http://www.w3.org/2001/XMLSchema#integer">0</vamp:min_value> <vamp:max_value rdf:datatype="http://www.w3.org/2001/XMLSchema#integer">20</vamp:max_value> <vamp:unit>dB</vamp:unit> <vamp:default_value rdf:datatype="http://www.w3.org/2001/XMLSchema#integer">3</vamp:default_value> <vamp:value_names rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#nil"/> </vamp:Parameter> <vamp:Parameter rdf:about="#percussiononsets_param_sensitivity"> <vamp:identifier>sensitivity</vamp:identifier> <dc:title>Sensitivity</dc:title> <dc:format>%</dc:format> <vamp:min_value rdf:datatype="http://www.w3.org/2001/XMLSchema#integer">0</vamp:min_value> <vamp:max_value rdf:datatype="http://www.w3.org/2001/XMLSchema#integer">100</vamp:max_value> <vamp:unit>%</vamp:unit> <vamp:default_value rdf:datatype="http://www.w3.org/2001/XMLSchema#integer">40</vamp:default_value> <vamp:value_names rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#nil"/> </vamp:Parameter> <vamp:SparseOutput rdf:about="#percussiononsets_output_onsets"> <vamp:identifier>onsets</vamp:identifier> <dc:title>Onsets</dc:title> <dc:description>Percussive note onset locations</dc:description> <vamp:fixed_bin_count>true</vamp:fixed_bin_count> <vamp:unit></vamp:unit> <vamp:bin_count rdf:datatype="http://www.w3.org/2001/XMLSchema#integer">0</vamp:bin_count> <vamp:bin_names rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#nil"/> <vamp:sample_type rdf:resource="http://purl.org/ontology/vamp/VariableSampleRate"/> <vamp:sample_rate rdf:datatype="http://www.w3.org/2001/XMLSchema#integer">44100</vamp:sample_rate> </vamp:SparseOutput> <vamp:DenseOutput rdf:about="#percussiononsets_output_detectionfunction"> <vamp:identifier>detectionfunction</vamp:identifier> <dc:title>Detection Function</dc:title> <dc:description>Broadband energy rise detection function</dc:description> <vamp:fixed_bin_count>true</vamp:fixed_bin_count> <vamp:unit></vamp:unit> <rdf:type rdf:resource="http://purl.org/ontology/vamp/QuantizedOutput"/> <vamp:quantize_step rdf:datatype="http://www.w3.org/2001/XMLSchema#integer">1</vamp:quantize_step> <vamp:bin_count rdf:datatype="http://www.w3.org/2001/XMLSchema#integer">1</vamp:bin_count> <vamp:bin_names> <rdf:Description> <rdf:first></rdf:first> <rdf:rest rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#nil"/> </rdf:Description> </vamp:bin_names> </vamp:DenseOutput> <vamp:Plugin rdf:about="#spectralcentroid"> <dc:title>Spectral Centroid</dc:title> <vamp:name>Spectral Centroid</vamp:name> <dc:description>Calculate the centroid frequency of the spectrum of the input signal</dc:description> <foaf:maker> <rdf:Description> <foaf:name>Vamp SDK Example Plugins</foaf:name> </rdf:Description> </foaf:maker> <vamp:identifier>spectralcentroid</vamp:identifier> <vamp:vamp_API_version rdf:resource="http://purl.org/ontology/vamp/api_version_1"/> <owl:versionInfo>2</owl:versionInfo> <vamp:input_domain rdf:resource="http://purl.org/ontology/vamp/FrequencyDomain"/> <vamp:output rdf:resource="#spectralcentroid_output_logcentroid"/> <vamp:output rdf:resource="#spectralcentroid_output_linearcentroid"/> </vamp:Plugin> <vamp:DenseOutput rdf:about="#spectralcentroid_output_logcentroid"> <vamp:identifier>logcentroid</vamp:identifier> <dc:title>Log Frequency Centroid</dc:title> <dc:description>Centroid of the log weighted frequency spectrum</dc:description> <vamp:fixed_bin_count>true</vamp:fixed_bin_count> <vamp:unit>Hz</vamp:unit> <vamp:bin_count rdf:datatype="http://www.w3.org/2001/XMLSchema#integer">1</vamp:bin_count> <vamp:bin_names> <rdf:Description> <rdf:first></rdf:first> <rdf:rest rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#nil"/> </rdf:Description> </vamp:bin_names> </vamp:DenseOutput> <vamp:DenseOutput rdf:about="#spectralcentroid_output_linearcentroid"> <vamp:identifier>linearcentroid</vamp:identifier> <dc:title>Linear Frequency Centroid</dc:title> <dc:description>Centroid of the linear frequency spectrum</dc:description> <vamp:fixed_bin_count>true</vamp:fixed_bin_count> <vamp:unit>Hz</vamp:unit> <vamp:bin_count rdf:datatype="http://www.w3.org/2001/XMLSchema#integer">1</vamp:bin_count> <vamp:bin_names> <rdf:Description> <rdf:first></rdf:first> <rdf:rest rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#nil"/> </rdf:Description> </vamp:bin_names> </vamp:DenseOutput> <vamp:Plugin rdf:about="#zerocrossing"> <dc:title>Zero Crossings</dc:title> <vamp:name>Zero Crossings</vamp:name> <dc:description>Detect and count zero crossing points</dc:description> <foaf:maker> <rdf:Description> <foaf:name>Vamp SDK Example Plugins</foaf:name> </rdf:Description> </foaf:maker> <vamp:identifier>zerocrossing</vamp:identifier> <vamp:vamp_API_version rdf:resource="http://purl.org/ontology/vamp/api_version_1"/> <owl:versionInfo>2</owl:versionInfo> <vamp:input_domain rdf:resource="http://purl.org/ontology/vamp/TimeDomain"/> <vamp:output rdf:resource="#zerocrossing_output_counts"/> <vamp:output rdf:resource="#zerocrossing_output_zerocrossings"/> </vamp:Plugin> <vamp:DenseOutput rdf:about="#zerocrossing_output_counts"> <vamp:identifier>counts</vamp:identifier> <dc:title>Zero Crossing Counts</dc:title> <dc:description>The number of zero crossing points per processing block</dc:description> <vamp:fixed_bin_count>true</vamp:fixed_bin_count> <vamp:unit>crossings</vamp:unit> <rdf:type rdf:resource="http://purl.org/ontology/vamp/QuantizedOutput"/> <vamp:quantize_step rdf:datatype="http://www.w3.org/2001/XMLSchema#integer">1</vamp:quantize_step> <vamp:bin_count rdf:datatype="http://www.w3.org/2001/XMLSchema#integer">1</vamp:bin_count> <vamp:bin_names> <rdf:Description> <rdf:first></rdf:first> <rdf:rest rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#nil"/> </rdf:Description> </vamp:bin_names> </vamp:DenseOutput> <vamp:SparseOutput rdf:about="#zerocrossing_output_zerocrossings"> <vamp:identifier>zerocrossings</vamp:identifier> <dc:title>Zero Crossings</dc:title> <dc:description>The locations of zero crossing points</dc:description> <vamp:fixed_bin_count>true</vamp:fixed_bin_count> <vamp:unit></vamp:unit> <rdf:type rdf:resource="http://purl.org/ontology/vamp/QuantizedOutput"/> <vamp:quantize_step rdf:datatype="http://www.w3.org/2001/XMLSchema#integer">1</vamp:quantize_step> <vamp:bin_count rdf:datatype="http://www.w3.org/2001/XMLSchema#integer">0</vamp:bin_count> <vamp:bin_names rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#nil"/> <vamp:sample_type rdf:resource="http://purl.org/ontology/vamp/VariableSampleRate"/> <vamp:sample_rate rdf:datatype="http://www.w3.org/2001/XMLSchema#integer">44100</vamp:sample_rate> </vamp:SparseOutput> </rdf:RDF>