Sound Effects



How to insert

Like Romi's Addmusic (and its successors), AddmusicK can insert custom sound effects. The method for doing so is very similar to adding custom songs; add your custom sound effect file to either the "1DF9" or "1DFC" folder, and add its filename to Addmusic_sound effects.txt (if you added the file to "1DF9", then you'd add the filename under the "SFX1DF9" section. Likewise for the "1DFC" folder. (The difference between the two is which SPC channel it plays on; by default, 1DF9 plays on channel #6, and 1DFC plays on channel #7). You can redefine the channel that each sound effect plays on by using the !1DF9SFXChannel and !1DFCSFXChannel defines stored in the asm/UserDefines.asm file. Vanilla SMW used channel #4 for 1DF9 and channel #6 for 1DFC, if you want to use the same channels that vanilla SMW used. Please make sure that !noSFX is set to !false: otherwise, the sound effects will not be inserted into the final build because the code to play them will not exist.

How to create

Sound effects use almost the same syntax as normal music, and for information on how that works, read here. The following are the available commands:

Return to the main page