Max For Live Midi Controller Script

Learn about building and using Max for Live devices.
Post Reply
coreyack
Posts: 3
Joined: Thu Dec 06, 2012 12:06 am

Max For Live Midi Controller Script

Post by coreyack » Thu Aug 01, 2013 9:10 am

Hi Everyone... New to the world of M4L

I'm wondering if i can write a M4L device that will receive external midi messages from my controller to control ableton live of my customised choosing.

Trying to utilize my controller (xone k2) to control ableton - IE. (selected track control, device control).... simliar to python midi scripts.

Any help would be most appreciative..

Regards,

Corey

11olsen
Posts: 157
Joined: Wed Jul 29, 2009 9:12 pm
Location: germany

Re: Max For Live Midi Controller Script

Post by 11olsen » Sat Aug 03, 2013 12:46 pm

i wrote an external to communicate with the nocturn directly. is there a way to access the automatic device control mapping via m4l or is that only possible via control script ??

S4racen
Posts: 5833
Joined: Fri Aug 24, 2007 4:08 pm
Location: Dunstable
Contact:

Re: Max For Live Midi Controller Script

Post by S4racen » Sat Aug 03, 2013 12:49 pm

I'm working on a remote script and maxlive template at the moment....

Cheers
D

11olsen
Posts: 157
Joined: Wed Jul 29, 2009 9:12 pm
Location: germany

Re: Max For Live Midi Controller Script

Post by 11olsen » Sun Aug 04, 2013 6:20 am

hey s4racen, can you explain a little further? do you mean you can send from m4l to script and cause the script to send back to live eg device control?

S4racen
Posts: 5833
Joined: Fri Aug 24, 2007 4:08 pm
Location: Dunstable
Contact:

Re: Max For Live Midi Controller Script

Post by S4racen » Sun Aug 04, 2013 6:53 am

Remote Script gives you access to the controller through the control_surfaces functions of M4L yes!

Cheers
D

coreyack
Posts: 3
Joined: Thu Dec 06, 2012 12:06 am

Re: Max For Live Midi Controller Script

Post by coreyack » Sun Aug 04, 2013 9:47 pm

Ok great. Let me know when you have it up and running. Would be very interested to see this is action

Cheers guys

S4racen
Posts: 5833
Joined: Fri Aug 24, 2007 4:08 pm
Location: Dunstable
Contact:

Re: Max For Live Midi Controller Script

Post by S4racen » Mon Aug 05, 2013 7:28 am

Keep an eye on www.facebook.com/IsotonikStudios for news!

Cheers
D

Valiumdupeuple
Posts: 1135
Joined: Mon May 31, 2010 12:36 pm
Contact:

Re: Max For Live Midi Controller Script

Post by Valiumdupeuple » Mon Aug 05, 2013 9:01 am

Yes Coreyack, it sure is possible.
If you're on osx, use the lh_midiin/midiout externals to receive midi directly from your controller, "before" it goes into Live.
There's also this one viewtopic.php?f=35&t=193885, but I don't know if it works, I haven't tested yet.

11olsen
Posts: 157
Joined: Wed Jul 29, 2009 9:12 pm
Location: germany

Re: Max For Live Midi Controller Script

Post by 11olsen » Mon Aug 05, 2013 6:32 pm

S4racen wrote:Remote Script gives you access to the controller through the control_surfaces functions of M4L yes!
D
i don't want to access the controller, my question is if m4l can control a script to send INPUT to live. (as if the script is receiving midi)
for example a dial in a patch which is controlling "device control dial 1". i already know it's possible with some virtual midi cables (patch to script input)
but what about doing it internally?
i've also seen solutions (something like device control) with m4l itself by using get_appointed_device but mapped controls were disabled for automation..
Last edited by 11olsen on Mon Aug 05, 2013 6:38 pm, edited 1 time in total.

S4racen
Posts: 5833
Joined: Fri Aug 24, 2007 4:08 pm
Location: Dunstable
Contact:

Re: Max For Live Midi Controller Script

Post by S4racen » Mon Aug 05, 2013 6:34 pm

11olsen wrote:
S4racen wrote:Remote Script gives you access to the controller through the control_surfaces functions of M4L yes!
D
i don't want to access the controller, my question is if m4l can control a script to send INPUT to live. (as if the script is receiving midi)
for example a dial in a patch which is controlling "device control dial 1". i already know it's possible with some virtual midi cables (patch to script input)
but what about doing it internally?
i've also seen solutions (something like device control) with m4l itself by using get_appointed_device but mapped controls were disabled for automation..


If they were disabled for automation then theyre most likely using the live.remote object, switch this for a live.object and have a message preceeding it with "set value $1" and you'll have your solution....

Cheers
D

11olsen
Posts: 157
Joined: Wed Jul 29, 2009 9:12 pm
Location: germany

Re: Max For Live Midi Controller Script

Post by 11olsen » Tue Sep 03, 2013 8:50 am

yes that seems to work. nice. although i assume that setting the value with "set value" to the live object will be handled low priority and have a very limited transfer rate. right?

S4racen
Posts: 5833
Joined: Fri Aug 24, 2007 4:08 pm
Location: Dunstable
Contact:

Re: Max For Live Midi Controller Script

Post by S4racen » Tue Sep 03, 2013 9:27 am

It's ok for changes of jumping to a specific value... If you're using it with Live.Dials and automating a lot at a time you will hit a lag...

Cheers
D

Post Reply