static void
aubioonset_tilde_debug (t_aubioonset_tilde * x)
{
- post (aubioonset_version);
- post ("aubioonset~ method:\t%s", x->method);
- post ("aubioonset~ threshold:\t%f", x->threshold);
- post ("aubioonset~ bufsize:\t%d", x->bufsize);
- post ("aubioonset~ hopsize:\t%d", x->hopsize);
+ post ("%s method: %s threshold: %.3f bufsize: %d hopsize: %d",
+ aubioonset_version, x->method, x->threshold, x->bufsize, x->hopsize);
}
static void *
if (x->threshold != -1) {
aubio_onset_set_threshold(x->o, x->threshold);
}
+ x->threshold = aubio_onset_get_threshold(x->o);
x->in = (fvec_t *) new_fvec (x->hopsize);
x->out = (fvec_t *) new_fvec (1);