PCM8.Channel

Defines a single channel's statuses.

Members

Variables

bankNum
ushort bankNum;

Bank select number.

currNote
ubyte currNote;

The currently played note.

currShpA
float currShpA;

The current attack shape

currShpR
float currShpR;

The current release shape

decoderBuffer
int[1024] decoderBuffer;

Stores a 1ks of decoded samples.

decoderWorkpad
Workpad decoderWorkpad;

Stores the current state of the decoder.

envGen
ADSREnvelopGenerator envGen;

Channel envelop generator.

modWheel
float modWheel;

Modulation wheel normalized between 0 and 1

presetCopy
Preset presetCopy;

The copy of the preset.

presetNum
ubyte presetNum;

Selected preset.

savedDWState
Workpad savedDWState;

The state of the decoder when the beginning of the looppoint has been reached.

savedWMWState
WavemodWorkpad savedWMWState;

The state of the wave modulator when the beginning of the looppoint has been reached.

velocity
float velocity;

Velocity normalized between 0 and 1

waveModWorkpad
WavemodWorkpad waveModWorkpad;

Stores the current state of the wave modulator.

Meta