Forums > MaxMSP

looking for objects for triggering attack

May 4, 2008 | 12:19 pm

hello list,
I have a patch where sound is incoming from a drum picked up by microphones.
So far I have it running through a filtergraph which then plays matching
samples.
To make more subtle differences between incoming strokes, I`d like to max to

determine

the attack or the debounce time, but couldn`t find a good way yet. I tried
this with pd
before using fiddle and bonk(to be honest I gave up using the bonk object).
Not wanting
to set anyone up (me noob) by the generality of this question, but how can I
get some attack
info out of a simple drum beat ? thanks a lot, any help yould be
appreciated.


May 6, 2008 | 10:29 am

henrik wurster schrieb:
> I tried this with pd before using fiddle and bonk(to be honest I gave
> up using the bonk object).

bonk~ does exist for Max/MSP as well, and has some advantages over the
classic methods of envelope following. The simplest way it to use slide~
or rampsmooth~, and look for peaks. If they are above a threshold bang…
bonk~ is adaptive, and can learn and distinguish sounds… (It will
trigger if you play very soft as well…)

Stefan


Stefan Tiedje————x——-
–_____———–|————–
–(_|_ —-|—–|—–()——-
– _|_)—-|—–()————–
———-()——–www.ccmix.com


May 6, 2008 | 12:36 pm

thanks stefan…so does that mean bonk is always in learning mode ??

2008/5/6 Stefan Tiedje :

> henrik wurster schrieb:
>
> > I tried this with pd before using fiddle and bonk(to be honest I gave
> > up using the bonk object).
> >
>
> bonk~ does exist for Max/MSP as well, and has some advantages over the
> classic methods of envelope following. The simplest way it to use slide~ or
> rampsmooth~, and look for peaks. If they are above a threshold bang…
> bonk~ is adaptive, and can learn and distinguish sounds… (It will
> trigger if you play very soft as well…)
>
> Stefan
>
> –
> Stefan Tiedje————x——-
> –_____———–|————–
> –(_|_ —-|—–|—–()——-
> — _|_)—-|—–()————–
> ———-()——–www.ccmix.com
>
>


May 6, 2008 | 2:48 pm

Quote: henrik.wurster wrote on Sun, 04 May 2008 14:19
—————————————————-
> but how can I get some attack
> info out of a simple drum beat ?
—————————————————-

Perhaps [thresh~] can attract you?


May 6, 2008 | 4:57 pm

thanks peter, I also hope that thresh~ could be appropriate. right now I
have subpatch with a filtergraph and I wondered if this could have been the
reason why it crashed (stack overflow). My three piezos need to be limited,
too, I guess, so but it is possible that the filtergraph needs to much
performance for a drum which plays back samples in realtime ? I need to find
out what causes the stack overflow as a hardware/interface problem or a
logical error.thanks!2008/5/6 Peter Ostry

:

>
> Quote: henrik.wurster wrote on Sun, 04 May 2008 14:19
> —————————————————-
> > but how can I get some attack
> > info out of a simple drum beat ?
> —————————————————-
>
> Perhaps [thresh~] can attract you?
>
>
>
> –
> Peter
>
>


May 7, 2008 | 11:31 am

henrik wurster schrieb:
> thanks stefan…so does that mean bonk is always in learning mode ??

I haven’t used bonk~ too much, but as far as I understood, it detects on
spectral change relative to an existing spectrum. Its the spectral
difference which triggers and not the volume…

That applies after learning the spectral envelope of a given instrument…

I might be wrong, anybody who knows better, please correct…

Stefan


Stefan Tiedje————x——-
–_____———–|————–
–(_|_ —-|—–|—–()——-
– _|_)—-|—–()————–
———-()——–www.ccmix.com


May 7, 2008 | 4:07 pm

I am interested in this as well, do you have an example
that uses slide~ or rampsmooth~ that demonstrates this?


May 7, 2008 | 4:12 pm

sorry, me I came from pd first, but I had given it up, now I want it again
:)bonk is harder to regulate than fiddle I think

2008/5/7 Anthony Palomba :

>
> I am interested in this as well, do you have an example
> that uses slide~ or rampsmooth~ that demonstrates this?
>
>


May 8, 2008 | 9:53 am

Anthony Palomba schrieb:
> I am interested in this as well, do you have an example
> that uses slide~ or rampsmooth~ that demonstrates this?

My St.hresh~, here the Max 5 version of it:

– Pasted Max Patch, click to expand. –


Stefan Tiedje————x——-
–_____———–|————–
–(_|_ —-|—–|—–()——-
– _|_)—-|—–()————–
———-()——–www.ccmix.com


May 8, 2008 | 12:09 pm

is there any way to convert the patch for 4.6.3 ?;)

2008/5/8 Stefan Tiedje :

> Anthony Palomba schrieb:
>
>> I am interested in this as well, do you have an example that uses slide~
>> or rampsmooth~ that demonstrates this?
>>
>
> My St.hresh~, here the Max 5 version of it:
>
>

– Pasted Max Patch, click to expand. –

>
>
> –
> Stefan Tiedje————x——-
> –_____———–|————–
> –(_|_ —-|—–|—–()——-
> — _|_)—-|—–()————–
> ———-()——–www.ccmix.com
>
>


May 10, 2008 | 11:07 am

henrik wurster schrieb:
> is there any way to convert the patch for 4.6.3 ?;)

Its part of my St.ools collection, still in 4.6.3 compatible version on
cyclings share page…

Stefan


Stefan Tiedje————x——-
–_____———–|————–
–(_|_ —-|—–|—–()——-
– _|_)—-|—–()————–
———-()——–www.ccmix.com


Viewing 11 posts - 1 through 11 (of 11 total)