Mercurial > audlegacy-plugins
changeset 167:c9d736cdc93f trunk
[svn] - slightly adjust the variance threshold for beat detection
author | nenolod |
---|---|
date | Tue, 31 Oct 2006 22:20:56 -0800 |
parents | a118245b88c7 |
children | e094aa00fdee |
files | ChangeLog src/paranormal/containers.c |
diffstat | 2 files changed, 9 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Tue Oct 31 22:09:04 2006 -0800 +++ b/ChangeLog Tue Oct 31 22:20:56 2006 -0800 @@ -1,3 +1,11 @@ +2006-11-01 06:09:04 +0000 William Pitcock <nenolod@nenolod.net> + revision [332] + - use a quantized variance instead of a fast fft sum for beat detection with thresholding + + trunk/src/paranormal/containers.c | 17 +++++++++++------ + 1 file changed, 11 insertions(+), 6 deletions(-) + + 2006-11-01 05:33:37 +0000 William Pitcock <nenolod@nenolod.net> revision [330] - update this preset for the new version of the branching container.
--- a/src/paranormal/containers.c Tue Oct 31 22:09:04 2006 -0800 +++ b/src/paranormal/containers.c Tue Oct 31 22:20:56 2006 -0800 @@ -184,7 +184,7 @@ * if the energy's quantization is within this, trigger as a detected * beat. */ - int new_beat = (fftsum >= 350 && fftsum <= 600) ? 1 : 0; + int new_beat = (fftsum >= 300 && fftsum <= 600) ? 1 : 0; /* * Change branch if all of the requirements are met for the branch to change.