# HG changeset patch # User cannam # Date 1228494358 0 # Node ID de3e865f92c879fb8b247ab97e15f789a324170a # Parent 9dc3a5e17600052d3e5e7c55e90b24b50727ce70 * Add transform summary type; use long quotes for descriptions; turn off debug diff -r 9dc3a5e17600 -r de3e865f92c8 rdf/generator/vamp-rdf-template-generator.cpp --- 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"; diff -r 9dc3a5e17600 -r de3e865f92c8 rdf/vamp.n3 --- 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 diff -r 9dc3a5e17600 -r de3e865f92c8 src/vamp-hostsdk/PluginSummarisingAdapter.cpp --- 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 #include -#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)