Hey can you do the song EYE by Kanaria.
(Used this sheet music)
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.
Full Version= https://www.midi-karaoke.info/21b82fd9.html
The extension is here:
I’ve written a Python script to take a MIDI file, do some mediocre black magic, and generate okay images:
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 on a PyGamer which seemed to be fine.
@UnsignedArduino can you please make the song believer with sound effects
Already done this before:
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.
What do I have to do with the requirements file ?
when I click on main nothing happens
You will have to install the dependencies in
pip: (it should be installed with Python)
pip install -r requirements.txt
main.py at the terminal: (it’s not a GUI app)
python main.py <the path to the MIDI file>
@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.
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.
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.
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)
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:
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?
It’s not the best - only good with songs that have a consistent beat
@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?
Did an exception occur? (if so can you print it)
Hi can you pls make mii chanel music in makecode arcade
heres the link: