Interface ISoundToControlModuleHandle
This module converts the audio signal to the numeric value of any selected controller.
public interface ISoundToControlModuleHandle : ITypedModuleHandle, IGenericSynthModuleHandle
- Inherited Members
Methods
GetAbsolute()
Original name: 2 'Absolute'
Toggle GetAbsolute()
Returns
GetChannels()
Original name: 1 'Channels'
ChannelsInverted GetChannels()
Returns
GetGain(ValueScalingMode)
Value range: displayed: 0 to 1024, real: 0 to 1024 Original name: 3 'Gain'
int GetGain(ValueScalingMode valueScalingMode = ValueScalingMode.Displayed)
Parameters
valueScalingModeValueScalingMode
Returns
- int
GetMode()
Original name: 5 'Mode'
SoundToControlMode GetMode()
Returns
GetOutController(ValueScalingMode)
Original name: 8 '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: 7 '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: 6 'OUT min'
int GetOutMin(ValueScalingMode valueScalingMode = ValueScalingMode.Displayed)
Parameters
valueScalingModeValueScalingMode
Returns
- int
GetSampleRate(ValueScalingMode)
Value range: displayed: 1 to 32768, real: 1 to 32768 Original name: 0 'Sample rate'
int GetSampleRate(ValueScalingMode valueScalingMode = ValueScalingMode.Displayed)
Parameters
valueScalingModeValueScalingMode
Returns
- int
GetSmooth(ValueScalingMode)
Value range: displayed: 0 to 256, real: 0 to 256 Original name: 4 'Smooth'
int GetSmooth(ValueScalingMode valueScalingMode = ValueScalingMode.Displayed)
Parameters
valueScalingModeValueScalingMode
Returns
- int
MakeAbsoluteEvent(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 MakeAbsoluteEvent(Toggle value)
Parameters
valueToggle
Returns
MakeChannelsEvent(ChannelsInverted)
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 MakeChannelsEvent(ChannelsInverted value)
Parameters
valueChannelsInverted
Returns
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
MakeModeEvent(SoundToControlMode)
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 MakeModeEvent(SoundToControlMode value)
Parameters
valueSoundToControlMode
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
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
MakeSmoothEvent(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 256) to column range (0 to 0x8000). Out of range values are clamped.
PatternEvent MakeSmoothEvent(int value)
Parameters
valueint
Returns
SetAbsolute(Toggle)
Original name: 2 'Absolute' Note: equivalent SendEvent(int, PatternEvent) will be used internally, which may introduce latency. It will also be affected by the event timestamp set.
void SetAbsolute(Toggle value)
Parameters
valueToggle
SetChannels(ChannelsInverted)
Original name: 1 'Channels' Note: equivalent SendEvent(int, PatternEvent) will be used internally, which may introduce latency. It will also be affected by the event timestamp set.
void SetChannels(ChannelsInverted value)
Parameters
valueChannelsInverted
SetGain(int, ValueScalingMode)
Value range: displayed: 0 to 1024, real: 0 to 1024 Original name: 3 '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
SetMode(SoundToControlMode)
Original name: 5 'Mode' Note: equivalent SendEvent(int, PatternEvent) will be used internally, which may introduce latency. It will also be affected by the event timestamp set.
void SetMode(SoundToControlMode value)
Parameters
valueSoundToControlMode
SetOutController(int, ValueScalingMode)
Original name: 8 '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: 7 '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: 6 '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
SetSampleRate(int, ValueScalingMode)
Value range: displayed: 1 to 32768, real: 1 to 32768 Original name: 0 '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
SetSmooth(int, ValueScalingMode)
Value range: displayed: 0 to 256, real: 0 to 256 Original name: 4 'Smooth' Note: equivalent SendEvent(int, PatternEvent) will be used internally, which may introduce latency. It will also be affected by the event timestamp set.
void SetSmooth(int value, ValueScalingMode valueScalingMode = ValueScalingMode.Displayed)
Parameters
valueintvalueScalingModeValueScalingMode