Bonk~ learn-mode

Billy's icon

Hi,

I wondered if somebody could help me.
I'm am quiet new to max msp
and i am trying to make a patch which can peak-track a drum realtime.
I use the bonk~ object for this.
The bonk object is quiet helpfull but i have some problems with the learn-mode feature.

This feature would learn the bonk to make a difference between
different percussion instruments by storing templates for each instrument you would use.
But i don't get how to make the object clear when you are learning him a new template and how you could store this template.
Or even just control if it stored the right instrument on the right number.

The cooked data output would give you the number of the instrument and its velocity.
But how can you even say which instrument is on which number?!

Wel anyway..
I don't really get the whole learning-process

Is there somebody who can help me?
please

thx
Billy

Bob Falesch's icon

I don't have much experience with the object, but maybe Miller
Puckette's ICMC paper would help:

40. Puckette, M. and Apel, T. 1998. "Real-time audio analysis tools for
Pd and MSP". Proceedings, International Computer Music Conference. San
Francisco: International Computer Music Association, pp. 109-112.

--raf.

Sebastian Lexer's icon

use the learn function.
learn 10 is setting up bonk to listen always to 10 sounds and create the template. Play the snare ten times, then the ... ten times etc.
learn 0 exits learn mode.

Save enables to save the template.

Billy's icon

Yes i know
thats what is also in the help file.

But how do you know that bonk got the template right?
and how do you know on which number you save which instrument?
where can you see your templates...
thats what i don't get.

There is another thing i didnt tell.
I am making this patch for live use.
but now i am bussy whit testing it whit recordings.
so from my recording i cutted out 4 hit by each instrument.
when i am in the learn mode i just play the 4 samples after each other.

You think this might cause a problem?

thx
Billy