Mercurial > hg > vamp-plugin-sdk
diff examples/FixedTempoEstimator.cpp @ 216:991d2ae87980
* doc update
author | cannam |
---|---|
date | Tue, 28 Oct 2008 14:02:41 +0000 |
parents | a5a54b60e82e |
children |
line wrap: on
line diff
--- a/examples/FixedTempoEstimator.cpp Fri Oct 24 16:10:43 2008 +0000 +++ b/examples/FixedTempoEstimator.cpp Tue Oct 28 14:02:41 2008 +0000 @@ -458,6 +458,10 @@ float t0 = 50.f; // our minimum detected tempo (could be a parameter) float t1 = 190.f; // our maximum detected tempo + //!!! need some way for the host (or at least, the user) to know + //!!! that it should only pass a certain amount of + //!!! input... e.g. by making the amount configurable + int p0 = tempo2lag(t1); int p1 = tempo2lag(t0);