[notein] trouble...please help!!

    Jun 10 2011 | 1:41 pm
    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.
    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...

    • Jun 10 2011 | 2:07 pm
      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..
    • Jun 10 2011 | 2:22 pm
      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...
    • Jun 10 2011 | 2:37 pm
      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].
    • Jun 10 2011 | 5:34 pm
      You essentially want to latch the velocity for each note:
    • Jun 10 2011 | 6:10 pm
      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
    • Jun 13 2011 | 1:09 pm
      I would do it like that:
      Why simple if you can have it complicated...;-)
    • Jun 13 2011 | 5:03 pm
      And, for completeness' sake, here's Stefan's approach with the floating point "velocity" implemented:
    • Jun 14 2011 | 6:24 am
      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!
    • Jun 26 2011 | 7:38 am
      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...