supercollider-quarks / JITLibExtensions

Some extensions to the common JITLib classes
GNU General Public License v2.0
12 stars 9 forks source link

ProxyMeter may break CmdPeriod #20

Closed jamshark70 closed 3 years ago

jamshark70 commented 3 years ago

https://github.com/supercollider-quarks/JITLibExtensions/blob/main/classes/GUI/ProxyMeter/ProxyMeter.sc#L38

*cmdPeriod { fork { 0.5.wait; all.do { |meter| meter.ampProxy.wakeUp } } }

This method fails if TempoClock.default is not permanent, e.g., TempoClock.default = TempoClock.new.

When it fails, it breaks all subsequent CmdPeriod actions (possibly including the server action to shut down nodes).

Shouldn't this method run on AppClock or SystemClock?