Mercurial > hg > vamp-plugin-sdk
changeset 273:de3e865f92c8 vamp-plugin-sdk-v2.0
* Add transform summary type; use long quotes for descriptions; turn off debug
author | cannam |
---|---|
date | Fri, 05 Dec 2008 16:25:58 +0000 |
parents | 9dc3a5e17600 |
children | 33feff966de3 |
files | rdf/generator/vamp-rdf-template-generator.cpp rdf/vamp.n3 src/vamp-hostsdk/PluginSummarisingAdapter.cpp |
diffstat | 3 files changed, 15 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/rdf/generator/vamp-rdf-template-generator.cpp Sat Nov 29 12:06:14 2008 +0000 +++ b/rdf/generator/vamp-rdf-template-generator.cpp Fri Dec 05 16:25:58 2008 +0000 @@ -224,7 +224,7 @@ "plugbase:"+plugin->getIdentifier()+"_output_"+o.identifier+" a vamp:SparseOutput ;\n\ vamp:identifier \""+o.identifier+"\" ;\n\ dc:title \""+o.name+"\" ;\n\ - dc:description \""+o.description+"\" ;\n\ + dc:description \"\"\""+o.description+"\"\"\" ;\n\ vamp:fixed_bin_count \""+(o.hasFixedBinCount == 1 ? "true" : "false")+"\" ;\n\ vamp:unit \""+(o.unit)+"\" ;\n"; @@ -283,7 +283,7 @@ "plugbase:"+plugin->getIdentifier()+"_output_"+o.identifier+" a vamp:DenseOutput ;\n\ vamp:identifier \""+o.identifier+"\" ;\n\ dc:title \""+o.name+"\" ;\n\ - dc:description \""+o.description+"\" ;\n\ + dc:description \"\"\""+o.description+"\"\"\" ;\n\ vamp:fixed_bin_count \""+(o.hasFixedBinCount == 1 ? "true" : "false")+"\" ;\n\ vamp:unit \""+(o.unit)+"\" ;\n";
--- a/rdf/vamp.n3 Sat Nov 29 12:06:14 2008 +0000 +++ b/rdf/vamp.n3 Fri Dec 05 16:25:58 2008 +0000 @@ -708,6 +708,18 @@ """; rdfs:domain vamp:Transform; . + +vamp:summary_type + a rdf:Property; + a owl:DatatypeProperty; + a owl:FunctionalProperty; + rdfs:label "summary type"; + vs:term_status "unstable"; + rdfs:comment """ + Specifies a summary type to be used (for averaging etc) on transform results. + """; + rdfs:domain vamp:Transform; + . ##### Parameter properties
--- a/src/vamp-hostsdk/PluginSummarisingAdapter.cpp Sat Nov 29 12:06:14 2008 +0000 +++ b/src/vamp-hostsdk/PluginSummarisingAdapter.cpp Fri Dec 05 16:25:58 2008 +0000 @@ -41,7 +41,7 @@ #include <cmath> #include <climits> -#define DEBUG_PLUGIN_SUMMARISING_ADAPTER 1 +//#define DEBUG_PLUGIN_SUMMARISING_ADAPTER 1 //#define DEBUG_PLUGIN_SUMMARISING_ADAPTER_SEGMENT 1 _VAMP_SDK_HOSTSPACE_BEGIN(PluginSummarisingAdapter.cpp)