‹ XENON 2How it worksEnvelope bank
Xenon 2: Megablast · PSG volume-sequence table

Envelope bank

All 16 volume sequences selectable by pattern commands 0xD0–0xDF, read directly out of PSG_VolumeSequenceOffsetTable_0002f080. Each is a run of direct 0–15 YM2149 volume-register writes, stepped at its own rate, that holds at its last value once it runs out — not a synthesized ADSR shape. Full derivation in SOUND.MD §4.2.2.

Step interval
reload + 1 ticks between steps
On note retrigger
cursor resets to step 0 immediately
End of sequence
holds at last value, forever
Tick rate
nominal 50 Hz VBL (unscaled here)
defined step held indefinitely last defined step  ·  y: volume 0–15  ·  x: ticks, shared scale across all charts