ArcadeMIDI extension

A new and improved version of Musical-Images, I’m introducing the extension ArcadeMIDI!

Import this extension with the URL: https://github.com/UnsignedArduino/ArcadeMIDI

Blocks available

If you use it in TypeScript, there are more primitives exposed in the ArcadeMIDI namespace, should you wish to use them/experiement with them. (PRs anybody?!?!?! :eyes: :grin: )

Example:

More examples

I think they are quite good, for songs that basically haven’t been optimized at all for ArcadeMIDI. :slight_smile: (only glissandos have been removed)

Now, as usual, I’ve made a Python script to generate the images needed, like last time. But this time, I’ve also ported it to TypeScript so it can run in the browser! You can see the site at https://arcademidigeneratoronlinemain.gatsbyjs.io/. (Source code for the generator, not the extension here) The website is pretty self-explanatory - select your MIDI file, wait a bit, (the page will freeze while processing - I’m unable to figure out how to get web workers to work with Gatsby, the framework I’m using) and some buttons will pop up, allowing you to just click to copy that image to the clipboard. You can then paste it into Arcade!

Tips on using the most out of the ArcadeMIDI extension and the online converter
  • Big, complicated, and/or fast MIDI files will make big images and tax Arcade more! The bigger and more complicated the MIDI file, the lower the chance of it working on hardware! It
  • Staccatos don’t sound good most of the time, as we don’t have “reverb” so the time span of the note will be very short! Try removing them in your music editor before exporting to MIDI if it doesn’t sound good!
  • Glissandos sound terrible!
  • Higher pitched notes will sound more prominent than the lower pitched notes, so take that into account when score writing/editing.

It’s definitely not perfect, so as always, suggestions, bug reports, and PRs are always accepted! (even on the site too)

Enjoy! :slight_smile:

7 Likes

NEVER GONNA GIVE YOU UP

3 Likes

This is awesome! Can’t wait to use it in some projects

2 Likes

OMG! This is absolutely amazing! :smiley: :smiley: :smiley: This is going to be helpful for my coding! Thanks so much! Oh, and by the way, a sacred sentence is below this message. Can you guess what it is? :thinking:

:musical_note: Never gonna give you up… :musical_note:

4 Likes

do you know whats wrong with this ? it sounds so good at the start and goes downhill i dont know why :smiling_face_with_tear:

1 Like

Ow my ears…

Also I think it sounds bad because the high notes are louder than the soft notes. Also there’s no “instruments” in arcade so it could sound worse, especially with complicated songs. But idk for sure because I didn’t make the converter.

1 Like

lol not clicking it XDDD

@Kiwiphoenix364 is right, the high notes are louder then the lower notes. If you know music, you may be able to edit it out or make the higher parts quieter.

Maybe another tip in general when using this extension: it helps a lot when trying to optimize usage of this extension.

2 Likes

TBH this is an amazing extension

(I made a modification to make it sound a little bit better, suggestion for the extension @UnsignedArduino, it would be nice to set the tempo of the song)

1 Like

This can be adapted to Jacdac in simulator. I have not yet loaded it onto a Microbit plugged into Kittenbot Newbit ; unfortunately addon speakers will not work with pins on Newbit for Arcade until the system is updated as should be possible since pinouts on Kittenbot Jacadaptor work with amplified speakers, and Kittenbot makes Newbit also. Is there anyway to make neopixels in simulator responsive to music notes ?
https://makecode.com/_eaH4RceyeExF

1 Like

The converter should respect the set_tempo MIDI message, so if your software exports that, then it should play at that speed.

But a speed multiplier wouldn’t be that hard to add

1 Like

ok i know no one is taking any requests but just could someone do one for me please
its the trooper by iron maiden
i really love the band and i was making a game with samurai eddie as the player
if you could do that id be so happy

1 Like

hey @Kiwiphoenix364 i used your duck tales theme and i replaced it with the sonic boss theme and it actually sounds good and if you remove the forever block then itll sound absolutely TERIBBLE and hurt your ears

here it is

1 Like