Re: LUA examples

Home Forums General Programming LUA examples Re: LUA examples

#2894
atom
Keymaster
  • Topics: 159
  • Replies: 2945
  • Total: 3104
  • ★★★★★

well yes you need to fetch the modulator in the panel somehow and do operations on it, set it’s value or set it’s any other property, maybe change the linked component colour or maybe animate it on the screen using a timer… it’s up to you. In short you have the so-called accessor methods, that allow you to change certain properties of objects in the panel, but to do that you first need to get references to those objects (i will not use the word pointers cause lua knows of no such thing, but it might be easier if you think of what getModulatorByName() and others return)

I’ll try to update that example and this will be clear, but i think it should be simple, just iterate through all the modulators on the panel and set their values based on the data you received in the dump, and your program is set.

Ctrlr