Notein object with changeable channel
Hi,
I'm very new to M4L but trying to create a visual representation of the keys on stage.
I'd like to be able to set different notein and ctlin objects with different midi channels but have them be changeable. I understand if I put "notein 1" for example, that will be midi channel one, but unsure how to (or if it's even possible), to make it changeable with a live.numbox, dial or similar.
Does anyone have any ideas?
Thanks,
Joe
Dynamic channel changes can be done with [midiselect].
However, since Live merges all track MIDI input to channel 1
you can't select different channels within the M4L device.
Instead you need to change the 'input_routing_channel' of the track.
And here is a patch for setting the track input channel.
Thanks for this. Sorry I'm very new to M4L, How do I incorporate this into my patch with a live.menu or umenu?
What would be the purpose of such menu as you still have a channel chooser on the Live track?
I want to have a master midi track where I can assign different midi inputs to different ksliders etc in one subpatcher.
For this you may use the multi-instrument feature of Live (see manual).
It means that a MIDI track can receive different channels at the same time
provided they are routed from other (auxiliary) MIDI tracks.
Then you can put an M4L instrument device on the receiving track
and in that assign different inputs to different objects using eg. [midiselect].