At 7:52 AM -0700 1/9/06, Cory wrote:
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?
What if they do? I didn't say anything about how many sounds you
could play at once. I was talking about the precision of playing any
sound.
If you need more than 30 Hz precision, then you won't be able to use
a timer; you'll need to use a tight loop instead.
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?
No, timers are the topic of the 30-Hz-precision discussion above, and
dangit, quit blaming it on the language you're using. It has nothing
to do with that; it has to do with how you're doing it. You could
write it in C and get exactly the same results, if you use the same
approach.
I know, your strategy is to annoy us until one of us gets so tired of
the topic that we do it for you... and it's working; I'm almost to
that point. :)
Best,
- Joe
--
Joe Strout -- [EMAIL PROTECTED]
Available for custom REALbasic programming and training.
_______________________________________________
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>