HOW TO USE:
1. Download the Byte Reader for Scratch:
https://goo.gl/W08i94
2. Import a file into the Byte Reader, copy the text and paste it after clicking "Import..." in the project.
3. Click play.
Thanks to the motivation of classmates (
@halodmg), I've created somewhat of a MIDI parser and player in Scratch. I did too much research for this, looked through lots of false documentation, and wasted hours figuring out why the channels would never sync up.
NOTE:
If you even try to actually use this, you'll notice right away that it is not perfect. The notes play at inappropriate lengths, the sound may get extremely loud and annoying, but for the most part, the notes and times import pretty well.
If you want some ones that work pretty good in the project already, click See Inside, click on Stage, and use the ones there.
Or here:
https://scratch.mit.edu/discuss/topic/236603/
VERSION HISTORY:
v1.4.0 -
-Changed channel 10 to work as the drum channel. Thanks to
@DevanWolf for telling me about this!
v1.3.0 -
-Stopped notes from playing twice, although this does create another problem where some notes don't play at all
-Changed the background of the player
-Added a Clear Cache block that deletes all values from lists which would prevent the project from being saved
v1.2.0 -
-Added a NoteLength variable to change how long the notes play for
v1.1.0 -
-Added a stop button to stop playing the MIDI
v1.0.0 -
-Release