Interface IVelocityToControlModuleHandle
This module converts the velocity parameter of the incoming notes to the controller values (in some another connected module).
public interface IVelocityToControlModuleHandle : ITypedModuleHandle, IGenericSynthModuleHandle
- Inherited Members
Methods
GetOnNoteoff()
Original name: 0 'On NoteOFF'
VelocityToControlOnNoteOff GetOnNoteoff()
Returns
GetOutController(ValueScalingMode)
Original name: 4 'OUT controller'
int GetOutController(ValueScalingMode valueScalingMode = ValueScalingMode.Displayed)
Parameters
valueScalingModeValueScalingMode
Returns
- int
GetOutMax(ValueScalingMode)
Value range: displayed: 0 to 32768, real: 0 to 32768 Original name: 2 'OUT max'
int GetOutMax(ValueScalingMode valueScalingMode = ValueScalingMode.Displayed)
Parameters
valueScalingModeValueScalingMode
Returns
- int
GetOutMin(ValueScalingMode)
Value range: displayed: 0 to 32768, real: 0 to 32768 Original name: 1 'OUT min'
int GetOutMin(ValueScalingMode valueScalingMode = ValueScalingMode.Displayed)
Parameters
valueScalingModeValueScalingMode
Returns
- int
GetOutOffset(ValueScalingMode)
Value range: displayed: -16384 to 16384, real: 0 to 32768 Original name: 3 'OUT offset'
int GetOutOffset(ValueScalingMode valueScalingMode = ValueScalingMode.Displayed)
Parameters
valueScalingModeValueScalingMode
Returns
- int
MakeOnNoteoffEvent(VelocityToControlOnNoteOff)
This is a helper method to automatically handle turning target controller values into column values.
For this controller the input value is taken as is, only clamped to column value range.
PatternEvent MakeOnNoteoffEvent(VelocityToControlOnNoteOff value)
Parameters
Returns
MakeOutControllerEvent(int)
This is a helper method to automatically handle turning target controller values into column values.
For this controller the input value is taken as is, only clamped to column value range.
PatternEvent MakeOutControllerEvent(int value)
Parameters
valueint
Returns
MakeOutMaxEvent(int)
This is a helper method to automatically handle turning target controller values into column values.
For this controller the input value is mapped from displayed range (0 to 32768) to column range (0 to 0x8000). Out of range values are clamped.
PatternEvent MakeOutMaxEvent(int value)
Parameters
valueint
Returns
MakeOutMinEvent(int)
This is a helper method to automatically handle turning target controller values into column values.
For this controller the input value is mapped from displayed range (0 to 32768) to column range (0 to 0x8000). Out of range values are clamped.
PatternEvent MakeOutMinEvent(int value)
Parameters
valueint
Returns
MakeOutOffsetEvent(int)
This is a helper method to automatically handle turning target controller values into column values.
For this controller the input value is mapped from displayed range (-16384 to 16384) to column range (0 to 0x8000). Out of range values are clamped.
PatternEvent MakeOutOffsetEvent(int value)
Parameters
valueint
Returns
SetOnNoteoff(VelocityToControlOnNoteOff)
Original name: 0 'On NoteOFF' Note: equivalent SendEvent(int, PatternEvent) will be used internally, which may introduce latency. It will also be affected by the event timestamp set.
void SetOnNoteoff(VelocityToControlOnNoteOff value)
Parameters
SetOutController(int, ValueScalingMode)
Original name: 4 'OUT controller' Note: equivalent SendEvent(int, PatternEvent) will be used internally, which may introduce latency. It will also be affected by the event timestamp set.
void SetOutController(int value, ValueScalingMode valueScalingMode = ValueScalingMode.Displayed)
Parameters
valueintvalueScalingModeValueScalingMode
SetOutMax(int, ValueScalingMode)
Value range: displayed: 0 to 32768, real: 0 to 32768 Original name: 2 'OUT max' Note: equivalent SendEvent(int, PatternEvent) will be used internally, which may introduce latency. It will also be affected by the event timestamp set.
void SetOutMax(int value, ValueScalingMode valueScalingMode = ValueScalingMode.Displayed)
Parameters
valueintvalueScalingModeValueScalingMode
SetOutMin(int, ValueScalingMode)
Value range: displayed: 0 to 32768, real: 0 to 32768 Original name: 1 'OUT min' Note: equivalent SendEvent(int, PatternEvent) will be used internally, which may introduce latency. It will also be affected by the event timestamp set.
void SetOutMin(int value, ValueScalingMode valueScalingMode = ValueScalingMode.Displayed)
Parameters
valueintvalueScalingModeValueScalingMode
SetOutOffset(int, ValueScalingMode)
Value range: displayed: -16384 to 16384, real: 0 to 32768 Original name: 3 'OUT offset' Note: equivalent SendEvent(int, PatternEvent) will be used internally, which may introduce latency. It will also be affected by the event timestamp set.
void SetOutOffset(int value, ValueScalingMode valueScalingMode = ValueScalingMode.Displayed)
Parameters
valueintvalueScalingModeValueScalingMode