Interface IMultiControlModuleHandle
With this module you can change the values of multiple controllers (in different modules) at once. Maximum number of connected controllers - 16.
public interface IMultiControlModuleHandle : ITypedModuleHandle, IGenericSynthModuleHandle
- Inherited Members
Methods
GetGain(ValueScalingMode)
Value range: displayed: 0 to 1024, real: 0 to 1024 Original name: 1 'Gain'
int GetGain(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
GetQuantization(ValueScalingMode)
Value range: displayed: 0 to 32768, real: 0 to 32768 Original name: 2 'Quantization'
int GetQuantization(ValueScalingMode valueScalingMode = ValueScalingMode.Displayed)
Parameters
valueScalingModeValueScalingMode
Returns
- int
GetResponse(ValueScalingMode)
Value range: displayed: 0 to 1000, real: 0 to 1000 Original name: 4 'Response'
int GetResponse(ValueScalingMode valueScalingMode = ValueScalingMode.Displayed)
Parameters
valueScalingModeValueScalingMode
Returns
- int
GetSampleRate(ValueScalingMode)
Value range: displayed: 1 to 32768, real: 1 to 32768 Original name: 5 'Sample rate'
int GetSampleRate(ValueScalingMode valueScalingMode = ValueScalingMode.Displayed)
Parameters
valueScalingModeValueScalingMode
Returns
- int
GetValue(ValueScalingMode)
Value range: displayed: 0 to 32768, real: 0 to 32768 Original name: 0 'Value'
int GetValue(ValueScalingMode valueScalingMode = ValueScalingMode.Displayed)
Parameters
valueScalingModeValueScalingMode
Returns
- int
MakeGainEvent(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 1024) to column range (0 to 0x8000). Out of range values are clamped.
PatternEvent MakeGainEvent(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
MakeQuantizationEvent(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 MakeQuantizationEvent(int value)
Parameters
valueint
Returns
MakeResponseEvent(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 1000) to column range (0 to 0x8000). Out of range values are clamped.
PatternEvent MakeResponseEvent(int value)
Parameters
valueint
Returns
MakeSampleRateEvent(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 (1 to 32768) to column range (0 to 0x8000). Out of range values are clamped.
PatternEvent MakeSampleRateEvent(int value)
Parameters
valueint
Returns
MakeValueEvent(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 MakeValueEvent(int value)
Parameters
valueint
Returns
ReadCurveValueMap(float[])
Modifies values.
Read from curve 0 of MultiControl.
The curve contains 257 values in range of 0 to 1.int ReadCurveValueMap(float[] buffer)
Parameters
bufferfloat[]
Returns
- int
SetGain(int, ValueScalingMode)
Value range: displayed: 0 to 1024, real: 0 to 1024 Original name: 1 'Gain' Note: equivalent SendEvent(int, PatternEvent) will be used internally, which may introduce latency. It will also be affected by the event timestamp set.
void SetGain(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
SetQuantization(int, ValueScalingMode)
Value range: displayed: 0 to 32768, real: 0 to 32768 Original name: 2 'Quantization' Note: equivalent SendEvent(int, PatternEvent) will be used internally, which may introduce latency. It will also be affected by the event timestamp set.
void SetQuantization(int value, ValueScalingMode valueScalingMode = ValueScalingMode.Displayed)
Parameters
valueintvalueScalingModeValueScalingMode
SetResponse(int, ValueScalingMode)
Value range: displayed: 0 to 1000, real: 0 to 1000 Original name: 4 'Response' Note: equivalent SendEvent(int, PatternEvent) will be used internally, which may introduce latency. It will also be affected by the event timestamp set.
void SetResponse(int value, ValueScalingMode valueScalingMode = ValueScalingMode.Displayed)
Parameters
valueintvalueScalingModeValueScalingMode
SetSampleRate(int, ValueScalingMode)
Value range: displayed: 1 to 32768, real: 1 to 32768 Original name: 5 'Sample rate' Note: equivalent SendEvent(int, PatternEvent) will be used internally, which may introduce latency. It will also be affected by the event timestamp set.
void SetSampleRate(int value, ValueScalingMode valueScalingMode = ValueScalingMode.Displayed)
Parameters
valueintvalueScalingModeValueScalingMode
SetValue(int, ValueScalingMode)
Value range: displayed: 0 to 32768, real: 0 to 32768 Original name: 0 'Value' Note: equivalent SendEvent(int, PatternEvent) will be used internally, which may introduce latency. It will also be affected by the event timestamp set.
void SetValue(int value, ValueScalingMode valueScalingMode = ValueScalingMode.Displayed)
Parameters
valueintvalueScalingModeValueScalingMode
WriteCurveValueMap(float[])
Modifies values.
Write to curve 0 of MultiControl.
The curve contains 257 values in range of 0 to 1.int WriteCurveValueMap(float[] buffer)
Parameters
bufferfloat[]
Returns
- int