zladx / LADX-Disassembly

Disassembly of Legend of Zelda: Links Awakening DX
832 stars 80 forks source link

Document the sound effects generation #207

Open kemenaran opened 4 years ago

kemenaran commented 4 years ago

Sounds effects (i.e. jingles, waveform-based sfx and noise-based sfx) are generated in https://github.com/zladx/LADX-Disassembly/blob/master/src/code/audio/sfx.asm.

The format seems pretty straightforward; probably no op-codes are involved. Still, the code needs documentation, and at least labeling of the different sound effects.

Vextrove commented 4 years ago

There are entries missing for a few IDs in hJingle and hNoiseSfx. Shall I take a look if there are any missing sounds?

The system for sounds is similar to the system for music tracks. There's an address where you write an ID to play a track/sound, and then that ID gets copied to other addresses and the PlayMusicTrack address gets emptied.

kemenaran commented 4 years ago

Sure, if you can document the missing sounds and jingles, that'd be great.