LOM to Launch Macro Control Variations? Change Effects Presets in Audio Rack?

mike fonte's icon

I am hoping to change effects presets in an audio rack, using the LOM.

This would be in the Macro Variations part of the Audio Effects Rack. In info view it says that the variations need to be "launched".

I've looked in the LOM docs and found some things in the "RackDevice" section. But I don't see a "launch_variation" function. Is this possible?

Below is pic of what I'm trying to do.

Thanks,

Mike

schlam's icon

Hello,
the selected variation_index is only used to select a variation not for recalling it.
and your syntax is not what it should be.

You can try that.
This patch will automatically work with variations of the device directly at its right.

Hope it helps

cheers !

Julien

(edit : some mistakes in my 1st posted example)


mike fonte's icon

That's amazing! Very impressive how you figured that out! Thanks so much, Julien.

schlam's icon

you are welcome !

schlam's icon

you will see by yourself that if the next device is not a rack it will produce errors.
But you can add, with the same logic, a piece of patch to check if the next device is a rack or not.

With the "store" output of the preset object you can too store a new variation.

cheers !

mike fonte's icon

I think the patch you made is ideal for my purposes. I am using it as part of guitar looping system in Live, so the devices would be more or less "fixed".

Good to know about about the option to store a new variation.

Thanks again for your help.