Controlling Ableton Effect Rack from M4L device

kmll's icon

Hi! I would like to create a patch that I can use to choose between several chains. Any suggestions of how this can be done?

To elaborate I would like the patch to have toggle buttons or regular buttons that send a message to the Audio Effect Rack and based on the message the Chain Selector is set to one of the four chains.

double_UG's icon

Max Patch
Copy patch and select New From Clipboard in Max.

kmll's icon

Thank you so much for the reply. First of all I am happy to know that it is possible, However I tested the patch and I could not get it to work as-is. I assume I need to update it but I do not quite understand what is going on. If it is possible can I please ask you to add some brief comments to the patch? That would be very interesting first of all to get the patch working, but I also think it would be very useful for my future patching to learn the techniques used here.

double_UG's icon

Max Patch
Copy patch and select New From Clipboard in Max.

double_UG's icon

https://www.youtube.com/watch?v=Xj6y9rL_O7U
(not my video)

kmll's icon

Thank you so much for the update and extra info. I got it working now and that is great!

There is only one more thing I would like to accomplish. When using the macro knob for changing the active chain I also created a mapping so that only the audio rack within the active chain was active. I assume this too is possible to implement using the LOM?

double_UG's icon

the simple way would be, to map you device to a macro, and the macro to a macro of the Audio Rack. Or to use the "Click Mapping" of the Ableton LFO in your device.

http://www.maxforlive.com/library/device/1297/j74-lom-tester
http://www.maxforlive.com/library/device/423/lom-navigator

kmll's icon

Hi! Thanks again for the info. I did not quite understand but I will have a go at this after the holidays. The disabling of the chain rack is just for the purpose for saving CPU resources and the main thing was that I am now able to choose the chains using a midi controller with buttons. As I said I will have a go at the device disabling using the LOM after the holidays and if I have challenges I will consider opening a new thread. Thanks for all the help with the chain selector and happy holidays :-)

Tim Coomb's icon

Beginners question: in the above patch in a comment it states that the parameters for a rack are as follows:

0 = rack on/off
1-8 = macros
9 = chain selector
Where about's in the Max / Max for Live documentation can I find this, I looked at the Live Object Model but couldn't find anything?

double_UG's icon

the racks are like any other live fx. You can find the parameters with "Browse device parameters" under "LiveApi abstractions"

Max Patch
Copy patch and select New From Clipboard in Max.

Tim Coomb's icon

Thank you for replying.
When I open M4L, go to Extras and select M4L API abstractions I get the Overview and for the Device section there are seven patches but none of them are called Browse Device Parameters or look like your patch above. Am I looking at the wrong place?

Tim Coomb's icon

Actually, I have found this patch by doing the following:

Open a M4L patch, right click the patcher, choose 'paste from', choose Max for Live,
choose Live API Choosers, and finally choose Browse.DeviceParameters