Miscellaneous
Miscellaneous constants and functions defined within midi.py
.
GPN_GetCurrentPreset
module-attribute
FPN_Preset flags? Potentially a typo?
TranzPort_OffOnBlinkT
module-attribute
???
FromMIDI_Max
module-attribute
Maximum value allowed when specifying the midi.REC_FromMIDI
flag when processing a Red event with general.processRECEvent()
.
FromMIDI_Half
module-attribute
Half of the maximum midi.REC_FromMIDI
value for Rec events.
EKRes
module-attribute
Default endless knob (encoder) resolution.
This is set to be 24 ticks per revolution by default.
TrackNum_Master
module-attribute
Track number for the master track in the mixer.
MiddleNote_Default
module-attribute
Default middle note's MIDI index. This refers to middle c.
ChannelDefaultVolume
module-attribute
Default volume of new channels on the channel rack.
TackDefaultVolume
module-attribute
Default volume of new tracks on the mixer. The name has a typo.
EncodeRemoteControlID
Generates a controlId
given information about an event
Args:
-
PortNum
(int
): the port that this event was sent to -
ChanNum
(int
): the channel of this event -
CCNum
(int
): the CC number of this event
Returns:
int
:controlId
Included since API Version 1