# Makecode Arcade can only play 512 songs

**URL:** <https://forum.makecode.com/t/makecode-arcade-can-only-play-512-songs/28442>\
**Category:** Arcade\
**Created:** [April 26, 2024, 3:45pm UTC](https://forum.makecode.com/t/makecode-arcade-can-only-play-512-songs/28442 "2024-04-26T15:45:45Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![ZadikGooba](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/zadikgooba/32/14829_2.png) [@ZadikGooba](https://forum.makecode.com/u/ZadikGooba)\
**Post date:** [April 26, 2024, 3:45pm UTC](https://forum.makecode.com/t/makecode-arcade-can-only-play-512-songs/28442/1 "2024-04-26T15:45:45Z")

</div>

> **[Test 512](https://arcade.makecode.com/S27692-35363-45358-44038)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

Nothing in this project except play a very short song, then score up by 1. Once it tries to play the 513th song, it hard-freezes. I’ve been using songs in my other project, and after 512 songs there the same thing is happening. Any way to fix this?

---

<div class="post-metadata">

**Author:** ![richard](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/richard/32/5417_2.png) [@richard](https://forum.makecode.com/u/richard)\
**Post date:** [April 26, 2024, 4:03pm UTC](https://forum.makecode.com/t/makecode-arcade-can-only-play-512-songs/28442/2 "2024-04-26T16:03:07Z")

</div>

can you be a little more specific about what you’re trying to do? maybe share a link to the actual project you’re having trouble with instead of this demo?

---

<div class="post-metadata">

**Author:** ![randomuser](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/randomuser/32/32505_2.png) [@randomuser](https://forum.makecode.com/u/randomuser)\
**Post date:** [April 26, 2024, 5:30pm UTC](https://forum.makecode.com/t/makecode-arcade-can-only-play-512-songs/28442/3 "2024-04-26T17:30:35Z")

</div>

Interesting! 2^9!

---

<div class="post-metadata">

**Author:** ![richard](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/richard/32/5417_2.png) [@richard](https://forum.makecode.com/u/richard)\
**Post date:** [April 26, 2024, 5:31pm UTC](https://forum.makecode.com/t/makecode-arcade-can-only-play-512-songs/28442/4 "2024-04-26T17:31:21Z")

</div>

@randomuser haha, i also thought that was relevant but i think it’s just a coincidence. my browser gets into the thousands before the tab crashes

---

<div class="post-metadata">

**Author:** ![danger\_kitty](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/danger_kitty/32/32006_2.png) [@danger\_kitty](https://forum.makecode.com/u/danger_kitty)\
**Post date:** [April 26, 2024, 9:01pm UTC](https://forum.makecode.com/t/makecode-arcade-can-only-play-512-songs/28442/6 "2024-04-26T21:01:07Z")

</div>

same thats what mine does two

---

<div class="post-metadata">

**Author:** ![ZadikGooba](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/zadikgooba/32/14829_2.png) [@ZadikGooba](https://forum.makecode.com/u/ZadikGooba)\
**Post date:** [April 26, 2024, 9:02pm UTC](https://forum.makecode.com/t/makecode-arcade-can-only-play-512-songs/28442/7 "2024-04-26T21:02:26Z")

</div>

> **[Makecode Tetris](https://arcade.makecode.com/S38103-43251-26507-68440)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

I was using a song for pretty much every action you could take. Move left, Move right, rotate, place, clear line, etc but I swapped them all out for sine waves last night. I learned that my firefox crashes at 512, while my google crashes at 2048.

---

<div class="post-metadata">

**Author:** ![richard](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/richard/32/5417_2.png) [@richard](https://forum.makecode.com/u/richard)\
**Post date:** [April 26, 2024, 9:04pm UTC](https://forum.makecode.com/t/makecode-arcade-can-only-play-512-songs/28442/8 "2024-04-26T21:04:03Z")

</div>

@ZadikGooba yeah, I think you were probably hitting a browser limit on the number of web audio nodes that can be allocated and then disposed. Would you mind opening an issue for this? We could probably be a bit more efficient about reusing them.

> **[Issues · microsoft/pxt-arcade](https://github.com/microsoft/pxt-arcade/issues)**
>
> Arcade game editor based on Microsoft MakeCode. Contribute to microsoft/pxt-arcade development by creating an account on GitHub.

---

<div class="post-metadata">

**Author:** ![ZadikGooba](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/zadikgooba/32/14829_2.png) [@ZadikGooba](https://forum.makecode.com/u/ZadikGooba)\
**Post date:** [April 26, 2024, 10:26pm UTC](https://forum.makecode.com/t/makecode-arcade-can-only-play-512-songs/28442/9 "2024-04-26T22:26:39Z")

</div>

Gladly, thank you for helping 👍 ‼
