|
-
May 1st, 2009, 06:07 AM
#6
Thread Starter
Fanatic Member
Re: Drum Machine (Sick Beatz)
 Originally Posted by Edgemeal
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|