MKSynthPatch.h File Reference

#import <Foundation/NSObject.h>
#import <Foundation/NSArray.h>
#import "MKPatch.h"
#import "MKConductor.h"
#import "MKUnitGenerator.h"
#import "orch.h"

Go to the source code of this file.

Classes

class  MKSynthPatch
 A MKSynthPatch contains a configuration of MKUnitGenerators that work as a sound synthesis module. More...

Typedefs

typedef enum _MKPhraseStatus MKPhraseStatus
 This enumeration defines the state of a MKSynthPatch and is designed for use in a MKSynthPatch subclass implementation.

Enumerations

enum  _MKPhraseStatus {
  MK_phraseOn, MK_phraseOnPreempt, MK_phraseRearticulate, MK_phraseUpdate,
  MK_phraseOff, MK_phraseOffUpdate, MK_phraseEnd, MK_noPhraseActivity
}
 This enumeration defines the state of a MKSynthPatch and is designed for use in a MKSynthPatch subclass implementation. More...


Detailed Description


Typedef Documentation

This enumeration defines the state of a MKSynthPatch and is designed for use in a MKSynthPatch subclass implementation.

Each instance of MKSynthPatch performs a single musical voice. The MKPhraseStatus defines where in the phrase that voice is. The method phraseStatus returns one of these values. Note that if a MKSynthPatch is not in one of the subclass methods noteOnSelf:, noteOffSelf:, noteUpdateSelf:, or noteEndSelf, the method phraseStatus returns MK_noPhraseActivity.


Enumeration Type Documentation

This enumeration defines the state of a MKSynthPatch and is designed for use in a MKSynthPatch subclass implementation.

Each instance of MKSynthPatch performs a single musical voice. The MKPhraseStatus defines where in the phrase that voice is. The method phraseStatus returns one of these values. Note that if a MKSynthPatch is not in one of the subclass methods noteOnSelf:, noteOffSelf:, noteUpdateSelf:, or noteEndSelf, the method phraseStatus returns MK_noPhraseActivity.

Enumerator:
MK_phraseOn  MKSynthPatch is processing a noteOn for a new phrase.
MK_phraseOnPreempt  MKSynthPatch is processing a noteOn for a preempted phrase. That is, a phrase for another noteTag was preempted because there were not enough DSP resources available to play the new note.
MK_phraseRearticulate  MKSynthPatch is processing a noteOn for a rearticulation of an existing phrase. That is, a noteOn has been received for a noteTag that is already in the process of playing a phrase.
MK_phraseUpdate  MKSynthPatch is processing a noteUpdate for a phrase that has received a noteOn but has not yet received a noteOff.
MK_phraseOff  MKSynthPatch is processing a noteOff.
MK_phraseOffUpdate  MKSynthPatch is processing a noteUpdate for a phrase that has received a noteOff.
MK_phraseEnd  MKSynthPatch is executing the noteEnd method.
MK_noPhraseActivity  MKSynthPatch is not currently executing any of the methods noteOnSelf:, noteOffSelf:, noteUpdateSelf, or noteEndSelf.


Generated on Sat Dec 5 17:01:14 2009 for MusicKit by  doxygen 1.5.6