I am building a musical game for kids. Kids graphically build their
own rhythm from different notes and rests and then hit the play
button. I've got it basically working, but the timing seems to be
off. I don't know what is the best way to keep a constant beat.
What I need is a way of getting a routine to be called every x
milliseconds so I can start a new note or a rest.
So far, I have come up with a few different ways to do this:
1) Use a timeout object
2) Use a sound file (e.g., AIFF) with cue points at constant time intervals
3) Use a QuickTIme file with cue points at constant time intervals
4) Use a Beatnik file with "meta event" callbacks at constant time intervals
Before heading off and trying these myself, I was wondering if anyone
else has done this already and knows the best way to approach this -
either one of the above or perhaps another option that I haven't
considered
grimmwerks: what would you suggest? Your "drumulator" is very
similar to what I want to do.
Irv
--
Lingo / Director / Shockwave development for all occasions.
(Over two millions lines of Lingo code served!)
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list,
email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo. Thanks!]