Mercurial > hg > vamp-simple-cepstrum
diff SimpleCepstrum.h @ 3:a6f9ece68482
Add choice of cepstrum transform method
author | Chris Cannam |
---|---|
date | Fri, 22 Jun 2012 23:01:00 +0100 |
parents | e6faf01e25d8 |
children | 3467d995ea2b |
line wrap: on
line diff
--- a/SimpleCepstrum.h Fri Jun 22 17:50:03 2012 +0100 +++ b/SimpleCepstrum.h Fri Jun 22 23:01:00 2012 +0100 @@ -50,6 +50,15 @@ float m_fmax; bool m_clamp; + enum Method { + InverseSymmetric, + InverseAsymmetric, + ForwardMagnitude, + ForwardDifference + }; + + Method m_method; + // mutable int m_f0Output; mutable int m_rawOutput; mutable int m_varOutput;