Forums > Max For Live

New member with a simple question

October 28, 2013 | 3:39 am

Hey everyone,

My question is pretty basic -
How do I program Ableton to respond when an incoming midi value is greater than X?
For example – whenever the controller sends a value over 100 a clip is triggered to play.

By the way, this is my first visit to these forums. Seems like a real community of like minded people.
Excited to join in on the fun :)


October 28, 2013 | 3:52 am

Well. Assuming you are talking about M4L.
At first you need to have your midi cc coming into a track (not as a remote).
Route your cc using midiparse for instance. Use ">= 100" . It will output a 1 when the cc value is grater then 100. You’d maybe want to add a ‘change’ object to filter out repetitions.
Then to trigger the clip, select 1 to bang a ‘call fire’ to ‘live_set tracks X clips Y’.

hope this helps…i know i could have sent you a patch ! maybe later if you need to.


October 28, 2013 | 4:05 am

Thank you for the quick reply.
I would love a patch. I’ll PM you my email.

You just got a new Soundcloud follower, by the way – good stuff.


October 28, 2013 | 6:45 am

So, create a max midi effect in a midi track, copy this code into it. You’ll need to select your controller as the live’s track input. (Thinking of this, this could be mappable in live)
Anyway, this is just a quick example. Hope this helps ! You should seriously read the Live Object Model which could can find from the max help.

<code>

– Pasted Max Patch, click to expand. –

</code>


Viewing 4 posts - 1 through 4 (of 4 total)