Mercurial > hg > vamp-aubio-plugins
comparison plugins/Types.cpp @ 145:4e37f52e78df
plugins/Onset.cpp: add default mode
author | Paul Brossier <piem@piem.org> |
---|---|
date | Fri, 22 Jul 2016 15:41:19 +0200 |
parents | f80b207ccd15 |
children |
comparison
equal
deleted
inserted
replaced
144:5ca1c610ca41 | 145:4e37f52e78df |
---|---|
27 | 27 |
28 const char *getAubioNameForOnsetType(OnsetType t) | 28 const char *getAubioNameForOnsetType(OnsetType t) |
29 { | 29 { |
30 // In the same order as the enum elements in the header | 30 // In the same order as the enum elements in the header |
31 static const char *const names[] = { | 31 static const char *const names[] = { |
32 "energy", "specdiff", "hfc", "complex", "phase", "kl", "mkl", "specflux" | 32 "energy", "specdiff", "hfc", "complex", "phase", "kl", "mkl", "specflux", "default" |
33 }; | 33 }; |
34 return names[(int)t]; | 34 return names[(int)t]; |
35 } | 35 } |
36 | 36 |
37 const char *getAubioNameForSpecDescType(SpecDescType t) | 37 const char *getAubioNameForSpecDescType(SpecDescType t) |