Ruby Ticker behaving badly
Posted: Sun Oct 05, 2014 8:03 pm
More observations (hoping someone actually finds this useful and I'm not just annoying everyone spamming the forums):
I've been doing loads of testing with triggers and tickers lately, and one thing I've noticed with the Ruby Custom Ticker and my stuff based on it is that, despite normally being a very time-accurate ticker, it seems to be able to get into a state where it loses accuracy after a while. Meaning it may tick slightly slower or faster. The numbers I get start going off. If I save the project and then reload it, then everything is dead on again. Not sure if it will just do this on it's own over time while running in a schematic or not (it's difficult to test), but it's something to consider if you use these.
Other thing I found out just now: I put one of the stock Custom Tickers into a current plugin project and set it to .01 sec (100/second). We all know that ruby is rather slow and the faster you set this thing the more it eats CPU. But while just switching this on at this somewhat reasonable setting doesn't cause a big hit to CPU, as soon as I go to the plugin's top panel where all the drawing is going on (and there's a good amount of it) the CPU meter in FL Studio jumps up from 1 to 7-8. The ticker isn't even connected to anything, it's just in the schematic somewhere and turned on. Note though that the Task Manager CPU doesn't seem to be effected significantly.
I've been doing loads of testing with triggers and tickers lately, and one thing I've noticed with the Ruby Custom Ticker and my stuff based on it is that, despite normally being a very time-accurate ticker, it seems to be able to get into a state where it loses accuracy after a while. Meaning it may tick slightly slower or faster. The numbers I get start going off. If I save the project and then reload it, then everything is dead on again. Not sure if it will just do this on it's own over time while running in a schematic or not (it's difficult to test), but it's something to consider if you use these.
Other thing I found out just now: I put one of the stock Custom Tickers into a current plugin project and set it to .01 sec (100/second). We all know that ruby is rather slow and the faster you set this thing the more it eats CPU. But while just switching this on at this somewhat reasonable setting doesn't cause a big hit to CPU, as soon as I go to the plugin's top panel where all the drawing is going on (and there's a good amount of it) the CPU meter in FL Studio jumps up from 1 to 7-8. The ticker isn't even connected to anything, it's just in the schematic somewhere and turned on. Note though that the Task Manager CPU doesn't seem to be effected significantly.