# Music requests

**URL:** <https://forum.makecode.com/t/music-requests/6454>\
**Category:** Help\
**Created:** [March 1, 2021, 10:23pm UTC](https://forum.makecode.com/t/music-requests/6454 "2021-03-01T22:23:55Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![Napomex](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/napomex/32/948_2.png) [@Napomex](https://forum.makecode.com/u/Napomex)\
**Post date:** [January 3, 2022, 3:59am UTC](https://forum.makecode.com/t/music-requests/6454/21 "2022-01-03T03:59:33Z")

</div>

Hey UnsignedArduino,  
That sounds mega cool how is that with the performens on real hardware “KittenBot” ?  
can you create a tutorial on how to convert from midi to makecode.  
otherwise I have to bug you unfortunately also because I need a song for my little project.

Cut Version= [https://drive.google.com/file/d/1hcYY7DSLUe8giKu7my44hkQCN77GIE6d/view?usp=sharing](https://drive.google.com/file/d/1hcYY7DSLUe8giKu7my44hkQCN77GIE6d/view?usp=sharing)

Full Version= [https://www.midi-karaoke.info/21b82fd9.html](https://www.midi-karaoke.info/21b82fd9.html)

---

<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 4, 2022, 12:11am UTC](https://forum.makecode.com/t/music-requests/6454/22 "2022-01-04T00:11:31Z")

</div>

I’ve been using a new extension that doesn’t generate JavaScript - it generates MakeCode Arcade images that it will parse using an easy-for-a-robot-to-generate-but-not-easy-for-humans-to-make format. So it’s easier to copy and paste a bunch of images into an image editor than to switch to JavaScript, create a new `.ts` file, paste in JavaScript, pray to the gods of MakeCode Arcade and switch back to blocks hoping nothing has been screwed up.

The extension is here:

> **[GitHub - UnsignedArduino/Musical-Images: An extension to write and play music...](https://github.com/UnsignedArduino/Musical-Images)**
>
> An extension to write and play music scores in MakeCode Arcade! - GitHub - UnsignedArduino/Musical-Images: An extension to write and play music scores in MakeCode Arcade!

I’ve written a Python script to take a MIDI file, do some mediocre black magic, and generate okay images:

> **[GitHub - UnsignedArduino/Musical-Images-Generator: A Python program to...](https://github.com/UnsignedArduino/Musical-Images-Generator)**
>
> A Python program to generate images compatible with the Musical-Images extension in MakeCode Arcade! - GitHub - UnsignedArduino/Musical-Images-Generator: A Python program to generate images compati...

You can find the code and instructions in the repo. Python knowledge is highly recommended for installation as the instructions won’t go over every single command to install.

It’s pretty good with songs that have a consistent beat - it’s absolute garbage with triplets and weird rhythms. And rests don’t exist! I’ve worked on this for several months and it doesn’t want to work with rests and stuff so PRs are welcome. 🙂

* * *

For performance on actual hardware, I have not tested it thoroughly, I’ve only tried it on small images in one of my [games](https://forum.makecode.com/t/crab-rave/10692) on a PyGamer which seemed to be fine.

---

<div class="post-metadata">

**Author:** ![SoftTalker](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/softtalker/32/10776_2.png) [@SoftTalker](https://forum.makecode.com/u/SoftTalker)\
**Post date:** [January 4, 2022, 5:09pm UTC](https://forum.makecode.com/t/music-requests/6454/23 "2022-01-04T17:09:46Z")

</div>

@UnsignedArduino can you please make the song believer with sound effects

---

<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 4, 2022, 6:21pm UTC](https://forum.makecode.com/t/music-requests/6454/24 "2022-01-04T18:21:15Z")

</div>

Already done this before:

> [@Hello](https://forum.makecode.com/t/hello/6456/17):
>
> Apparently, this song sounds really good in square wave form: If you don’t want the extra bells and whistles:

Although this uses the old giant TypeScript file method so it’s harder to use in a game.

Also please search the forum before you ask, thanks 🙂

If you have a MIDI file of it already, you can also use the instructions I posted to convert it and use the new method as well in the last post I made in this thread.

---

<div class="post-metadata">

**Author:** ![Napomex](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/napomex/32/948_2.png) [@Napomex](https://forum.makecode.com/u/Napomex)\
**Post date:** [January 5, 2022, 5:39pm UTC](https://forum.makecode.com/t/music-requests/6454/25 "2022-01-05T17:39:30Z")

</div>

What do I have to do with the requirements file ?  
when I click on main nothing happens

---

<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 5, 2022, 6:09pm UTC](https://forum.makecode.com/t/music-requests/6454/26 "2022-01-05T18:09:31Z")

</div>

You will have to install the dependencies in `requirements.txt`. Use `pip`: (it should be installed with Python)

```auto
pip install -r requirements.txt

```

Then run `main.py` at the terminal: ( **it’s not a GUI app** )

```auto
python main.py <the path to the MIDI file>

```

---

<div class="post-metadata">

**Author:** ![Kiwiphoenix364](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/kiwiphoenix364/32/14368_2.png) [@Kiwiphoenix364](https://forum.makecode.com/u/Kiwiphoenix364)\
**Post date:** [January 9, 2022, 8:04am UTC](https://forum.makecode.com/t/music-requests/6454/27 "2022-01-09T08:04:42Z")

</div>

@UnsignedArduino I don’t want to go to the trouble of learning python and downloading the python computer app (or having to ask you to convert the music every tijme), so is there some way to make a program/.exe (or windows batch file) that you can drag a midi file to, and it would automatically convert the midi into makecode, or would this take too much time/be impossible. It’s TOTALLY OKAY if you don’t, but I was just asking if it would be possible.

---

<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 10, 2022, 6:22pm UTC](https://forum.makecode.com/t/music-requests/6454/28 "2022-01-10T18:22:42Z")

</div>

I’ve published a release where you can download a binary for Windows 64bit 🙂 I’ve also updated the README on how to download and use it.

---

<div class="post-metadata">

**Author:** ![Kiwiphoenix364](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/kiwiphoenix364/32/14368_2.png) [@Kiwiphoenix364](https://forum.makecode.com/u/Kiwiphoenix364)\
**Post date:** [January 10, 2022, 9:15pm UTC](https://forum.makecode.com/t/music-requests/6454/29 "2022-01-10T21:15:19Z")

</div>

I downloaded the .EXE and I tried to run it in powershell, but what is “\< arguments\>” and how do you “pass in a path to a MIDI file” (sorry for so many questions, but I havn’t used powershell like at all besides installing forge for minecraft mods) I also tried to open the midi file with the .exe but that just generated an empty .txt document.

---

<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 11, 2022, 12:28am UTC](https://forum.makecode.com/t/music-requests/6454/30 "2022-01-11T00:28:34Z")

</div>

I like command prompt more than Powershell 🙂 You should also download the Windows Terminal as well - it’s a Microsoft Store app and it’s _sooooooooo_ much better than command prompt’s window.

Also here’s a video: (Discourse doesn’t like MKV/MP4 and I’m unable to resize/compress the GIF to fit the 4MB limit)

> **[Video on creating musical images · Discussion #1 ·...](https://github.com/UnsignedArduino/Musical-Images-Generator/discussions/1)**
>
> create\_musical\_image.mp4 (there is no sound, so you won't here the song at the very end)

---

<div class="post-metadata">

**Author:** ![Kiwiphoenix364](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/kiwiphoenix364/32/14368_2.png) [@Kiwiphoenix364](https://forum.makecode.com/u/Kiwiphoenix364)\
**Post date:** [January 11, 2022, 5:20pm UTC](https://forum.makecode.com/t/music-requests/6454/31 "2022-01-11T17:20:18Z")

</div>

I just figured out that the midi files I was using were the problem. Thanks for the video though! I set command prompt as my default app for that and it works perfectly, but also, I found out that I could just drag the file onto the .exe and I wouldn’t have to type anything. It’s super fast. Also, I didn’t know that stuff can by copy/pasted into the editor (although I had the width set to 256 instead of 512 and I couldn’t figure out what was wrong for like half an hour lol) Thanks for your help. Here’s a song that I converted that sounds pretty good:

> **[SMB3 Boss Battle](https://arcade.makecode.com/69951-30363-66089-78829)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

---

<div class="post-metadata">

**Author:** ![xan](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/xan/32/5840_2.png) [@xan](https://forum.makecode.com/u/xan)\
**Post date:** [February 21, 2022, 11:53pm UTC](https://forum.makecode.com/t/music-requests/6454/32 "2022-02-21T23:53:22Z")

</div>

Hey, sorry for writing this on dead post @UnsignedArduino but I tried to make super mario theme music with your tool and it doesn’t sound right. Have you tried this before?

---

<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:** [February 22, 2022, 5:35pm UTC](https://forum.makecode.com/t/music-requests/6454/33 "2022-02-22T17:35:51Z")

</div>

It’s not the best - only good with songs that have a consistent beat 😕

---

<div class="post-metadata">

**Author:** ![Kiwiphoenix364](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/kiwiphoenix364/32/14368_2.png) [@Kiwiphoenix364](https://forum.makecode.com/u/Kiwiphoenix364)\
**Post date:** [February 22, 2022, 7:14pm UTC](https://forum.makecode.com/t/music-requests/6454/34 "2022-02-22T19:14:37Z")

</div>

@UnsignedArduino, I know you’re probably done with this extension/program, but is it a bug or intended (because the format is wrong, or it has not the right timing or something) that some midis make blank .txt files?

---

<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:** [February 22, 2022, 11:06pm UTC](https://forum.makecode.com/t/music-requests/6454/35 "2022-02-22T23:06:26Z")

</div>

Did an exception occur? (if so can you print it)

---

<div class="post-metadata">

**Author:** ![LazyCat](https://avatars.discourse-cdn.com/v4/letter/l/ecc23a/32.png) [@LazyCat](https://forum.makecode.com/u/LazyCat)\
**Post date:** [May 2, 2022, 4:48pm UTC](https://forum.makecode.com/t/music-requests/6454/36 "2022-05-02T16:48:56Z")

</div>

Hi can you pls make mii chanel music in makecode arcade  
heres the link[:](https://www.youtube.com/watch?v=3xny-xwQ9-k)

---

<div class="post-metadata">

**Author:** ![DahbixLP](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/dahbixlp/32/4760_2.png) [@DahbixLP](https://forum.makecode.com/u/DahbixLP)\
**Post date:** [June 20, 2022, 4:58pm UTC](https://forum.makecode.com/t/music-requests/6454/37 "2022-06-20T16:58:30Z")

</div>

Hi there! Please make the F1 theme!

---

<div class="post-metadata">

**Author:** ![Segatendo](https://avatars.discourse-cdn.com/v4/letter/s/898d66/32.png) [@Segatendo](https://forum.makecode.com/u/Segatendo)\
**Post date:** [June 21, 2022, 5:01pm UTC](https://forum.makecode.com/t/music-requests/6454/38 "2022-06-21T17:01:37Z")

</div>

or could you post a tutorial on how to use this and the musicalimages extension? please

---

<div class="post-metadata">

**Author:** ![Segatendo](https://avatars.discourse-cdn.com/v4/letter/s/898d66/32.png) [@Segatendo](https://forum.makecode.com/u/Segatendo)\
**Post date:** [June 21, 2022, 5:02pm UTC](https://forum.makecode.com/t/music-requests/6454/39 "2022-06-21T17:02:14Z")

</div>

could you do the first two eggman boss battles please?

---

<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:** [June 21, 2022, 6:04pm UTC](https://forum.makecode.com/t/music-requests/6454/40 "2022-06-21T18:04:56Z")

</div>

> [@Music requests](https://forum.makecode.com/t/music-requests/6454/22):
>
> I’ve been using a new extension that doesn’t generate JavaScript - it generates MakeCode Arcade images that it will parse using an easy-for-a-robot-to-generate-but-not-easy-for-humans-to-make format. So it’s easier to copy and paste a bunch of images into an image editor than to switch to JavaScript, create a new .ts file, paste in JavaScript, pray to the gods of MakeCode Arcade and switch back to blocks hoping nothing has been screwed up. The extension is here: I’ve written a Python script t…

Done it already.

Please note I’m not accepting music requests anymore. (not because of anyone in particular)

[Previous page](https://forum.makecode.com/t/music-requests/6454.md?page=1)

[Next page](https://forum.makecode.com/t/music-requests/6454.md?page=3)
