comparison 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
comparison
equal deleted inserted replaced
583:ecbd99d5d2c4 584:bf1f6d68a142
633 stream << "\n tl:duration \"" << duration << "\"^^xsd:int ;"; 633 stream << "\n tl:duration \"" << duration << "\"^^xsd:int ;";
634 } 634 }
635 635
636 stream << "\n ] ;\n"; 636 stream << "\n ] ;\n";
637 637
638 if (transform.getIdentifier() != "") {
639 stream << " vamp:computed_by " << m_transformURIs[transform] << " ;\n";
640 }
641
638 if (od.hasFixedBinCount) { 642 if (od.hasFixedBinCount) {
639 // We only know the height, so write the width as zero 643 // We only know the height, so write the width as zero
640 stream << " af:dimensions \"" << od.binCount << " 0\" ;\n"; 644 stream << " af:dimensions \"" << od.binCount << " 0\" ;\n";
641 } 645 }
642 646