Fwd: Timing mechanism for MIDI ?
Fwd: Timing mechanism for MIDI ?
- Subject: Fwd: Timing mechanism for MIDI ?
- From: Carlos Eduardo Mello <email@hidden>
- Date: Mon, 8 Dec 2008 19:24:38 -0200
Sorry, forgot to Cc: the list.Here it goes again... Begin forwarded message: Date: December 8, 2008 7:22:18 PM GMT-02:00 Subject: Re: Timing mechanism for MIDI ?
On Dec 8, 2008, at 6:46PM, William Stewart wrote:
CoreAudioClock - NSTimers do not have the resolution you need for real-time. MusicSequence/MusicPlayer can also be used for playback and scheduling, and this might (depending on what you need to do), be ideal for what you need
Both of these APIs come from the AudioToolbox framework, but you will need to spend some time learning
And other than that ?...
You see, I've tried MusicPlayer and found it very nice for simple things. But I need to sinchronize several tracks and have control over how it is done.Plus I want to be able to modify data as it is played. I don't want to use MusicSequence/Player because I already have an entire framework dedicated to keeping track of my MIDI data. Using MusicPlayer I'd be duplicating all my data, plus having to sincronize it between my classes and the player. So i'd like to create my own player using MIDIServices to send messages to specific endpoints at the appropriate times. Therefore I am back to the clock problem. If I can't use CoreAudioClock or NSTimers, should I go lower? where?
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden