m_ibuf(0),
m_onset(0),
m_onsetdet(0),
- m_onsettype(OnsetComplex),
+ m_onsettype(OnsetDefault),
m_threshold(0.3),
m_silence(-70),
m_minioi(4)
desc.description = "Type of onset detection function to use";
desc.minValue = 0;
desc.maxValue = 7;
- desc.defaultValue = (int)OnsetComplex;
+ desc.defaultValue = (int)OnsetDefault;
desc.isQuantized = true;
desc.quantizeStep = 1;
desc.valueNames.push_back("Energy Based");
desc.valueNames.push_back("Kullback-Liebler");
desc.valueNames.push_back("Modified Kullback-Liebler");
desc.valueNames.push_back("Spectral Flux");
+ desc.valueNames.push_back("Default");
list.push_back(desc);
desc = ParameterDescriptor();
{
// In the same order as the enum elements in the header
static const char *const names[] = {
- "energy", "specdiff", "hfc", "complex", "phase", "kl", "mkl", "specflux"
+ "energy", "specdiff", "hfc", "complex", "phase", "kl", "mkl", "specflux", "default"
};
return names[(int)t];
}
Centre for Digital Music, Queen Mary, University of London.
This file copyright 2012 Queen Mary, University of London.
-
+
This file is part of vamp-aubio-plugins.
vamp-aubio is free software: you can redistribute it and/or modify
OnsetPhase,
OnsetKL,
OnsetMKL,
- OnsetSpecFlux // new in 0.4!
+ OnsetSpecFlux, // new in 0.4!
+ OnsetDefault // new in 0.5
};
extern const char *getAubioNameForOnsetType(OnsetType t);
};
extern const char *getAubioNameForPitchType(PitchType t);
-
#endif
-