MKConductor Class The MKConductor class is the primary
performance class.
Allows you to schedule an Objective-C message to be sent in the future. Example:
[aConductor sel: @selector(hello:)
to: anObject
atTime: 3.0
argCount: 1, anotherObject];
|
At time 3.0, aConductor will send:
[anObject hello: anotherObject]; |
A MusicKit performance requires
a MKConductor. You need not create
a MKConductor explicitly. A
“defaultConductor” is created for you and is
obtained by:
[MKConductor defaultConductor]; |
Multiple MKConductors may be used. Each
may have its own tempo and may be paused/resumed independently.
However, the entire performance is controlled by the
MKConductor class. E.g., to start a
performance, you send:
[MKConductor startPerformance]; |