Table of Contents

Interface IPitchToControlModuleHandle

Namespace
SunSharp.Modules
Assembly
SunSharp.dll

This module converts the incoming notes to the controller values (in some another connected module).

public interface IPitchToControlModuleHandle : ITypedModuleHandle, IGenericSynthModuleHandle
Inherited Members

Methods

GetFirstNote(ValueScalingMode)

Original name: 2 'First note'

int GetFirstNote(ValueScalingMode valueScalingMode = ValueScalingMode.Displayed)

Parameters

valueScalingMode ValueScalingMode

Returns

int

GetMode()

Original name: 0 'Mode'

PitchToControlMode GetMode()

Returns

PitchToControlMode

GetOnNoteoff()

Original name: 1 'On NoteOFF'

PitchToControlOnNoteOff GetOnNoteoff()

Returns

PitchToControlOnNoteOff

GetOutController(ValueScalingMode)

Original name: 6 'OUT controller'

int GetOutController(ValueScalingMode valueScalingMode = ValueScalingMode.Displayed)

Parameters

valueScalingMode ValueScalingMode

Returns

int

GetOutMax(ValueScalingMode)

Value range: displayed: 0 to 32768, real: 0 to 32768 Original name: 5 'OUT max'

int GetOutMax(ValueScalingMode valueScalingMode = ValueScalingMode.Displayed)

Parameters

valueScalingMode ValueScalingMode

Returns

int

GetOutMin(ValueScalingMode)

Value range: displayed: 0 to 32768, real: 0 to 32768 Original name: 4 'OUT min'

int GetOutMin(ValueScalingMode valueScalingMode = ValueScalingMode.Displayed)

Parameters

valueScalingMode ValueScalingMode

Returns

int

GetRange(ValueScalingMode)

Original name: 3 'Range (number of semitones)'

int GetRange(ValueScalingMode valueScalingMode = ValueScalingMode.Displayed)

Parameters

valueScalingMode ValueScalingMode

Returns

int

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

value int

Returns

PatternEvent

MakeModeEvent(PitchToControlMode)

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(PitchToControlMode value)

Parameters

value PitchToControlMode

Returns

PatternEvent

MakeOnNoteoffEvent(PitchToControlOnNoteOff)

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(PitchToControlOnNoteOff value)

Parameters

value PitchToControlOnNoteOff

Returns

PatternEvent

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

value int

Returns

PatternEvent

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

value int

Returns

PatternEvent

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

value int

Returns

PatternEvent

MakeRangeEvent(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 MakeRangeEvent(int value)

Parameters

value int

Returns

PatternEvent

SetFirstNote(int, ValueScalingMode)

Original name: 2 '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

value int
valueScalingMode ValueScalingMode

SetMode(PitchToControlMode)

Original name: 0 '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(PitchToControlMode value)

Parameters

value PitchToControlMode

SetOnNoteoff(PitchToControlOnNoteOff)

Original name: 1 '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(PitchToControlOnNoteOff value)

Parameters

value PitchToControlOnNoteOff

SetOutController(int, ValueScalingMode)

Original name: 6 '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

value int
valueScalingMode ValueScalingMode

SetOutMax(int, ValueScalingMode)

Value range: displayed: 0 to 32768, real: 0 to 32768 Original name: 5 '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

value int
valueScalingMode ValueScalingMode

SetOutMin(int, ValueScalingMode)

Value range: displayed: 0 to 32768, real: 0 to 32768 Original name: 4 '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

value int
valueScalingMode ValueScalingMode

SetRange(int, ValueScalingMode)

Original name: 3 '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 SetRange(int value, ValueScalingMode valueScalingMode = ValueScalingMode.Displayed)

Parameters

value int
valueScalingMode ValueScalingMode