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

Jan 18, 2009 at 3:18pm

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

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,

Kez

#41738
Jan 18, 2009 at 3:27pm

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.

lh

#148943
Jan 18, 2009 at 3:30pm

Thanks for the quick response, will give it a go!

#148944
Jan 18, 2009 at 6:34pm

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…

– Pasted Max Patch, click to expand. –
#148945
Apr 11, 2013 at 3:37pm

Thanks Brennon,

Helpful patch!

#148946

You must be logged in to reply to this topic.