PCM32.ChannelPresetSamples

Preset data. Stores data on how to handle instrument samples. Important: fromX are always the lower values. Overlapping values are not supported.

Members

Enums

Flags
enum Flags

Sets certain properties of the sample

Functions

opCmp
int opCmp(ushort rhs)

Range lookup.

opCmp
int opCmp(ChannelPresetSamples rhs)

Used mainly for ordering them in a BSTree.

opEquals
bool opEquals(ChannelPresetSamples b)

Equals function for other ChannelPresetSamples.

opEquals
bool opEquals(ushort b)

Equals function for ushort by note.

Properties

isLooping
bool isLooping [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
isPercussive
bool isPercussive [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
pingPongLoop
bool pingPongLoop [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

fromNote
ushort fromNote;
Undocumented in source.
loopFlags
ushort loopFlags;

See enum Flags for options

loopFrom
uint loopFrom;
Undocumented in source.
loopTo
uint loopTo;
Undocumented in source.
midFreq
float midFreq;
Undocumented in source.
midNote
ushort midNote;
Undocumented in source.
sampleSelect
uint sampleSelect;

Selects the sample that will be used

toNote
ushort toNote;
Undocumented in source.

Meta