View Single Post
Old 05-22-2019, 09:03 PM   #483
Human being with feelings
woodslanding's Avatar
Join Date: Mar 2007
Location: Denver, CO
Posts: 391

Okay, continuing onward...

How would I do meters?

I'd also like to control elements from midi... is there a way to do that? I considered having dummy values in a jsfx, but I still need to figure out how to read them

I assume the gui framework has a clock somewhere to poll the mouse and keyboard, correct? Maybe it could poll midi and output levels at the same time?

Okay, right after writing this I stumbled into onupdate(). I tried this for meters:
not doing anything yet...

another try, seems closer:
ctl.onupdate = function(self)  self:val(getMeter(track,1)) end  --getMeter calls getPeakInfo
oh my, this IS working :0
eric moon
Very Stable Genius

Last edited by woodslanding; 05-22-2019 at 10:13 PM.
woodslanding is offline   Reply With Quote