create a midi modifier


    Aug 27 2013 | 8:39 pm
    the setup: controller 14 is a knob and controller 11 is a button.
    how do i make it so that when i hold down #11, #14 now becomes something different like #17?

    • Aug 28 2013 | 8:39 am
      Hi
      this is a bit hacky; something more refined would be possible using the [zl] family of objects:
      Brendan
    • Aug 29 2013 | 12:10 pm
    • Sep 05 2013 | 11:23 pm
      thanks, both of these are great. i liked Metamax's approach. I have a question though: how come in max.msp you need boxes that have - 1, and in pure data you don't need them?
    • Sep 06 2013 | 3:28 am
      Those -1 objects are translating an integer to a umenu index number (which counts from zero). So they are preventing a modulo error. But I don't why I used a umenu in the first place. I think it's because I used part of another abstraction I made which included a umenu. The truth is, you don' need a umenu or even a third number box. All you really need are the top two number boxes. Just remember that it's always the number under [sel 1] that is selected when holding the mouse button down.
      -
      I will say though.. regarding pure data.. you will often see [+ 0], [* 1.] or [- 0.] in Max. In those cases, it's to convert floats and integers into one another... but that's a different matter than offsetting or correcting for a zero/modulo error.