annotate plugins/Types.h @ 95:46e40a39dcf2
Makefile.inc: remove ARCHFLAGS from LDFLAGS
author |
Paul Brossier <piem@piem.org> |
date |
Sat, 31 Jan 2015 13:14:26 +0100 |
parents |
e9eb5753796b |
children |
f80b207ccd15 |
rev |
line source |
cannam@30
|
1 /* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */
|
cannam@30
|
2
|
cannam@30
|
3 /*
|
cannam@30
|
4 Vamp feature extraction plugins using Paul Brossier's Aubio library.
|
cannam@30
|
5
|
cannam@30
|
6 Centre for Digital Music, Queen Mary, University of London.
|
cannam@30
|
7 This file copyright 2012 Queen Mary, University of London.
|
cannam@30
|
8
|
cannam@30
|
9 This program is free software; you can redistribute it and/or
|
cannam@30
|
10 modify it under the terms of the GNU General Public License as
|
cannam@30
|
11 published by the Free Software Foundation; either version 2 of the
|
cannam@30
|
12 License, or (at your option) any later version. See the file
|
cannam@30
|
13 COPYING included with this distribution for more information.
|
cannam@30
|
14
|
cannam@30
|
15 */
|
cannam@30
|
16
|
cannam@30
|
17 #ifndef _ONSET_TYPE_H_
|
cannam@30
|
18 #define _ONSET_TYPE_H_
|
cannam@30
|
19
|
cannam@30
|
20 // Note: the enum values in this header are ordered to match the Vamp
|
cannam@30
|
21 // plugin parameter values in earlier versions of this plugin set, to
|
cannam@30
|
22 // avoid breaking stored parameter settings that use the parameter's
|
cannam@30
|
23 // numerical value. Any additional values must be added after all
|
cannam@30
|
24 // existing ones.
|
cannam@30
|
25
|
cannam@30
|
26 enum OnsetType {
|
cannam@30
|
27 OnsetEnergy,
|
cannam@30
|
28 OnsetSpecDiff,
|
cannam@30
|
29 OnsetHFC,
|
cannam@30
|
30 OnsetComplex,
|
cannam@30
|
31 OnsetPhase,
|
cannam@30
|
32 OnsetKL,
|
cannam@30
|
33 OnsetMKL,
|
cannam@30
|
34 OnsetSpecFlux // new in 0.4!
|
cannam@30
|
35 };
|
cannam@30
|
36
|
cannam@30
|
37 extern const char *getAubioNameForOnsetType(OnsetType t);
|
cannam@30
|
38
|
piem@89
|
39 enum SpecDescType {
|
piem@89
|
40 SpecDescFlux,
|
piem@89
|
41 SpecDescCentroid,
|
piem@89
|
42 SpecDescSpread,
|
piem@89
|
43 SpecDescSkeweness,
|
piem@89
|
44 SpecDescKurtosis,
|
piem@89
|
45 SpecDescSlope,
|
piem@89
|
46 SpecDescDecrease,
|
piem@89
|
47 SpecDescRolloff
|
piem@89
|
48 };
|
piem@89
|
49
|
piem@89
|
50 extern const char *getAubioNameForSpecDescType(SpecDescType t);
|
piem@89
|
51
|
cannam@30
|
52 enum PitchType {
|
cannam@30
|
53 PitchYin,
|
cannam@30
|
54 PitchMComb,
|
cannam@30
|
55 PitchSchmitt,
|
cannam@30
|
56 PitchFComb,
|
cannam@30
|
57 PitchYinFFT
|
cannam@30
|
58 };
|
cannam@30
|
59
|
cannam@30
|
60 extern const char *getAubioNameForPitchType(PitchType t);
|
cannam@30
|
61
|
cannam@30
|
62
|
cannam@30
|
63 #endif
|
cannam@30
|
64
|
cannam@30
|
65
|