Calculates jump amount for the sample.
Decodes one more block worth of samples, depending on internal state.
Resets all internal states.
Recalculates shape params.
Bank select number.
The currently played note + Bit 8 indicates suspension.
The current attack shape
The current release shape
Stores decoded samples.
Stores the current state of the decoder.
Channel envelop generator.
Sampling-to-playback frequency ratio, with pitch bend, LFO, and envGen applied.
Jump amount for current sample, calculated from freqRatio.
Modulation wheel normalized between 0 and 1
Position in decoded amount, including fractions
Current amount of pitch bend.
The copy of the preset.
Selected preset.
Amount of decoded samples with fractions offsetted
The state of the decoder when the beginning of the looppoint has been reached.
Channel status flags. Bit 1: Note on, Bit 2: Sample run out approaching, Bit 3: In loop, Bit 4: Bufferhalf
Velocity normalized between 0 and 1
Stores the current state of the wave modulator.
Defines a single channel's statuses.