# SFX in MakeCode Arcade?

**URL:** <https://forum.makecode.com/t/sfx-in-makecode-arcade/76>\
**Category:** Arcade\
**Created:** [March 6, 2019, 8:18am UTC](https://forum.makecode.com/t/sfx-in-makecode-arcade/76 "2019-03-06T08:18:19Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![kwx](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/kwx/32/1545_2.png) [@kwx](https://forum.makecode.com/u/kwx)\
**Post date:** [October 18, 2020, 7:59pm UTC](https://forum.makecode.com/t/sfx-in-makecode-arcade/76/7 "2020-10-18T19:59:26Z")

</div>

The engine already has support for creating basic sound effects from waveforms with frequency and volume sweeps using [music.playInstructions()](https://arcade.makecode.com/developer/sound#sound-instructions), but this didn’t have a Blocks interface, and was a bit clunky to use from JavaScript since it involves modifying buffers.

I’ve recently added engine code for new waveforms for more sound effect variety, including tunable noise and distorted square waves. This is available in the beta editor but not yet on the main site. There’s more information in this rather long [thread](https://forum.makecode.com/t/testing-modifications-to-the-sound-engine/3351/17). You can try a demo using this link to the beta editor: [https://arcade.makecode.com/beta#pub:\_JL6P9m5fYg9u](https://arcade.makecode.com/beta#pub:_JL6P9m5fYg9u)

This uses the [pxt-sound-effects](https://github.com/klausw3/pxt-sound-effects) extension which adds a Blocks interface to make this a bit more accessible:

[![](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/a/ac275d89614cecfae47aa6f7983fa25d37aaaf8a.png) ](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/a/ac275d89614cecfae47aa6f7983fa25d37aaaf8a.png)

If you want to use it in your own project, click on Advanced / Extensions in the editor’s blocks panel, and copy the extension’s address into the search field:  
`https://github.com/klausw3/pxt-sound-effects`

The extension works for the current version of MakeCode Arcade, but the new waveforms (tunable noise and cycle 16/32/64) will just produce silence if you’re not using the beta editor.

---

_[View the full topic](https://forum.makecode.com/t/sfx-in-makecode-arcade/76)._
