Interface IGpioModuleHandle
With this module you can use the General-Purpose Input/Output (GPIO) pins of the device board. For example, you can send some signals to the LEDs, or receive the ON/OFF (1/0) messages from the buttons.
public interface IGpioModuleHandle : ITypedModuleHandle, IGenericSynthModuleHandle
- Inherited Members
Methods
GetIn()
Original name: 3 'In'
Toggle GetIn()
Returns
GetInAmplitude(ValueScalingMode)
Value range: displayed: 0 to 100, real: 0 to 100 Original name: 6 'In amplitude'
int GetInAmplitude(ValueScalingMode valueScalingMode = ValueScalingMode.Displayed)
Parameters
valueScalingModeValueScalingMode
Returns
- int
GetInNote(ValueScalingMode)
Original name: 5 'In note'
int GetInNote(ValueScalingMode valueScalingMode = ValueScalingMode.Displayed)
Parameters
valueScalingModeValueScalingMode
Returns
- int
GetInPin(ValueScalingMode)
Original name: 4 'In pin'
int GetInPin(ValueScalingMode valueScalingMode = ValueScalingMode.Displayed)
Parameters
valueScalingModeValueScalingMode
Returns
- int
GetOut()
Original name: 0 'Out'
Toggle GetOut()
Returns
GetOutPin(ValueScalingMode)
Original name: 1 'Out pin'
int GetOutPin(ValueScalingMode valueScalingMode = ValueScalingMode.Displayed)
Parameters
valueScalingModeValueScalingMode
Returns
- int
GetOutThreshold(ValueScalingMode)
Value range: displayed: 0 to 100, real: 0 to 100 Original name: 2 'Out threshold'
int GetOutThreshold(ValueScalingMode valueScalingMode = ValueScalingMode.Displayed)
Parameters
valueScalingModeValueScalingMode
Returns
- int
MakeInAmplitudeEvent(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 100) to column range (0 to 0x8000). Out of range values are clamped.
PatternEvent MakeInAmplitudeEvent(int value)
Parameters
valueint
Returns
MakeInEvent(Toggle)
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 MakeInEvent(Toggle value)
Parameters
valueToggle
Returns
MakeInNoteEvent(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 MakeInNoteEvent(int value)
Parameters
valueint
Returns
MakeInPinEvent(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 MakeInPinEvent(int value)
Parameters
valueint
Returns
MakeOutEvent(Toggle)
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 MakeOutEvent(Toggle value)
Parameters
valueToggle
Returns
MakeOutPinEvent(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 MakeOutPinEvent(int value)
Parameters
valueint
Returns
MakeOutThresholdEvent(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 100) to column range (0 to 0x8000). Out of range values are clamped.
PatternEvent MakeOutThresholdEvent(int value)
Parameters
valueint
Returns
SetIn(Toggle)
Original name: 3 'In' Note: equivalent SendEvent(int, PatternEvent) will be used internally, which may introduce latency. It will also be affected by the event timestamp set.
void SetIn(Toggle value)
Parameters
valueToggle
SetInAmplitude(int, ValueScalingMode)
Value range: displayed: 0 to 100, real: 0 to 100 Original name: 6 'In amplitude' Note: equivalent SendEvent(int, PatternEvent) will be used internally, which may introduce latency. It will also be affected by the event timestamp set.
void SetInAmplitude(int value, ValueScalingMode valueScalingMode = ValueScalingMode.Displayed)
Parameters
valueintvalueScalingModeValueScalingMode
SetInNote(int, ValueScalingMode)
Original name: 5 'In note' Note: equivalent SendEvent(int, PatternEvent) will be used internally, which may introduce latency. It will also be affected by the event timestamp set.
void SetInNote(int value, ValueScalingMode valueScalingMode = ValueScalingMode.Displayed)
Parameters
valueintvalueScalingModeValueScalingMode
SetInPin(int, ValueScalingMode)
Original name: 4 'In pin' Note: equivalent SendEvent(int, PatternEvent) will be used internally, which may introduce latency. It will also be affected by the event timestamp set.
void SetInPin(int value, ValueScalingMode valueScalingMode = ValueScalingMode.Displayed)
Parameters
valueintvalueScalingModeValueScalingMode
SetOut(Toggle)
Original name: 0 'Out' Note: equivalent SendEvent(int, PatternEvent) will be used internally, which may introduce latency. It will also be affected by the event timestamp set.
void SetOut(Toggle value)
Parameters
valueToggle
SetOutPin(int, ValueScalingMode)
Original name: 1 'Out pin' Note: equivalent SendEvent(int, PatternEvent) will be used internally, which may introduce latency. It will also be affected by the event timestamp set.
void SetOutPin(int value, ValueScalingMode valueScalingMode = ValueScalingMode.Displayed)
Parameters
valueintvalueScalingModeValueScalingMode
SetOutThreshold(int, ValueScalingMode)
Value range: displayed: 0 to 100, real: 0 to 100 Original name: 2 'Out threshold' Note: equivalent SendEvent(int, PatternEvent) will be used internally, which may introduce latency. It will also be affected by the event timestamp set.
void SetOutThreshold(int value, ValueScalingMode valueScalingMode = ValueScalingMode.Displayed)
Parameters
valueintvalueScalingModeValueScalingMode