Questions about MusicPlayer and MusicSequence
Questions about MusicPlayer and MusicSequence
- Subject: Questions about MusicPlayer and MusicSequence
- From: "Steve Schow" <email@hidden>
- Date: Thu, 1 Apr 2004 13:14:22 -0800
- Organization: Backstage Productions
I have some questions about MusicPlayer and MusicSequence. Thinking about
using them to put together a midi sequencer and just wondering if it makes
more sense to just implement their functionality from scratch my own way or
if it makes sense to use these already defined objects.
1 - Can events be added, changed, or deleted from a MusicSequence track that
is currently being played? Or must the sequence be stopped, events changed,
the sequence prep'd for playback and then finally played again?
2 - Similar to above, what about adding/merging a track to a MusicSequence
that is already being played by MusicPlayer. Is that possible or must the
MusicPlayer be stopped first, track added and then restarted?
3 - Does anyone know if its possible to have two MusicPlayers that are
playing in sync somehow within one app? I couldn't find anything in the
MusicPlayer docs about Midi clock, so I'm guessing that this CoreMidi object
does not provide any midi sync features and if I need that I should
reimplement my own MusicPlayer.???
4 - Does anyone know what the clock tick precision is of the
MusicSequence/MusicPlayer combo?
5 - Generally speaking, what kinds of tasks should these CoreMidi objects be
used for?
6 - Does anyone know if there are any lower level routines to access data in
a MusicSequence or is the current Iterator model the only way to traverse
through the track to find events?
7 - Does anyone know of any other alternatives than MusicSequence and
MusicPlayer for abstracting the concepts of track management and play/record
in a higher level API, but perhaps with more advanced features and more
direct access?
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.