Beta v3.5 - Dynamic lists

A preset to demonstrate dynamic changes of the Overlay lists based on the state of another control. The dynamic lists are meant to be used anywhere where meaning of one parameter changes in context of another parameter value.

Note, I will adjust the web editor so that the overlay IDs are visible there. I will also separate the Overlay editor from the list editor in near future.


In the demo, lists are being created like this:

--overlay list with ID 2
overlays.create(2, listReverbTypes)

What if I want to change the content of list ID 2? Do I have to run the same command pointing to a different list than listReverbTypes or can I change the content of listReverbTypes and it’ll be picked up on the fly?

1 Like

Currently, you can use it only to create a list. Like a one time action. Changes will not be picked up. The reason why I did that this way (now) is that this can be also implemented on mk1.

1 Like

What are my options if I’m trying to add the list values of a VST plugin parameter? The VST plugin parameter in use could be changed depending on the currently focused plugin or depending on the focused plugin parameter, requiring occasional updates to the list values.

1 Like

Currently, meaning in v3.5 beta, you can create a new list of each unique parameter. If given parameter had a list created already, you should reuse it. Editing lists comes with compatibility problems. I have been considering an option for lists to call a lua function that would provide (return) a table with value, label pairs. I will probably add that in the future, but since it requires significant changes in how lists work, I’ve decided not to tackle that just yet.

1 Like

I see. My context is a DAW control plugin. Users could have hundreds of plugins and change between them multiple times per minute.

Meaning, the E1 would have to either store all list values of all parameters of all plugins that could possibly exist in the world (seems to be the worst approach because the E1 preset needs to change every time a new plugin is supported).

Or the DAW control plugin would need to communicate the list entries to the E1, but in a way that the E1 only creates those lists in memory at first sight and reuses those lists when the plugin is controlled a second time. This couples E1’s memory management to the DAW plugin and would lead to problems when the E1 and the DAW plugin get out of sync e.g. when restarting the E1.

Will modifying existing lists be possible in the future?

1 Like

Any news on being able to change the content of lists via Lua?