Music formerly ran for a fixed 180-second window, so short looping songs were stored repeatedly. Music bank upload timing also obscured aliases. Schema 3 uses the ROM’s Capcom SNES sequence control flow, including finite repeats, conditional exits and separate voice periods. A track ends naturally or is exported through one combined loop; a safety cap remains explicitly marked.
The loop manifest retains native intro/period ticks, all voice boundaries and
tempo events. PCM coordinates are mapped onto the native 512-sample update grid
and aligned to the first audible onset. precisionFrames documents the roughly
16 ms timing granularity at the validated core’s rate. These are musical
control-flow boundaries, not sample-exact DSP-state recurrences or a guarantee
of click-free looping in every player. Compound/poly-rhythmic songs can have a
longer joint period than any one melody. No arbitrary refrain is discarded.
Canonical music uses the original SPC $FB restart after applying the original static sequence and instrument resources to the same quiet baseline. Native rendering remains in Snes9x; the analyzer does not synthesize the song. Equal PCM with equal loop coordinates shares a file. All native preset IDs remain in the manifests, including reserved/silent entries.
WAV, FLAC and MP3 are supported. FLAC is the local asset default and verifies
losslessly against original rendered PCM. MP3 uses 44100 Hz LAME VBR and its
manifest coordinates refer to decoded PCM, with loop metadata rescaled.
WAV smpl ends are inclusive; manifest/FLAC loop ends are exclusive. MP3
gapless/delay handling is player-dependent, so use lossless output for precision.
Generated per-game audio, manifests and encoding cache records remain local in
ignored XSharp/Assets/Sounds/Native/{X1,X2,X3} directories. A stash was ruled
out by the user because stash blobs also occupy .git. The old audio-bearing
local history is filtered separately, preserving code trees, current user edits,
branch contents and recoverable non-audio historical work. No remote push or
fetch is involved. Git cleanup evidence is recorded in audio-history-cleanup.json.
The regenerated collection contains 555 FLAC files (96 music and 459 effects),
totaling 308,098,819 encoded bytes. All 98 audible music presets remain mapped;
82 have loops and 16 end naturally. See native-audio-assets-checks.md for the
full decode validation and precision limits.
Primary references consulted:
The C# control-flow analyzer is an independent implementation. Format facts and timing formulae were cross-checked against the ROM driver and the cited zlib- licensed VGMTrans reference; no VGMTrans source file is distributed here.