ref: 3f697c95841744461cde33f0fd25dbb242cb53f0
parent: 92eea84e9e6136c79d2b73ec9bdbca92ffe44451
author: Paul Brossier <piem@altern.org>
date: Sat Jul 8 13:01:27 EDT 2006
make beattracking always silent make beattracking always silent
--- a/src/beattracking.c
+++ b/src/beattracking.c
@@ -193,8 +193,8 @@
// get float period
myperiod = fvec_getperiod(bt,timesig,rp);
- //AUBIO_DBG("\nrp = %d myperiod = %f\n",rp,myperiod);
- //AUBIO_DBG("accurate tempo is %f bpm\n",5168./myperiod);
+ //AUBIO_DBG("\nrp = %d myperiod = %f\n",rp,myperiod);
+ //AUBIO_DBG("accurate tempo is %f bpm\n",5168./myperiod);
/* activate biased filterbank */
aubio_beattracking_checkstate(bt);
@@ -408,8 +408,8 @@
phwv[j] = EXP(-.5*SQR((smpl_t)(1.+j-step+lastbeat))/(bp/8.));
}
} else {
- AUBIO_DBG("NOT using phase weighting as step is %d and lastbeat %d \n",
- step,lastbeat);
+ //AUBIO_DBG("NOT using phase weighting as step is %d and lastbeat %d \n",
+ // step,lastbeat);
for(j=0;j<2*laglen;j++) {phwv[j] = 1.;}
}
} else {
@@ -423,8 +423,7 @@
/* if tempo is > 206 bpm, half it */
while (bp < 25) {
- //while (bp < fact/206.) {
- AUBIO_DBG("warning, doubling the beat period from %d\n", bp);
+ //AUBIO_DBG("warning, doubling the beat period from %d\n", bp);
//AUBIO_DBG("warning, halving the tempo from %f\n", 60.*samplerate/hopsize/bp);
bp = bp*2;
}