Even a 30th of a second is a lot in terms of a drum machine. What if 10 sounds need to be played all at once?

btw, I've found that if a sound is playing, and you .play it again, the first will stop playing and re-trigger.

I'm still not getting great timing even with the modifications suggested here. If a 30th of a second is it, maybe RealBasic is meant for this. I'm using microseconds, but would a timer be better?

C

On Jan 6, 2006, at 6:38 AM, Joseph J. Strout wrote:

Using a Timer, you should be able to easily play sounds with a
precision of about 1/30 second on the Mac (assuming nothing much else
going on).  Using a tight loop, you could do much better, but then of
course you're sucking a lot of CPU time.  If you're not getting those
results, then I suspect there's something wrong with your approach or
implementation.

Best,
- Joe
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to