comparison transform/CSVFeatureWriter.cpp @ 998:e25dc8d57565

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 2104ea2204d2
children ec6e69373997
comparison
equal deleted inserted replaced
997:2104ea2204d2 998:e25dc8d57565
37 { 37 {
38 } 38 }
39 39
40 CSVFeatureWriter::~CSVFeatureWriter() 40 CSVFeatureWriter::~CSVFeatureWriter()
41 { 41 {
42 }
43
44 string
45 CSVFeatureWriter::getDescription() const
46 {
47 return "Write features in comma-separated (CSV) format. If transforms are being written to a single file or to stdout, the first column in the output will contain the input audio filename, or an empty string if the feature hails from the same audio file as its predecessor. If transforms are being written to multiple files, the audio filename column will be omitted. Subsequent columns will contain the feature timestamp, then any or all of duration, values, and label.";
42 } 48 }
43 49
44 CSVFeatureWriter::ParameterList 50 CSVFeatureWriter::ParameterList
45 CSVFeatureWriter::getSupportedParameters() const 51 CSVFeatureWriter::getSupportedParameters() const
46 { 52 {