# How do we play the 'song' assets in MakeCode Arcade?

**URL:** <https://forum.makecode.com/t/how-do-we-play-the-song-assets-in-makecode-arcade/17919>\
**Category:** Arcade\
**Tags:** music\
**Created:** [February 10, 2023, 5:44pm UTC](https://forum.makecode.com/t/how-do-we-play-the-song-assets-in-makecode-arcade/17919 "2023-02-10T17:44:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![neintoes](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/neintoes/32/8315_2.png) [@neintoes](https://forum.makecode.com/u/neintoes)\
**Post date:** [February 10, 2023, 5:44pm UTC](https://forum.makecode.com/t/how-do-we-play-the-song-assets-in-makecode-arcade/17919/1 "2023-02-10T17:44:28Z")

</div>

Hi all,

I seem to recall in the past (my memory may be off here) that to play a song asset you would type something along the lines of music.play\_song(assets.song(“song name”), True) to get it to loop. I can’t seem to do anything to get one of those song assets to play now and I can’t find any info in the docs?

Any suggestions?

---

<div class="post-metadata">

**Author:** ![jwunderl](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/jwunderl/32/5308_2.png) [@jwunderl](https://forum.makecode.com/u/jwunderl)\
**Post date:** [February 10, 2023, 5:47pm UTC](https://forum.makecode.com/t/how-do-we-play-the-song-assets-in-makecode-arcade/17919/2 "2023-02-10T17:47:11Z")

</div>

@richard I’m guessing this changed with the last minute consolidation of music category blocks? Looks like the current javascript will be:

```typescript
music.play(
    music.createSong(hex`00780004080200`),
    music.PlaybackMode.LoopingInBackground
)

```

and likely more useful from the formatting of the the function you have will be python

```python
music.play(music.create_song(hex("""
        00780004080200
    """)),
    music.PlaybackMode.LOOPING_IN_BACKGROUND)

```

---

<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:** [February 10, 2023, 5:52pm UTC](https://forum.makecode.com/t/how-do-we-play-the-song-assets-in-makecode-arcade/17919/3 "2023-02-10T17:52:14Z")

</div>

@jwunderl correct! this was changed right before release, sorry about that! That’s why we don’t recommend people use beta for important projects. I hope we didn’t trip you up too much!
