Mercurial > hg > sonic-annotator
diff runner/FeatureWriterFactory.cpp @ 143:ad425b9096bd
Merge from branch 'midi'
author | Chris Cannam |
---|---|
date | Mon, 13 Oct 2014 13:53:09 +0100 |
parents | 2260947be4aa |
children | 3921e0c1f4dd 6ff4da31db8b |
line wrap: on
line diff
--- a/runner/FeatureWriterFactory.cpp Mon Oct 13 11:42:54 2014 +0100 +++ b/runner/FeatureWriterFactory.cpp Mon Oct 13 13:53:09 2014 +0100 @@ -19,6 +19,7 @@ #include "DefaultFeatureWriter.h" #include "rdf/RDFFeatureWriter.h" #include "AudioDBFeatureWriter.h" +#include "MIDIFeatureWriter.h" #include "transform/CSVFeatureWriter.h" set<string> @@ -29,6 +30,7 @@ tags.insert("rdf"); tags.insert("audiodb"); tags.insert("csv"); + tags.insert("midi"); return tags; } @@ -43,6 +45,8 @@ return new AudioDBFeatureWriter(); } else if (tag == "csv") { return new CSVFeatureWriter(); + } else if (tag == "midi") { + return new MIDIFeatureWriter(); } return 0;