How can I find out route numbers for my MIDI keyboard in Max

    Jan 18 2009 | 3:18 pm
    Hi guys, my name is Kez and I'm new to the forum.
    Just had a quick query regarding assigning faders and rotary knobs from my MIDI keyboard to values in Max
    I have just bought a Carillon control 49 MIDI keyboard, and I want to be able to use the "route" object in order to control certain values in Max with the faders and knobs on the keyboard. I can't find the route numbers in the manual, so is there any way of making the values show up in the Max window or something in order to find out what numbers to use in the route object for each fader/knob, so that I don't have to manually try every number between 0 and 127?
    Sorry if this is an obvious problem, I am still new to Max/MSP
    Thanks in advance,

    • Jan 18 2009 | 3:27 pm
      Try opening the [ctlin] help patch. If you change a fader or dial on your control keyboard it should show you the control value and number and the MIDI channel. The you can either use these numbers to route your values or set up a specific instance of [ctlin] for each controller using the control number and MIDI channel as arguments. This is also shown in the help patch.
    • Jan 18 2009 | 3:30 pm
      Thanks for the quick response, will give it a go!
    • Jan 18 2009 | 6:34 pm
      On the other hand...
      I wanted to be able to plug in any MIDI controller to a patch I built--not knowing what CC#s different faders and knobs were currently assigned to--and be able to let my patch dynamically update to respond to these. This bit of patching lets you automatically assign the controls on a MIDI controller to controls within your patch without first having to select the right controls on your controller. Let me know if it blows up on you, as I just ripped this out of a much larger patch...
    • Apr 11 2013 | 3:37 pm
      Thanks Brennon,
      Helpful patch!