MIKMIDIResponderType

Bit-mask constants used to specify MIDI responder types for mapping. Multiple responder types can be specified by ORing them together.

Definition

typedef NS_OPTIONS(NSUInteger, MIKMIDIResponderType ) {
   MIKMIDIResponderTypeNone = 0,
   MIKMIDIResponderTypeAbsoluteSliderOrKnob = 1 < < 0,
   MIKMIDIResponderTypeRelativeKnob = 1 < < 1,
   MIKMIDIResponderTypeTurntableKnob = 1 < < 2,
   MIKMIDIResponderTypeRelativeAbsoluteKnob = 1 < < 3,
   MIKMIDIResponderTypePressReleaseButton = 1 < < 4,
   MIKMIDIResponderTypePressButton = 1 < < 5,
   MIKMIDIResponderTypeKnob = ( MIKMIDIResponderTypeAbsoluteSliderOrKnob | MIKMIDIResponderTypeRelativeKnob | \ MIKMIDIResponderTypeTurntableKnob | MIKMIDIResponderTypeRelativeAbsoluteKnob ),
   MIKMIDIResponderTypeButton = ( MIKMIDIResponderTypePressButton | MIKMIDIResponderTypePressReleaseButton ),
   MIKMIDIResponderTypeAll = NSUIntegerMax,
};

Constants

MIKMIDIResponderTypeNone

Responder does not have a type. Cannot be mapped.

Declared In MIKMIDIMapping.h.

MIKMIDIResponderTypeAbsoluteSliderOrKnob

Type for a MIDI responder that can handle messages from a hardware absolute knob or slider. That is, one that sends control change messages with an absolute value depending on its position.

Declared In MIKMIDIMapping.h.

MIKMIDIResponderTypeRelativeKnob

Type for a MIDI responder that can handle messages from a hardware relative knob. That is, a knob that sends a message for each “tick”, and whose value depends on the direction (and possibly velocity) of the knob, rather than its absolute position.

Declared In MIKMIDIMapping.h.

MIKMIDIResponderTypeTurntableKnob

Type for a MIDI responder that can handle messages from a hardware turntable-like jog wheel. These are relative knobs, but typically have much higher resolution than a small relative knob. They may also have a touch/pressure sensitive top to detect when the user is touching, but not turning the wheel.

Declared In MIKMIDIMapping.h.

MIKMIDIResponderTypeRelativeAbsoluteKnob

Type for a MIDI responder that can handle messages from a hardware relative knob that sends messages to simulate an absolute knob. Relative knobs on (at least) Native Instruments controllers can be configured to send messages like an absolute knob. This can pose the problem of the knob continuing to turn past its limits (0 and 127) without additional messages being sent. These knobs can and will be mapped as a regular absolute knob for responders that include MIKMIDIResponderTypeAbsoluteSliderOrKnob but not MIKMIDIResponderTypeRelativeAbsoluteKnob in the type returned by -MIDIResponderTypeForCommandIdentifier:

Declared In MIKMIDIMapping.h.

MIKMIDIResponderTypePressReleaseButton

Type for a MIDI responder that can handle messages from a hardware button that sends a message when pressed down, and another message when released.

Declared In MIKMIDIMapping.h.

MIKMIDIResponderTypePressButton

Type for a MIDI responder that can handle messages from a hardware button that only sends a single message when pressed down, without sending a corresponding message upon release.

Declared In MIKMIDIMapping.h.

MIKMIDIResponderTypeKnob

Convenience type for a responder that can handle messages from any type of knob.

Declared In MIKMIDIMapping.h.

MIKMIDIResponderTypeButton

Convenience type for a responder that can handle messages from any type of button.

Declared In MIKMIDIMapping.h.

MIKMIDIResponderTypeAll

Convenience type for a responder that can handle messages from any kind of control.

Declared In MIKMIDIMapping.h.

Declared In

MIKMIDIMapping.h