Enumerations



MIDITransformType


enum { // MIDITransformType 
    kMIDITransform_None = 0, 
    kMIDITransform_FilterOut = 1, 
    kMIDITransform_MapControl = 2, 
    kMIDITransform_Add = 8, 
    kMIDITransform_Scale = 9, 
    kMIDITransform_MinValue = 10, 
    kMIDITransform_MaxValue = 11, 
    kMIDITransform_MapValue = 12 
}; 
Constants
kMIDITransform_None
no transformation (param unused)
kMIDITransform_FilterOut
filter out the specified event type (param unused)
kMIDITransform_MapControl
transform one control number to another; param is destination control number
kMIDITransform_Add
add param to values
kMIDITransform_Scale
multiple value by the fixed point number in param, which is in fixed point: bbbb.bbbb bbbb bbbb
kMIDITransform_MinValue
the value's minimum value is param
kMIDITransform_MaxValue
the value's maximum value is param
kMIDITransform_MapValue
transform the value using a map; param is the index of the map in the connection's array of maps.
Discussion

Values specifying a type of MIDI transformation, as found in the transform member of MIDITransform.


MIDITransformControlType


enum { // MIDITransformControlType 
    kMIDIControlType_7Bit = 0, 
    kMIDIControlType_14Bit = 1, 
    kMIDIControlType_7BitRPN = 2, 
    kMIDIControlType_14BitRPN = 3, 
    kMIDIControlType_7BitNRPN = 4, 
    kMIDIControlType_14BitNRPN = 5 
}; 
Constants
kMIDIControlType_7Bit
control numbers may be 0-127
kMIDIControlType_14Bit
control numbers may be 0-31
kMIDIControlType_7BitRPN
control numbers may be 0-16383
kMIDIControlType_14BitRPN
kMIDIControlType_7BitNRPN
kMIDIControlType_14BitNRPN
Discussion

Specifies how control numbers are interpreted.

(Last Updated February 25, 2005)