11 days ago

IDEA: Full MIDI compatibility.


Short summary: This is a compatability-only extension that allows for compatibility with the computer's MIDI sound driver, such as Windows computers, Android phones (I think) and so on. This is great for 90's-like PC games, as they often used MIDI, due to its small file size.

How it works: The MIDI extension will have a few blocks available. I made these mockups (I feel like we could keep the red, but IDK) I don't think these should be the only blocks, but these are all I can think of right now.

screenshot_13-4-2025_81424_scratchblocksgithubio.jpg

They are all quite self-explanatory, so I will not explain. I don't know how MIDI's can get imported, but since they are all just strings of code that your computer articulates to generate music, I am guessing you can use the import MIDI block to add all of the MIDI code into a list that the engine then runs through to send data to the computer to play the audio.

The set instrument bank block is basically for setting what instruments can and can't be used. I won't be surprised if GM Level 1 and 2 are the only ones that get used, however it would be cool if we could also use the MT-32, GS and XG instrument lists.

And like I said, MIDI files are VERY small. One of the longer ones I have is 131 kilobytes (Most of them are under 80!). A .mp3 that I have which is nearly the exact same length is over 1 megabyte. So, if we add full compatibility to this, we could still have good sounding music, with WAY less file size (especially for big games that rely on music)

This doesn't have to be used, but I do not want to waste over 1 gigabyte of data just because I want to use a lot of GM-sounding music. (Yes, it really is over 1 gigabyte. Man, if only we had full MIDI support which would only make it about 2-5 megabytes!)



1 comment

Loading...

Next up

Screenshots of the new WIP Rhinobot Framework Rework (some tweaks had to be made to make it fit on Penguinmod & 16:9 better) You also get to see Sonic's new sprites, and such.

Also, Demo 3.1 is back.

Read the Article.

dev log 1 [LOOK AT ARTICLE]

Thank you all SO MUCH for one year on Game Jolt!

Can we make it to two?

missed him?

gonna set up a teaser really soon. some stuff I plan to add in this new version of Clay OS (4.0):

- Document editing

- A file saving/storing system

- The internet

- Text-based AI

Thanks to me using Penguinmod now, this should be a breeze.

what he lookin at?

I know it's kind-of ironic, but the music here is a placeholder. However, atleast it sounds good. 😀

Anyway, I'll say I got about half of Sonic's sprites in. There's still a lot more to go.

I don't think I shared this in a while... wait, did I even share it? Anyway, read the article- it's important to the game.

#screenshotsaturday

(this is of project'89 alpha v5, a super mario world beta enhancement on scratch)