hello gang,
I have a project with pd using piezo sensors attached to my bongos underneath the skins. they actually work not too bad as microphones, but what I want to do is trigger the strokes being played on the bongos. in the end I want to trigger matching samples which I recorded previously. in my research how to detect small percussion instruments, I stumbled upon the bonk object, but don`t know how to work with it, because I am really new to pd...:) I dont expect any patching, but can anybody help me to give me an idea how I could start buiding the patch ? I thought about loading the samples into an array, but does bonk work at all checking sounds with recorded samples ? thanks for any piece of advice
best regards,
Le mardi 26 juin 2007 à 13:35 +0200, henrik wurster a écrit :
hello gang,
Hi Henrik!
I have a project with pd using piezo sensors attached to my bongos underneath the skins. they actually work not too bad as microphones, but what I want to do is trigger the strokes being played on the bongos. in the end I want to trigger matching samples which I recorded previously. in my research how to detect small percussion instruments, I stumbled upon the bonk object, but don`t know how to work with it, because I am really new to pd...:)
I recently had to develop something similar, a darbuka player triggering video samples, launching effects and so on.
Technically, we pasted a very basic Yamaha DT20 piezo microphone (24€) to the socket of the darbouka, not to the skin because of tone alteration. We sticked the pieoz to the faience way of "Patafix", french name for UHU Tac in Germany/Schweiz, (double sided tape doenst work since most percussive instruments are round ;-). The Yamaha is ok , it's cheaper and not so hard to DIY but i'm no soldering iron maestro.
I made a patch that detects odd/even beats (very basic, [alternate] ) , silences and pitch using the Aubio library by piem. Why not bonk~? it reminds me too much of the old Max/M$P days...
Basically, onsets trigger a pulsating video effect, whose value increases across time and the player's loudness (using aubioonset~ and a settable threshold value for better live feeling) onsets also triggers pitch detection: when this value is located within various intervals, it modifies the video sequence being played (kidn of sampler). I use chained [moses] objects for that purpose. i also track gain after a [env~] and [oneshot] object cleared by the "odd beat" onset detection to track "silence" and have the video faint away
I dont expect any patching, but can anybody help me to give me an idea how I could start buiding the patch ? I thought about loading the samples into an array, but does bonk work at all checking sounds with recorded samples ? thanks for any piece of advice
Actually, you've got two sub-programs: a first one that detect pitch/onset , then the audio sample player, + some glue around it.
bonk~/fiddle~ only fits in the first.
++
OH
best regards,
- henrik
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
[bonk~] may not be the ideal unit for the job, though I am sure it will work, it might be a bit elaborate to set up if you are new to it.
I made something similar once, I'm guessing the piezos are those very thin kind, silver solder on one side and usually fixed with a blob of epoxy, as you get in musical greetings cards (?).
They are basically mid/high frequency transducers, with a peak somewhere about 5kHz. I seem to remember that on a drum skin they gave a very bouncy signal and to get them to work I had to put a RC passive lowpass in there to settle them down a bit and avoid multiple triggers.
[bonk~] is quite a sophisticated object that matches brief signal patterns. You train it with a stack of examples to match and it does its best to identify occurances of the same pattern in the input stream.
For a bongo trigger I suppose you really just want a single trigger. Something as simple as
[lop~ 400] | [threshold~ x]
might be all you need. Place 3 of them at 120 degrees around the skin and you can work out where on the skin the impact occured...a la Korg Wavedrum or Roland DP(?).
On Tue, 26 Jun 2007 13:35:13 +0200 "henrik wurster" henrik.wurster@gmail.com wrote:
hello gang,
I have a project with pd using piezo sensors attached to my bongos underneath the skins. they actually work not too bad as microphones, but what I want to do is trigger the strokes being played on the bongos. in the end I want to trigger matching samples which I recorded previously. in my research how to detect small percussion instruments, I stumbled upon the bonk object, but don`t know how to work with it, because I am really new to pd...:) I dont expect any patching, but can anybody help me to give me an idea how I could start buiding the patch ? I thought about loading the samples into an array, but does bonk work at all checking sounds with recorded samples ? thanks for any piece of advice
best regards,
- henrik
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
On Tue, 26 Jun 2007 13:35:13 +0200 "henrik wurster" henrik.wurster@gmail.com wrote:
Sorry to miss this essential bit Henrik,
Yes, that's exactly what [bonk~] does. First play them (training) from the table using a [tabread~] sample player into [bonk~]. Then apply your live signals. However I am a bit confused about what your input signal actually is now.
Can you please clarify what signals are at each step by explaining the operation you desire. Hitting the bongo/piezo will give you a short impulse with ringing (resonance) at the drum frequency.
What does this have to do with recognising the samples?
It seems you want to map drum hits on to one or more bang messages to trigger one shot sample replays, perhaps using impact intensity (velocity) or pulses from more than one piezo trigger to make the selection.
Is that correct?
I thought about loading the samples into an array, but does bonk work at all checking sounds with recorded samples ? thanks for any piece of advice
Hi, i have a little simple video on setting up bonk: http://it.youtube.com/watch?v=ovcIdHRn3TU
you can download that patch from my site http://jkant.altervista.org/
bonk is really funny and should work very well for your purpose... anyway, keep in mind to have some differences in your sounds to separate triggers...
hope this help
jk
--- henrik wurster henrik.wurster@gmail.com ha scritto:
hello gang,
I have a project with pd using piezo sensors attached to my bongos underneath the skins. they actually work not too bad as microphones, but what I want to do is trigger the strokes being played on the bongos. in the end I want to trigger matching samples which I recorded previously. in my research how to detect small percussion instruments, I stumbled upon the bonk object, but don`t know how to work with it, because I am really new to pd...:) I dont expect any patching, but can anybody help me to give me an idea how I could start buiding the patch ? I thought about loading the samples into an array, but does bonk work at all checking sounds with recorded samples ? thanks for any piece of advice
best regards,
- henrik
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
___________________________________ L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail: http://it.docs.yahoo.com/nowyoucan.html