how to access looper parameters with m4l?

Learn about building and using Max for Live devices.
Post Reply
herrreinholt
Posts: 30
Joined: Sun Apr 05, 2009 5:52 pm

how to access looper parameters with m4l?

Post by herrreinholt » Sun Aug 10, 2014 9:35 pm

hello, i´d like to make a m4l patch to control the ableton looper with push, i´m fine with getting control over the various push elements but i struggle with the LOM.
basically i want to make a patch where you drop a looper after it, then get the various paramtere from the looper and change it with push (for example the fisrst four buttons of the matrix would take care of recording, overdub, stop and play ...)

is ther a way to automatically get all looper parameter? i think i´d be fine with assigning them from push from there on.

thanks a lot!

herrreinholt
Posts: 30
Joined: Sun Apr 05, 2009 5:52 pm

Re: how to access looper parameters with m4l?

Post by herrreinholt » Sun Aug 10, 2014 10:19 pm

thanks, figured it out but i still wonder, how do you know what parameter id controls what parameter. is this a try and error or is there a way to get names to the id´s?

cheers!

sigabort
Posts: 370
Joined: Fri Feb 06, 2009 1:45 pm
Location: London

Re: how to access looper parameters with m4l?

Post by sigabort » Sun Aug 10, 2014 10:35 pm

check out the M4L.api.GetAllDeviceIds and M4L.api.GetParameterNames abstractions to fetch all the ids for a device and then fetch the names for those ids...

herrreinholt
Posts: 30
Joined: Sun Apr 05, 2009 5:52 pm

Re: how to access looper parameters with m4l?

Post by herrreinholt » Sun Aug 10, 2014 11:27 pm

ah,thanks. that´s great, i completely forgot about the api :)

Post Reply