PCM32.Channel

Stores data for a single channel.

Members

Enums

ArpMode
enum ArpMode
Undocumented in source.

Variables

arpPos
ushort arpPos;
Undocumented in source.
arpeggiatorNotes
ushort[4] arpeggiatorNotes;

notes to arpeggiate

arpeggiatorSpeed
ushort arpeggiatorSpeed;

ms between notes

baseFreq
float baseFreq;
Undocumented in source.
codec
short function(ubyte*, DecoderWorkpad*) codec;
Undocumented in source.
codecType
CodecType codecType;
curNote
ubyte curNote;
Undocumented in source.
curOctave
ubyte curOctave;
Undocumented in source.
envGenA
EnvelopeGenerator envGenA;
Undocumented in source.
envGenB
EnvelopeGenerator envGenB;
Undocumented in source.
exprVal
ushort exprVal;
firBuf0
short firBuf0;
Undocumented in source.
firBuf1
short firBuf1;

Previous outputs

firFbk0
short firFbk0;
firFbk1
short firFbk1;
Undocumented in source.
firFilter
FiniteImpulseResponseFilter!(FIR_TABLE_LENGTH)[2] firFilter;
Undocumented in source.
firLevel0
short firLevel0;
firLevel1
short firLevel1;
Undocumented in source.
forward
ulong forward;

current position

freq
float freq;
Undocumented in source.
iirF0
float iirF0;
Undocumented in source.
iir_q
float iir_q;
Undocumented in source.
intBuff
short*[3] intBuff;

buffer for FIR-filters [0,1], output [2], IIR-filter output converted to int [3]

lfo
LowFreqOsc!(LFO_TABLE_LENGTH) lfo;
Undocumented in source.
loopfrom
uint loopfrom;
Undocumented in source.
loopto
uint loopto;

describe a loop cycle between the two values for the current sample

note
ushort note;
Undocumented in source.
output
short output;
Undocumented in source.
pitchbend
float pitchbend;
Undocumented in source.
preset
ChannelPresetMain preset;
Undocumented in source.
presetID
ushort presetID;
Undocumented in source.
sample
Sample* sample;
secWorkpad
DecoderWorkpad secWorkpad;
Undocumented in source.
sendLevels
float[4] sendLevels;
Undocumented in source.
stepping
uint stepping;

describes how much the sample should go forward, 1_048_576 equals a whole step

vel
ushort vel;
Undocumented in source.
workpad
DecoderWorkpad workpad;
Undocumented in source.

Meta