Mercurial > hg > qm-vamp-plugins
diff plugins/OnsetDetect.h @ 29:56fe3bd9de6e
* Add programs to onset detector. Not quite sure about this.
author | Chris Cannam <c.cannam@qmul.ac.uk> |
---|---|
date | Fri, 01 Jun 2007 15:07:55 +0000 |
parents | 3256bfa04ed8 |
children | ff5a09e45209 |
line wrap: on
line diff
--- a/plugins/OnsetDetect.h Wed May 23 15:21:53 2007 +0000 +++ b/plugins/OnsetDetect.h Fri Jun 01 15:07:55 2007 +0000 @@ -36,6 +36,10 @@ float getParameter(std::string) const; void setParameter(std::string, float); + ProgramList getPrograms() const; + std::string getCurrentProgram() const; + void selectProgram(std::string program); + size_t getPreferredStepSize() const; size_t getPreferredBlockSize() const; @@ -50,6 +54,7 @@ OnsetDetectorData *m_d; int m_dfType; float m_sensitivity; + std::string m_program; static float m_stepSecs; };