This may be a bit of a stretch, but is it possible for midi of mp3 music to be played in Makecode Arcade’s hardware? If this were possible, I’m guessing it would probably be done through an extension with custom sound effects, where the sound effect is the song itself.
I’m just curious, and wondering if it’s possible at all.
1 Like
There was some user using a midi to makecode exension, no custom sounds needed! ArcadeMIDI extension
1 Like
All supported MakeCode Arcade hardware has the processing power to play MP3s, most likely MIDIs too. Unfortunately, you cannot place raw samples into a buffer to play using MakeCode Arcade APIs, so this would have to be supported by Arcade itself. Plus, moderating this online would be a nightmare. So you cannot currently do this in Arcade.
Most of the Arcade hardware can run CircuitPython, (a derivation of MicroPython, which is a derivation of regular Python designed to run on microcontrollers) and it can play MP3s. Arduino (A C/C++ “toolchain”) is probably supported on all the Arcade hardware, which can also play MP3s. I’m not sure about MIDI, ESP8266Audio (an Arduino library) may work for Arcade hardware, haven’t tried it out yet.
1 Like
@Spaghetti_Coder, kind of.
@UnsignedArduino made a MIDI extension (you’ll have to check their thing) but other than that an mp3 takes way tooo much storage.
1 Like