Skip to main content

Module param

Module param 

Source
Expand description

Shared parameter types for instrument timbres, patches, and rhythm keys.

Structs§

PartialParam
Decoded parameters for one partial (wave generator + envelopes + LFO).
PatchParam
Decoded patch settings (timbre reference, tuning, bender range, assign mode).
PatchTemp
Active per-part settings: patch parameters plus output level and pan.
RhythmKey
Decoded rhythm settings for one MIDI key.
TimbreParam
Decoded timbre: pair structure, mute flags, and four partial parameter sets.
TvaParam
Decoded amplitude envelope (TVA) parameters for one partial.
TvfParam
Decoded filter cutoff envelope (TVF) parameters for one partial.
TvpParam
Decoded pitch envelope (TVP) parameters for one partial.

Enums§

PairMode
Mix mode for a pair of partials.
PartialType
Waveform source type for a partial.

Constants§

COMMON_PARAM_SIZE
Byte size of the common timbre header (name, structure, mute, sustain).
MELODIC_PARTS_COUNT
Number of melodic parts (MIDI channels 1-8).
PAIR_STRUCTURES
Lookup table mapping structure byte (0-12) to details.
PARTIAL_PARAM_SIZE
Byte size of one partial’s parameters (WG + TVP + LFO + TVF + TVA).
RHYTHM_KEYS_COUNT
Number of rhythm keys (MIDI notes 24-108).
TIMBRE_PARAM_SIZE
Byte size of a serialized timbre parameter block (common header + 4 partials).