Interface IControlToNoteModuleHandle
Ctl2Note converts the value of the 'Pitch' controller to a note (Note ON/OFF commands at the output).
public interface IControlToNoteModuleHandle : ITypedModuleHandle, IGenericSynthModuleHandle
- Inherited Members
Methods
GetFineTune(ValueScalingMode)
Value range: displayed: -256 to 256, real: 0 to 512 Original name: 4 'Finetune'
int GetFineTune(ValueScalingMode valueScalingMode = ValueScalingMode.Displayed)
Parameters
valueScalingModeValueScalingMode
Returns
- int
GetFirstNote(ValueScalingMode)
Original name: 1 'First note'
int GetFirstNote(ValueScalingMode valueScalingMode = ValueScalingMode.Displayed)
Parameters
valueScalingModeValueScalingMode
Returns
- int
GetNoteoff()
Original name: 8 'NoteOFF'
ControlToNoteOffBehaviour GetNoteoff()
Returns
GetNoteon()
Original name: 7 'NoteON'
ControlToNoteOnBehaviour GetNoteon()
Returns
GetPitch(ValueScalingMode)
Value range: displayed: 0 to 32768, real: 0 to 32768 Original name: 0 'Pitch'
int GetPitch(ValueScalingMode valueScalingMode = ValueScalingMode.Displayed)
Parameters
valueScalingModeValueScalingMode
Returns
- int
GetRangeNumberOfSemitones(ValueScalingMode)
Original name: 2 'Range (number of semitones)'
int GetRangeNumberOfSemitones(ValueScalingMode valueScalingMode = ValueScalingMode.Displayed)
Parameters
valueScalingModeValueScalingMode
Returns
- int
GetRecordNotes()
Original name: 9 'Record notes'
Toggle GetRecordNotes()
Returns
GetState()
Original name: 6 'State'
Toggle GetState()
Returns
GetTranspose(ValueScalingMode)
Original name: 3 'Transpose'
int GetTranspose(ValueScalingMode valueScalingMode = ValueScalingMode.Displayed)
Parameters
valueScalingModeValueScalingMode
Returns
- int
GetVelocity(ValueScalingMode)
Value range: displayed: 0 to 256, real: 0 to 256 Original name: 5 'Velocity'
int GetVelocity(ValueScalingMode valueScalingMode = ValueScalingMode.Displayed)
Parameters
valueScalingModeValueScalingMode
Returns
- int
MakeFineTuneEvent(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 (-256 to 256) to column range (0 to 0x8000). Out of range values are clamped.
PatternEvent MakeFineTuneEvent(int value)
Parameters
valueint
Returns
MakeFirstNoteEvent(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 MakeFirstNoteEvent(int value)
Parameters
valueint
Returns
MakeNoteoffEvent(ControlToNoteOffBehaviour)
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 MakeNoteoffEvent(ControlToNoteOffBehaviour value)
Parameters
Returns
MakeNoteonEvent(ControlToNoteOnBehaviour)
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 MakeNoteonEvent(ControlToNoteOnBehaviour value)
Parameters
valueControlToNoteOnBehaviour
Returns
MakePitchEvent(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 MakePitchEvent(int value)
Parameters
valueint
Returns
MakeRangeNumberOfSemitonesEvent(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 MakeRangeNumberOfSemitonesEvent(int value)
Parameters
valueint
Returns
MakeRecordNotesEvent(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 MakeRecordNotesEvent(Toggle value)
Parameters
valueToggle
Returns
MakeStateEvent(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 MakeStateEvent(Toggle value)
Parameters
valueToggle
Returns
MakeTransposeEvent(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 MakeTransposeEvent(int value)
Parameters
valueint
Returns
MakeVelocityEvent(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 MakeVelocityEvent(int value)
Parameters
valueint
Returns
SetFineTune(int, ValueScalingMode)
Value range: displayed: -256 to 256, real: 0 to 512 Original name: 4 'Finetune' Note: equivalent SendEvent(int, PatternEvent) will be used internally, which may introduce latency. It will also be affected by the event timestamp set.
void SetFineTune(int value, ValueScalingMode valueScalingMode = ValueScalingMode.Displayed)
Parameters
valueintvalueScalingModeValueScalingMode
SetFirstNote(int, ValueScalingMode)
Original name: 1 'First 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 SetFirstNote(int value, ValueScalingMode valueScalingMode = ValueScalingMode.Displayed)
Parameters
valueintvalueScalingModeValueScalingMode
SetNoteoff(ControlToNoteOffBehaviour)
Original name: 8 '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 SetNoteoff(ControlToNoteOffBehaviour value)
Parameters
SetNoteon(ControlToNoteOnBehaviour)
Original name: 7 'NoteON' Note: equivalent SendEvent(int, PatternEvent) will be used internally, which may introduce latency. It will also be affected by the event timestamp set.
void SetNoteon(ControlToNoteOnBehaviour value)
Parameters
valueControlToNoteOnBehaviour
SetPitch(int, ValueScalingMode)
Value range: displayed: 0 to 32768, real: 0 to 32768 Original name: 0 'Pitch' Note: equivalent SendEvent(int, PatternEvent) will be used internally, which may introduce latency. It will also be affected by the event timestamp set.
void SetPitch(int value, ValueScalingMode valueScalingMode = ValueScalingMode.Displayed)
Parameters
valueintvalueScalingModeValueScalingMode
SetRangeNumberOfSemitones(int, ValueScalingMode)
Original name: 2 'Range (number of semitones)' Note: equivalent SendEvent(int, PatternEvent) will be used internally, which may introduce latency. It will also be affected by the event timestamp set.
void SetRangeNumberOfSemitones(int value, ValueScalingMode valueScalingMode = ValueScalingMode.Displayed)
Parameters
valueintvalueScalingModeValueScalingMode
SetRecordNotes(Toggle)
Original name: 9 'Record notes' Note: equivalent SendEvent(int, PatternEvent) will be used internally, which may introduce latency. It will also be affected by the event timestamp set.
void SetRecordNotes(Toggle value)
Parameters
valueToggle
SetState(Toggle)
Original name: 6 'State' Note: equivalent SendEvent(int, PatternEvent) will be used internally, which may introduce latency. It will also be affected by the event timestamp set.
void SetState(Toggle value)
Parameters
valueToggle
SetTranspose(int, ValueScalingMode)
Original name: 3 'Transpose' Note: equivalent SendEvent(int, PatternEvent) will be used internally, which may introduce latency. It will also be affected by the event timestamp set.
void SetTranspose(int value, ValueScalingMode valueScalingMode = ValueScalingMode.Displayed)
Parameters
valueintvalueScalingModeValueScalingMode
SetVelocity(int, ValueScalingMode)
Value range: displayed: 0 to 256, real: 0 to 256 Original name: 5 'Velocity' Note: equivalent SendEvent(int, PatternEvent) will be used internally, which may introduce latency. It will also be affected by the event timestamp set.
void SetVelocity(int value, ValueScalingMode valueScalingMode = ValueScalingMode.Displayed)
Parameters
valueintvalueScalingModeValueScalingMode