Quote Originally Posted by Edgemeal View Post
Getting better and better! , but this one (April 30th) uses a lot of CPU, older versions didn't use any or wasn't even noticeable.
The other one used a timer control but the millisecond resolution led to spotty beats per minute adjustments 120 BPM (and many others) wasn't actually achieveable (119 or 121) due to rounding. I had to use the microsecond resolution to achieve fine BPM adjustment. Since there are no interrupt driven calls to resolve the issue I had to resort to a timing loop and QueryPerformanceCounter. I kept the timer for the graphics since timing there wasn't totally critical.