Mercurial > hg > sonic-annotator
annotate runner/FeatureWriterFactory.h @ 208:c17b184c16db
Update JAMS output to JAMS v0.2.0. We now (for the first time?!) write actual JAMS schema-compliant output when possible, though it isn't possible for many types of plugin. The output for all tested combinations of transforms is valid JSON even where it isn't schema-compliant.
author | Chris Cannam |
---|---|
date | Wed, 04 Nov 2015 10:07:29 +0000 |
parents | 92911f967a16 |
children |
rev | line source |
---|---|
Chris@0 | 1 /* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */ |
Chris@0 | 2 |
Chris@0 | 3 /* |
Chris@0 | 4 Sonic Annotator |
Chris@0 | 5 A utility for batch feature extraction from audio files. |
Chris@0 | 6 Mark Levy, Chris Sutton and Chris Cannam, Queen Mary, University of London. |
Chris@0 | 7 Copyright 2007-2008 QMUL. |
Chris@0 | 8 |
Chris@0 | 9 This program is free software; you can redistribute it and/or |
Chris@0 | 10 modify it under the terms of the GNU General Public License as |
Chris@0 | 11 published by the Free Software Foundation; either version 2 of the |
Chris@0 | 12 License, or (at your option) any later version. See the file |
Chris@0 | 13 COPYING included with this distribution for more information. |
Chris@0 | 14 */ |
Chris@0 | 15 |
Chris@0 | 16 |
Chris@0 | 17 #ifndef _FEATURE_WRITER_FACTORY_H_ |
Chris@0 | 18 #define _FEATURE_WRITER_FACTORY_H_ |
Chris@0 | 19 |
Chris@0 | 20 #include <set> |
Chris@0 | 21 #include <string> |
Chris@0 | 22 |
Chris@0 | 23 using std::set; |
Chris@0 | 24 using std::string; |
Chris@0 | 25 |
Chris@0 | 26 class FeatureWriter; |
Chris@0 | 27 |
Chris@0 | 28 class FeatureWriterFactory |
Chris@0 | 29 { |
Chris@0 | 30 public: |
Chris@0 | 31 static set<string> getWriterTags(); |
Chris@0 | 32 static FeatureWriter *createWriter(string tag); |
Chris@0 | 33 }; |
Chris@0 | 34 |
Chris@0 | 35 |
Chris@0 | 36 #endif |