We only have one timer and we use a dirty flag when the timer is flushed (blocks any other interval calls).ThomasHelzle wrote:Hm - not sure if there is a kind of limit to the number of timers maybe?
Would it make sense to only have one timer going, write the value-while-wiggling into the same variable where it is retrieved when the time is up, so it doesn't accumulate?
Didn't analyse the script, just a quick hunch
Basically: one timer, flags for dirty or not, if dirty -> retrieve value when timer is up, rinse and repeat. ?
Cheers,
Tom
I think we are trying to be in two places at once, in the future I think we need to get out of the flush() call of global Bitwig and just manage our own complete invalidation/paint system.
Mike
