Mercurial > hg > sonic-annotator
comparison runner/DefaultFeatureWriter.h @ 1:92911f967a16
* some reorganisation
author | Chris Cannam |
---|---|
date | Thu, 11 Dec 2008 10:26:12 +0000 |
parents | DefaultFeatureWriter.h@581b1b150a4d |
children | 18c42fbc1335 |
comparison
equal
deleted
inserted
replaced
0:581b1b150a4d | 1:92911f967a16 |
---|---|
1 /* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */ | |
2 | |
3 /* | |
4 Sonic Annotator | |
5 A utility for batch feature extraction from audio files. | |
6 Mark Levy, Chris Sutton and Chris Cannam, Queen Mary, University of London. | |
7 Copyright 2007-2008 QMUL. | |
8 | |
9 This program is free software; you can redistribute it and/or | |
10 modify it under the terms of the GNU General Public License as | |
11 published by the Free Software Foundation; either version 2 of the | |
12 License, or (at your option) any later version. See the file | |
13 COPYING included with this distribution for more information. | |
14 */ | |
15 | |
16 #ifndef _DEFAULT_FEATURE_WRITER_H_ | |
17 #define _DEFAULT_FEATURE_WRITER_H_ | |
18 | |
19 | |
20 #include "transform/FeatureWriter.h" | |
21 | |
22 class DefaultFeatureWriter : public FeatureWriter | |
23 { | |
24 public: | |
25 virtual ~DefaultFeatureWriter() { } | |
26 virtual void write(QString trackid, | |
27 const Transform &transform, | |
28 const Vamp::Plugin::OutputDescriptor &output, | |
29 const Vamp::Plugin::FeatureList &features, | |
30 std::string summaryType = ""); | |
31 virtual void finish() { } | |
32 }; | |
33 | |
34 #endif |