MusicKit
0.0.0
|
A MKScoreRecorder is a pseudo-MKInstrument that adds MKNotes to the MKParts in a given MKScore. More...
#include <MKScoreRecorder.h>
A MKScoreRecorder is a pseudo-MKInstrument that adds MKNotes to the MKParts in a given MKScore.
It does this by creating a MKPartRecorder, a true MKInstrument, for each of the MKScore's MKPart objects. A MKScoreRecorder's MKScore is set through the setScore: method. If you add MKParts to or remove MKParts from the MKScore after sending the setScore: message, the changes will not be seen by the MKScoreRecorder.
A MKScoreRecorder can access a MKPartRecorder by the name of the MKPart with which it's associated. It can also set the time unit of all its MKPartRecorders through a single message, setTimeUnit:.
A MKScoreRecorder is said to be in performance from the time any of its MKPartRecorders receives a MKNote until the performance is finished.