Table of Contents

Interface IModulatorModuleHandle

Namespace
SunSharp.Modules
Assembly
SunSharp.dll

Amplitude or Phase modulator. First input = Carrier. Other inputs = Modulators (will be mixed into a single signal).

public interface IModulatorModuleHandle : ITypedModuleHandle, IGenericSynthModuleHandle
Inherited Members

Methods

GetChannels()

Original name: 2 'Channels'

Channels GetChannels()

Returns

Channels

GetMaxPhaseModulationDelay()

Original name: 3 'Max PM delay'

ModulatorMaxPhaseModulationDelay GetMaxPhaseModulationDelay()

Returns

ModulatorMaxPhaseModulationDelay

GetModulationType()

Original name: 1 'Modulation type'

ModulationType GetModulationType()

Returns

ModulationType

GetPhaseModulationInterpolation()

Original name: 4 'PM interpolation'

ModulatorPhaseModulationInterpolation GetPhaseModulationInterpolation()

Returns

ModulatorPhaseModulationInterpolation

GetVolume(ValueScalingMode)

Value range: displayed: 0 to 512, real: 0 to 512 Original name: 0 'Volume'

int GetVolume(ValueScalingMode valueScalingMode = ValueScalingMode.Displayed)

Parameters

valueScalingMode ValueScalingMode

Returns

int

MakeChannelsEvent(Channels)

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

Parameters

value Channels

Returns

PatternEvent

MakeMaxPhaseModulationDelayEvent(ModulatorMaxPhaseModulationDelay)

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 MakeMaxPhaseModulationDelayEvent(ModulatorMaxPhaseModulationDelay value)

Parameters

value ModulatorMaxPhaseModulationDelay

Returns

PatternEvent

MakeModulationTypeEvent(ModulationType)

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 MakeModulationTypeEvent(ModulationType value)

Parameters

value ModulationType

Returns

PatternEvent

MakePhaseModulationInterpolationEvent(ModulatorPhaseModulationInterpolation)

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 MakePhaseModulationInterpolationEvent(ModulatorPhaseModulationInterpolation value)

Parameters

value ModulatorPhaseModulationInterpolation

Returns

PatternEvent

MakeVolumeEvent(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 512) to column range (0 to 0x8000). Out of range values are clamped.

PatternEvent MakeVolumeEvent(int value)

Parameters

value int

Returns

PatternEvent

SetChannels(Channels)

Original name: 2 '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(Channels value)

Parameters

value Channels

SetMaxPhaseModulationDelay(ModulatorMaxPhaseModulationDelay)

Original name: 3 'Max PM delay' Note: equivalent SendEvent(int, PatternEvent) will be used internally, which may introduce latency. It will also be affected by the event timestamp set.

void SetMaxPhaseModulationDelay(ModulatorMaxPhaseModulationDelay value)

Parameters

value ModulatorMaxPhaseModulationDelay

SetModulationType(ModulationType)

Original name: 1 'Modulation type' Note: equivalent SendEvent(int, PatternEvent) will be used internally, which may introduce latency. It will also be affected by the event timestamp set.

void SetModulationType(ModulationType value)

Parameters

value ModulationType

SetPhaseModulationInterpolation(ModulatorPhaseModulationInterpolation)

Original name: 4 'PM interpolation' Note: equivalent SendEvent(int, PatternEvent) will be used internally, which may introduce latency. It will also be affected by the event timestamp set.

void SetPhaseModulationInterpolation(ModulatorPhaseModulationInterpolation value)

Parameters

value ModulatorPhaseModulationInterpolation

SetVolume(int, ValueScalingMode)

Value range: displayed: 0 to 512, real: 0 to 512 Original name: 0 'Volume' Note: equivalent SendEvent(int, PatternEvent) will be used internally, which may introduce latency. It will also be affected by the event timestamp set.

void SetVolume(int value, ValueScalingMode valueScalingMode = ValueScalingMode.Displayed)

Parameters

value int
valueScalingMode ValueScalingMode