Mercurial > hg > sonic-annotator
comparison runner/DefaultFeatureWriter.cpp @ 144:b3d73c08b6ce
Add descriptions for writers; add housekeeping options to Sonic Annotator to list writers and formats
author | Chris Cannam |
---|---|
date | Mon, 13 Oct 2014 14:44:51 +0100 |
parents | ee56e3e9eeb5 |
children | d5caf5e91a86 0a56cf975768 |
comparison
equal
deleted
inserted
replaced
143:ad425b9096bd | 144:b3d73c08b6ce |
---|---|
17 #include <map> | 17 #include <map> |
18 | 18 |
19 using namespace std; | 19 using namespace std; |
20 | 20 |
21 #include "DefaultFeatureWriter.h" | 21 #include "DefaultFeatureWriter.h" |
22 | |
23 string | |
24 DefaultFeatureWriter::getDescription() const | |
25 { | |
26 return "Write features in a generic XML format, with <feature> or <summary> elements containing output name and some or all of timestamp, duration, values, and label."; | |
27 } | |
22 | 28 |
23 void DefaultFeatureWriter::write(QString, | 29 void DefaultFeatureWriter::write(QString, |
24 const Transform &, | 30 const Transform &, |
25 const Vamp::Plugin::OutputDescriptor& output, | 31 const Vamp::Plugin::OutputDescriptor& output, |
26 const Vamp::Plugin::FeatureList& featureList, | 32 const Vamp::Plugin::FeatureList& featureList, |