changeset 584:bf1f6d68a142

* Add computed_by property for signal features
author Chris Cannam
date Fri, 08 May 2009 09:48:07 +0000
parents ecbd99d5d2c4
children cbc884787a08
files rdf/RDFFeatureWriter.cpp
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/rdf/RDFFeatureWriter.cpp	Mon Mar 30 13:47:00 2009 +0000
+++ b/rdf/RDFFeatureWriter.cpp	Fri May 08 09:48:07 2009 +0000
@@ -635,6 +635,10 @@
 
         stream << "\n    ] ;\n";
 
+        if (transform.getIdentifier() != "") {
+            stream << "    vamp:computed_by " << m_transformURIs[transform] << " ;\n";
+        }
+
         if (od.hasFixedBinCount) {
             // We only know the height, so write the width as zero
             stream << "    af:dimensions \"" << od.binCount << " 0\" ;\n";