Is there a way to switch layers with a MIDI message?

Hi, I only want so support 2 layers so I don’t want to have to cycle through all 4? Is there a way to configure this, or ideally, set the layer by sending a midi message?

Thx

You could use ‘Midi rx’ on the ‘System’ element of a controller to call a function that switches pages.

This could be something like CC 1 with values 1 through 4 to select each corresponding page. The function ‘page_load()’ can be used to select a specific page.

One thing that I’ve not tested is the storing of current element values when changing pages. I would assume that you would need to store the current values so that they can be recalled when you go back to that page. One question I don’t know the answer to is, if I store values in an array on one page, can I come back to them? Are they saved in memory somewhere or is memory flushed when I paginate?

I’ve not set it up to test.

1 Like