[notein] trouble…please help!!

Jun 10, 2011 at 1:41pm

[notein] trouble…please help!!

Hi, advanced patchers

It’s been already few hours that I searched everywhere, and with my great surprise and disappointment, I believe that Max [notein] object doesn’t take pitch as argument. unlike [ctlin] takes control number as argument.

How is it possible? As I’ve understood, Max users use everything to control everything? And now I attempt to use my midi keyboard to trigger 14 different effects, and it is NOT possible, because [notein] will take every key pressed to trigger.

I’ve tried a work around but it’s not easy. I use [sel] and [gate] but when I press a key, then press another key to trigger another effect, it would close the previous gate so it won’t get note off message…please have a look at my patch to understand better what I mean.

– Pasted Max Patch, click to expand. –

Is there any external or effective workaround so that [notein] would get f***king pitch as arg? [notein 48] why not? It drives me mad to spend hours on such an obvious thing…

‘sorry to be agressive…but I’m getting mad here, PLEASE HELP ME.

Thank you very much…I want to cry now…

#57553
Jun 10, 2011 at 2:07pm

i am sorry but right now i can not check your patch…

but if i understood well the only thing you need is to pass the note of the midinote object from a stripnote(so note offs they can t pass) and after that you pass the “stripped” note from a select object where you trigger a different output from each note…(for example 48 triggers output 1, 49 triggers output 2 etc)
so in every different bang you correspond and a different effect..

i am sorry again if i am out of the topic because i have not look your patch..

#206205
Jun 10, 2011 at 2:22pm

thanks for your reply tada!

unfortunately, I’ve already tried with stripnote.
the problem is that I need the note off message as well.
my idea is the effect will trigger as long as I press the key and the effects goes back to silent when I release the key…

with stripnote, I can trigger, but I can’t set it back to non-effect state…

#206206
Jun 10, 2011 at 2:37pm

Save this patch (abstraction) under some name, eg. ‘noteinx’.
Make sure it’s stored somewhere in the Max search path.
Then you can use it with a pitch argument for matching, eg. [noteinx 48].

– Pasted Max Patch, click to expand. –
#206207
Jun 10, 2011 at 4:07pm

Hello,

a way ?

– Pasted Max Patch, click to expand. –

it seems not very efficient but ;-)

#206208
Jun 10, 2011 at 4:15pm

and as an abstraction …

– Pasted Max Patch, click to expand. –

anybody better ?

#206209
Jun 10, 2011 at 5:34pm

You essentially want to latch the velocity for each note:

– Pasted Max Patch, click to expand. –
#206210
Jun 10, 2011 at 6:10pm

thanks for all the replies!

@broc: thanks a lot but your patch seems to not work at all for my purpose. Maybe we misunderstand each other here…?

@vanille: thanks a lot. but I seriously don’t understand your patch…’sorry…I’m not very experienced in MAX. I don’t know how it works…

@Chris: you’re GOD. your patch is PERFECT for my purpose!!! how stupid I was to spend whole afternoon before posting a question here…you save my day!!(or even a week!)

so, god bless all the people who helped me. I feel so greatful about you guys’ helps. thank you very much.

jae ho

#206211
Jun 13, 2011 at 1:09pm

I would do it like that:

– Pasted Max Patch, click to expand. –

Why simple if you can have it complicated…;-)

#206212
Jun 13, 2011 at 5:03pm

And, for completeness’ sake, here’s Stefan’s approach with the floating point “velocity” implemented:

– Pasted Max Patch, click to expand. –
#206213
Jun 14, 2011 at 6:24am

Hello Masters! Please help me understand this patch. I would like to use midi notes and a gate to trigger some patch effects on an audio signal. (i.e. C2 would trigger reverb, D2 another type of reverb etc.) The patches here don’t have audio signal, is this the wrong track to my dream? Thanks in advance to all!

#206214
Jun 26, 2011 at 7:38am

Take my patch and directly control 4 gate~s…
That isn’t really hard to find, unless you don’t know how gate~ works…
To avoid clicks, you could also use a matrix~. The help files explain everything you need to know…

Stefan

#206215

You must be logged in to reply to this topic.