LADX-Disassembly icon indicating copy to clipboard operation
LADX-Disassembly copied to clipboard

Document the sound effects generation

Open kemenaran opened this issue 5 years ago • 2 comments

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.

kemenaran avatar Apr 06 '20 09:04 kemenaran

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.

Vextrove avatar May 12 '20 20:05 Vextrove

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

kemenaran avatar May 12 '20 20:05 kemenaran