Timing Question
Timing Question
- Subject: Timing Question
- From: Christopher Trainor <email@hidden>
- Date: Sun, 18 Jul 2004 19:43:19 -0400
I am working on a drum machine application. It allows the user to edit
drum beats and play them back through a MIDI device. I am using
CoreMIDI to manage the communication with the MIDI device.
The timing of the playback was great until I decided that I wanted to
show a visual indication of which notes are playing during playback. I
have tried a number of techniques to get this to work, such as separate
threads and timers (with InstallEventLoopTimer). However, each of the
techniques I have tried throws off the timing of the audio playback.
(Also, I haven't figured out a good way to use timers and allow the
tempo to change in the middle of a song yet.)
Can anyone point me to some sample code that might help me?
Thanks
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.