Mercurial > hg > sonic-annotator
diff 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 |
line wrap: on
line diff
--- a/runner/DefaultFeatureWriter.cpp Mon Oct 13 13:53:09 2014 +0100 +++ b/runner/DefaultFeatureWriter.cpp Mon Oct 13 14:44:51 2014 +0100 @@ -20,6 +20,12 @@ #include "DefaultFeatureWriter.h" +string +DefaultFeatureWriter::getDescription() const +{ + 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."; +} + void DefaultFeatureWriter::write(QString, const Transform &, const Vamp::Plugin::OutputDescriptor& output,