MusicKit  0.0.0
MKScorefilePerformer Class Reference

MKScorefilePerformers are used to perform scorefiles. More...

#include <MKScorefilePerformer.h>


Detailed Description

MKScorefilePerformers are used to perform scorefiles.

Instances of this class are used directly in an application; you don't have to design your own subclass. When the object is activated, it reads the file's header and creates a MKNoteSender for each (unique) member of the part statement. A MKNoteSender is given the same name as the MKPart for which it was created. Thus, you can find out the names of the MKParts in the file by getting an NSArray of the noteSenders (using -noteSenders) and using the function MKGetObjectName(noteSender).

During a performance, a MKScorefilePerformer reads successive MKNote and time statements from the file from which it creates MKNote objects that it sends through its MKNoteSenders. When it reaches the end of the file, the MKScorefilePerformer is deactivated.

A MKScorefilePerformer has its own info MKNote that it fashions from the info statement in the file, and defines an NSMutableData instance on which scorefile print statements are printed.

Much of MKScorefilePeformer's functionality is documented under MKFilePerformer, and MKPerformer.

See also:
MKFilePerformer, MKPerformer.

The documentation for this class was generated from the following file: