Hi ,
i am try to make some easy trace module.
It working with audio input and change the value of Trace.
I have a button and when it is "on", the module works correctly,
but when i "turn off", the trace don`t go back to the zero and is still working.
Is possible to reset trace position, when a button is turning off ?
Here is my code. Can anybody help my?
Thanks a lot.
-------------------------------------------------------------------
"if module.getValue('trace',0):
if module.getValue('Boosttrace',0):
soundvalue = modul8.getValue('direct_soundCaptureLevel',0)*module.getValue('BoostLeveltrace',0)
else:
soundvalue = modul8.getValue('direct_soundCaptureLevel',0)
modul8.setValue('ctrl_master_traceLevel',soundvalue,0)
if module.getValue('trace',0):
modul8.setValue('ctrl_master_traceLevel',0,0)"
--------------------------------------------------------------------