Mercurial > hg > vamp-aubio-plugins
changeset 85:49663aa4f127
libmain.cpp: add MelEnergy
author | Paul Brossier <piem@piem.org> |
---|---|
date | Fri, 30 Jan 2015 16:49:38 +0100 |
parents | e6815bf4a826 |
children | ba3ba67c5f94 |
files | libmain.cpp |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libmain.cpp Fri Jan 30 16:49:13 2015 +0100 +++ b/libmain.cpp Fri Jan 30 16:49:38 2015 +0100 @@ -23,6 +23,7 @@ #include "plugins/Tempo.h" #include "plugins/Silence.h" #include "plugins/Mfcc.h" +#include "plugins/MelEnergy.h" static Vamp::PluginAdapter<Onset> onsetAdapter; static Vamp::PluginAdapter<Pitch> pitchAdapter; @@ -30,6 +31,7 @@ static Vamp::PluginAdapter<Tempo> tempoAdapter; static Vamp::PluginAdapter<Silence> silenceAdapter; static Vamp::PluginAdapter<Mfcc> mfccAdapter; +static Vamp::PluginAdapter<MelEnergy> melenergyAdapter; const VampPluginDescriptor *vampGetPluginDescriptor(unsigned int vampApiVersion, unsigned int index) @@ -43,6 +45,7 @@ case 3: return tempoAdapter.getDescriptor(); case 4: return silenceAdapter.getDescriptor(); case 5: return mfccAdapter.getDescriptor(); + case 6: return melenergyAdapter.getDescriptor(); default: return 0; } }