Mercurial > hg > sonic-annotator
diff runner/FeatureWriterFactory.cpp @ 200:f35bbb3e4d41 sonic-annotator-1.2
Change of tack: rename the JSON writer to JAMS. It's simpler than having a JSON writer with a mandatory flag to tell it what sort of JSON to write.
author | Chris Cannam |
---|---|
date | Tue, 01 Sep 2015 17:51:03 +0100 |
parents | 4b19d824a213 |
children | f4315a0ade89 |
line wrap: on
line diff
--- a/runner/FeatureWriterFactory.cpp Tue Sep 01 17:29:20 2015 +0100 +++ b/runner/FeatureWriterFactory.cpp Tue Sep 01 17:51:03 2015 +0100 @@ -36,7 +36,7 @@ tags.insert("csv"); tags.insert("lab"); tags.insert("midi"); - tags.insert("json"); + tags.insert("jams"); return tags; } @@ -55,7 +55,7 @@ return new LabFeatureWriter(); } else if (tag == "midi") { return new MIDIFeatureWriter(); - } else if (tag == "json") { + } else if (tag == "jams") { return new JAMSFeatureWriter(); }