How to add your own sound effect to your project in MakeCode Arcade?

Please help me! Thanks a lot.

2 Likes

The Music.melody function can do that: https://arcade.makecode.com/developer/sound

Have a look at the old thread Sound effect demo (no extensions) for examples - various of those sound effects ended up being added to Arcade.

6 Likes

Welcome to the forums!

1 Like

Welcome to the forum @Madalaide !

2 Likes

If you’re looking to develop your own that aren’t currently in makecode, @kwx has perfect resources!
If you just mean you want to simply add sound effects to your games, you can use the built-in ‘play sound’ block.


you can click on the gray music note / wave there to edit what it sounds like! I’d reccomend changing ‘until done’ (All of your code will pause to wait for the sound to finish playing) to ‘play in background’ (plays while the code is running, so your code isn’t affected by adding sounds).
For example, you could add a jump noise like this when pressing up to jump:

4 Likes

Is there an extension for more sound effects?

Think VoxelMaster did

@CodaKnight did with retro fx

1 Like