# How to import music into make code without Python

**URL:** <https://forum.makecode.com/t/how-to-import-music-into-make-code-without-python/26453>\
**Category:** Help\
**Created:** [January 29, 2024, 9:18pm UTC](https://forum.makecode.com/t/how-to-import-music-into-make-code-without-python/26453 "2024-01-29T21:18:49Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![UnsignedArduino](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/unsignedarduino/32/592_2.png) [@UnsignedArduino](https://forum.makecode.com/u/UnsignedArduino)\
**Post date:** [January 30, 2024, 11:04pm UTC](https://forum.makecode.com/t/how-to-import-music-into-make-code-without-python/26453/2 "2024-01-30T23:04:22Z")

</div>

There are currently 4 ways to import MIDI music into MakeCode Arcade: (as found on [Awesome Arcade](https://awesome-arcade.vercel.app/extensions?q=music) 😁) (warning: self promotion as I created 3 of the tools)

1. `pxt-rtttl` - You can convert extremely simple MIDI files to RTTTL with converters online. (just a quick search) Easy to use in blocks, but the MIDI file must be extremely simple.
2. `Musical-Images` - Using a [Python tool](https://github.com/UnsignedArduino/Musical-Images-Generator) you can convert MIDI files to MakeCode Arcade images that store MIDI directly in the image. Easy to use in blocks. The playback algorithm isn’t the best with complicated rhythms. It is depreciated in favor of `ArcadeMIDI`.
3. `ArcadeMIDI` - Using another [Python tool](https://github.com/UnsignedArduino/ArcadeMIDIGenerator) you can convert MIDI files to MakeCode Arcade images that store MIDI directly in the image. Easy to use in blocks. The playback algorithm is better than `Musical-Images` but still not the best.
4. `Arcade-MIDI-to-Song` - _Another_ [Python tool](https://github.com/UnsignedArduino/Arcade-MIDI-to-Song) that can convert MIDI files to MakeCode Arcade Songs. (natively supported by MakeCode Arcade) Not very easy to use in blocks. The playback algorithm uses MakeCode Arcade and so it is much better than `ArcadeMIDI`.

Unfortunately, there are currently no non-Python tools that allow you to import complex MIDI files into MakeCode Arcade.

I hope to add media converters (convert PNG/JPG, GIF, and MIDI to MakeCode Arcade images, image arrays, and Song hex buffers respectively, and back) directly on the Awesome Arcade website soon so you don’t have to download any tools - it will run in the browser!

---

_[View the full topic](https://forum.makecode.com/t/how-to-import-music-into-make-code-without-python/26453)._
