diff rdf/RDFFeatureWriter.cpp @ 584:bf1f6d68a142

* Add computed_by property for signal features
author Chris Cannam
date Fri, 08 May 2009 09:48:07 +0000
parents b3a87e81c761
children cbc884787a08
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";