Process flags
Process flags are used to specify how a Rec event should be processed.
You can either combine base flags using the bitwise or operator (|
), or use
the preset combinations, which are also defined.
REC_UpdateValue
module-attribute
Update the value associated with the event ID.
REC_ShowHint
module-attribute
Update the hint message to indicate the meaning of the event ID.
REC_UpdatePlugLabel
module-attribute
Update the label for the parameter.
REC_UpdateControl
module-attribute
Update the wheel/knob associated with the parameter. Without this, any changes won't be shown in FL Studio's UI.
REC_FromMIDI
module-attribute
The given value is in the range 0
to midi.FromMIDI_Max
. If this flag is
specified, then FL Studio automatically converts the value into the required
range for the parameter.
REC_SetChanged
module-attribute
Set the changed flag. If this is set, FL Studio will remind the user to save changes before closing the project.
REC_Init
module-attribute
Make sure to initialise the parameter with the previous value before storing the updated value (meaning automation recording starts from the previous value, not this one).
REC_InternalCtrl
module-attribute
Event was sent by an internal controller.
REC_Smoothed
module-attribute
Smoothed up controller, almost same as internal controller???
REC_NoLastTweaked
module-attribute
Don't save this parameter as the last-tweaked parameter.
REC_InitStore
module-attribute
Used for control automation recording. Initialize control with the previous value then store this value.
REC_MIDIController
module-attribute
Used for changing values from a MIDI controller, but where the value has been
given within the range of 0
to midi.FromMIDI_Max
. FL Studio will translate
the value into the correct units before storing it.
REC_Controller
module-attribute
Used for changing values from a MIDI controller, but where the value is already in the right units.
For compatibility only, wrong name used.
REC_Control
module-attribute
REC_Control = REC_UpdateValue | REC_ShowHint | REC_InitStore | REC_SetChanged | REC_UpdatePlugLabel | REC_SetTouched
Used for changing values from a MIDI controller, but where the value is already
in the right units. Note that this is missing REC_UpdateControl
, so changes
using this flag won't be reflected in the UI.
REC_InvalidID
module-attribute
ProcessRECEvent returns this when the ID is invalid.
REC_SomeGeneric
module-attribute
Remote_FindEventID returns this when a generic link could be found, but it's not related to the focused window.
REC_WrapperModWheel
module-attribute
Default mod-wheel mapping for the wrapper (to support mod wheel in VSTs).
REC_WrapperAfterTouch
module-attribute
Default aftertouch mapping for the wrapper (to support mod aftertouch in VSTs).