trigger event with CC through Ableton

Julien-Robert's icon

I'd like to trigger (bang) an event in a Max for Live device from a Controller Change sending 127 values. Since the assignable M4L objects ignore duplicate events, how do you do that?

(for example, if I map my CC to a live.toggle and my midi controller always sends 127, that toggle will output only the first one...)

Evan's icon

Make a MIDI device, and input CCs directly to the device, bypassing the live.* UI objects and MIDI mapping altogether.
Or make a remote script and get MIDI messages from that through the Control Surface API.

Julien-Robert's icon

How do you input CC directly to the device? Ctlin doesn't work inside a M4L device...

broc's icon

You could try using the external objects 'imp.midi'

Evan's icon

midiin -> midiparse works just fine...

Julien-Robert's icon

I'm able to use midiid with midiparse for a CC. Are you sure?
For imp.midi, I'm not fan about externals but it seems to be an option.

Evan's icon

Yes I am sure. midiin is the default MIDI object in M4L midi devices.
You can also use ctlin, not sure why you think you can't do that?

broc's icon

Of course you can use ctlin in M4L devices, but it will ignore duplicate events too.

Jay Walker's icon

hello guys, am I missing something pretty basic? I am doing midiin->midiparse. Notes read just fine. CC values do not show up at all. Except a mysterious CC 0 123 channel 1 that comes up whenever I press Stop. I can't get any values to show up besides that.. Channel information doesn't show up either. Is this a live limitation or am I just a dunce?

Thomas 's icon

Same problem here.

Jay Walker's icon

man you know what I don't know about the foundations of m4l. i had a meltdown a while back because it looks like there are so many bugs and limitations, i don't even know aboutaboutaboutaboutaboutabo max. omg. even their comments sections has really strange bugs, as you see above with me trying to a a delete a word. what the

Jay Walker's icon

how can you aabuild a coding language when there are so many foundational issues. it's really messed up bb.. bugs are an essental part , this is the completely wrong