Table of Contents

Interface ILoopModuleHandle

Namespace
SunSharp.Modules
Assembly
SunSharp.dll

This module repeats a fragment of the incoming sound a specified number of times.

public interface ILoopModuleHandle : ITypedModuleHandle, IGenericSynthModuleHandle
Inherited Members

Methods

GetChannels()

Original name: 2 'Channels'

ChannelsInverted GetChannels()

Returns

ChannelsInverted

GetLength(ValueScalingMode)

Value range: displayed: 0 to 256, real: 0 to 256 Original name: 1 'Length'

int GetLength(ValueScalingMode valueScalingMode = ValueScalingMode.Displayed)

Parameters

valueScalingMode ValueScalingMode

Returns

int

GetLengthUnit()

Original name: 5 'Length unit'

LoopTimeUnit GetLengthUnit()

Returns

LoopTimeUnit

GetMaxBufferSize(ValueScalingMode)

Max buffer size in seconds
Original name: 6 'Max buffer size'

int GetMaxBufferSize(ValueScalingMode valueScalingMode = ValueScalingMode.Displayed)

Parameters

valueScalingMode ValueScalingMode

Returns

int

GetMode()

Original name: 4 'Mode'

LoopMode GetMode()

Returns

LoopMode

GetOnNoteon()

Original name: 7 'On NoteON'

LoopOnNoteOn GetOnNoteon()

Returns

LoopOnNoteOn

GetRepeatEndless128(ValueScalingMode)

Original name: 3 'Repeat (128=endless)'

int GetRepeatEndless128(ValueScalingMode valueScalingMode = ValueScalingMode.Displayed)

Parameters

valueScalingMode ValueScalingMode

Returns

int

GetVolume(ValueScalingMode)

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

int GetVolume(ValueScalingMode valueScalingMode = ValueScalingMode.Displayed)

Parameters

valueScalingMode ValueScalingMode

Returns

int

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

value ChannelsInverted

Returns

PatternEvent

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

Parameters

value int

Returns

PatternEvent

MakeLengthUnitEvent(LoopTimeUnit)

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 MakeLengthUnitEvent(LoopTimeUnit value)

Parameters

value LoopTimeUnit

Returns

PatternEvent

MakeMaxBufferSizeEvent(int)

Max buffer size in seconds

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

Parameters

value int

Returns

PatternEvent

MakeModeEvent(LoopMode)

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

Parameters

value LoopMode

Returns

PatternEvent

MakeOnNoteonEvent(LoopOnNoteOn)

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 MakeOnNoteonEvent(LoopOnNoteOn value)

Parameters

value LoopOnNoteOn

Returns

PatternEvent

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

Parameters

value int

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

PatternEvent MakeVolumeEvent(int value)

Parameters

value int

Returns

PatternEvent

SetChannels(ChannelsInverted)

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

Parameters

value ChannelsInverted

SetLength(int, ValueScalingMode)

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

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

Parameters

value int
valueScalingMode ValueScalingMode

SetLengthUnit(LoopTimeUnit)

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

void SetLengthUnit(LoopTimeUnit value)

Parameters

value LoopTimeUnit

SetMaxBufferSize(int, ValueScalingMode)

Max buffer size in seconds
Original name: 6 'Max buffer size' Note: equivalent SendEvent(int, PatternEvent) will be used internally, which may introduce latency. It will also be affected by the event timestamp set.

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

Parameters

value int
valueScalingMode ValueScalingMode

SetMode(LoopMode)

Original name: 4 '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(LoopMode value)

Parameters

value LoopMode

SetOnNoteon(LoopOnNoteOn)

Original name: 7 'On 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 SetOnNoteon(LoopOnNoteOn value)

Parameters

value LoopOnNoteOn

SetRepeatEndless128(int, ValueScalingMode)

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

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

Parameters

value int
valueScalingMode ValueScalingMode

SetVolume(int, ValueScalingMode)

Value range: displayed: 0 to 256, real: 0 to 256 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