Expand description
Shared parameter types for instrument timbres, patches, and rhythm keys.
Structs§
- Partial
Param - Decoded parameters for one partial (wave generator + envelopes + LFO).
- Patch
Param - Decoded patch settings (timbre reference, tuning, bender range, assign mode).
- Patch
Temp - Active per-part settings: patch parameters plus output level and pan.
- Rhythm
Key - Decoded rhythm settings for one MIDI key.
- Timbre
Param - 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§
- Pair
Mode - Mix mode for a pair of partials.
- Partial
Type - 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).