MIDI Support?

Not sure if I am in the right place here. I found a script that is playing MIDI (http://galacticmilk.com/midi-js/). But I have no idea how to use it inside RPG-Maker MV yet.

I also found this (



) but it's in Japanese 🙁 .
You're right, I was only thinking of RMS normalization.
Now the big question... If i take a "commercial" midi... Let's say: Final Fantasy bla - Sad Theme (Nobuo Uematsu) from vgmusic.com...

Then i convert it to .ogg with a soundfont... What is this then? I mean... Could i be sued for breaking copyright if the origin is MIDI?

(if the game is sold).
In the shortest terms possible Yes. Even if the game is free. The composition belongs entirely to the owner, no matter how one wants to break apart and reconstruct it.
 
What is this then? I mean... Could i be sued for breaking copyright if the origin is MIDI?


(if the game is sold).
It doesn't matter what the format is originally in or if the game is commercial or not - if you use a music written by someone without the licence from that someone, you're in violation of copyright and can be sued.
I guessed so. So the only "benefit" would be if i could make midis on my own or use 100% free midis. Thx for the answers.

What about free to DL and credit the composer? Just out if interest.
it doesn't matter what it is or how you call it - if an artist places his/her own works online then you'll be bound to the terms-of-service that artist places with them online.


And it is YOUR responsibility to check a source if that is really the artist or someone pretending to be the artist while posting ripped resources.


Credit should always be given, but giving credit does not allow you to break the TOS.
I guessed so. So the only "benefit" would be if i could make midis on my own or use 100% free midis. Thx for the answers.

What about free to DL and credit the composer? Just out if interest.
Unless you mean a Creative Commons-type license, no.

That said, there is so much music out there that is licensed this way that there is no need to violate copyright. You might also want to try contacting the Harry Fox Agency, explain how you intend to use the songs, and they'll tell you how much it will cost to license if they own that song. It's cheaper than you think.
Thx guys! I'll keep that in mind. In this case i stick to the "RTP" .oggs^^
Does anyone know more about that MIDI-JS thing? How to make it work? Or are there any other news as far as MIDI support for MV is concerned? I'm still not satisfied with the results of my by now hour-long trying of different sound fonts. Some native MIDI support would be much better. Even if it's only the one VX Ace used. Can that be recreated somehow?
The most reliable solution is converting the MIDI into MP3 then making into a looping OGG with Audacity.

There's two good websites that can convert your files. http://hamienet.com/midi2mp3 is one of them. There's also http://solmire.com which seems to have more soundfonts.

As for converting and looping the track with Audacity, there's a tutorial somewhere in these forums.
RPG-Maker Ace is using the MIDI subsystem in Windows to create the sound output which should be Canvas 55 (MPU-401). Up to Windows XP, Microsoft was using VDMSound and I don't think that this has changed in later versions. Ater a quick search in google I found this: (



), haven't checked license! You can maybe also refer to the VDMSound Forum (https://en.wikipedia.org/wiki/VDMSound).
Almost all of my background music in my recent project is midi and I would also be interested in using MIDI in MV than to create a WAV out of it.

And if you going to 'convert' your midi to mp3 try this (https://vsl.co.at/en) for a better sound experience... just joking ;-)
Does anyone know more about that MIDI-JS thing? How to make it work? Or are there any other news as far as MIDI support for MV is concerned? I'm still not satisfied with the results of my by now hour-long trying of different sound fonts. Some native MIDI support would be much better. Even if it's only the one VX Ace used. Can that be recreated somehow?
I THINK there is one major issue with using raw MIDI files for your music - and I'm not 100% sure on this, one of the more experienced people feel free to correct me if I'm wrong - but if you're using raw MIDI, it's going to play with whatever MIDI, SF, or whatever your end user (player) has set as default on their computer. If you like the sound of the base MIDI in Windows, then that will probably work as intended for ~80% or more of the people who play your game. Anyone who has messed with their MIDI settings, or anyone with broken MIDI settings (my computer didn't have a MIDI controller installed by default for some reason, Win 8.1) will experience the music in an entirely different "font", which could be better or worse depending on what they have installed.

If you want it to sound like your base MIDI file, I think it's still better to "bake" that song out to an .OGG for final use in your game, so you have your sound the way you want it, not leaving it up to the player's PC for interpretation.
The main issue is that Microsoft stopped supporting MIDI out of the box with Windows 7, so users will have to install a MIDI controller. A minor issue compared to that is that there's no way to ensure a MIDI file sounds the same on anyone else's computer. While there is a standard for patch names, there has never been a "universal soundfont." Do you really expect your players to download the soundfont you specify, or even install a controller? A further issue is that the technology, as a format for reproducing music on the computer, is dead. Not just Mostly Dead, but All Dead. It's been dead for over 10 years and using it today as a file format for distributing music is akin to necromancy.
The main issue is that Microsoft stopped supporting MIDI out of the box with Windows 7, so users will have to install a MIDI controller. A minor issue compared to that is that there's no way to ensure a MIDI file sounds the same on anyone else's computer. While there is a standard for patch names, there has never been a "universal soundfont." Do you really expect your players to download the soundfont you specify, or even install a controller? A further issue is that the technology, as a format for reproducing music on the computer, is dead. Not just Mostly Dead, but All Dead. It's been dead for over 10 years and using it today as a file format for distributing music is akin to necromancy.
Well, I understand what you mean, and I was not trying to convince anyone here to use MIDI. The thing is that I have 200 tracks for BGM+BGS+ME in my project, which have a size of 1.2 mb (uncompressed). And when take my preferred sample lib and produce WAVs from them they grow to a size of 200mb as high compressed OGG with noticeable quality loss or 342mb as less compressed OGG in high quality.

The solution I targeted was to embed the synth in the game (which is a common solution today). But there is more to care for, the sample lib needs to be embedded as well and I don't know how big that is and if my license I use to produce WAVs is sufficient to redistribute the samples alongside a midi synth in my game.

However midi isn't dead, it is used in the music industry and is supported in all major game engines as well as in .net (Windows, Xbox, windows mobiles) and JRE (Android and any common java device). And your opinion about old technologies made me wonder, because we are creating retro games with 16x16 up to 48x48 pixel 2d pixel graphics here.
True, MIDI remains an efficient communication protocol between electronic instruments and DAWs. But as a music distribution platform, it's a mindless animated corpse.

OpenTTD, Freeciv, CorsixTH, and other retro remakes have replaced the original MIDI tracks with MP3s or OGGs produced from the MIDI using samples. They still use pixel art, because pixel art is timeless. It's art. But MIDI isn't the equivalent of pixel art. Chip tunes are, but your statement about lossy OGG suggests that's not what you have.

It sounds to me like you're concerned about how much space the zipped game takes up. My question is WHY? Everyone has broadband, HDDs are measured in terabytes these days, and the art is going to take up a lot of room anyway.
Everyone has broadband, HDDs are measured in terabytes these days, and the art is going to take up a lot of room anyway.
  • No, they don't.
  • Not everyone has that much space, plus find me a phone with space measured in TB.
  • No, it isn't, unless you parallax map all the things.

They still use pixel art, because pixel art is timeless. It's art. But MIDI isn't the equivalent of pixel art. Chip tunes are, but your statement about lossy OGG suggests that's not what you have.
Your argument is really quite invalid. Let's illustrate the difference between old-school console ("chip tune") music and MIDI (well, rather loose description)...

  • Console: Designed with individual notes and based on a sound font. Tiny because the actual sound data is stored in the sound font.
  • MIDI: Designed with individual notes and based on a sound font. Tiny because the actual sound data is stored in the sound font.
Now wait a minute, those sound like they're exactly the same. Perhaps there are technical differences, but the result is the same. It basically runs through a script that tells the player which sound to play, when to play it, and what modifications need to be done.

Note: Hardly a music expert; just picked up a bunch of various info while playing with random music generators and finding way to make the resulting MIDI sound good. Frustrated by people hating MIDI because MIDI. Rather akin to people hating RM because RM.
  • No, they don't.
  • Not everyone has that much space, plus find me a phone with space measured in TB.
  • No, it isn't, unless you parallax map all the things.


Your argument is really quite invalid. Let's illustrate the difference between old-school console ("chip tune") music and MIDI (well, rather loose description)...

  • Console: Designed with individual notes and based on a sound font. Tiny because the actual sound data is stored in the sound font.
  • MIDI: Designed with individual notes and based on a sound font. Tiny because the actual sound data is stored in the sound font.
Now wait a minute, those sound like they're exactly the same. Perhaps there are technical differences, but the result is the same. It basically runs through a script that tells the player which sound to play, when to play it, and what modifications need to be done.

Note: Hardly a music expert; just picked up a bunch of various info while playing with random music generators and finding way to make the resulting MIDI sound good. Frustrated by people hating MIDI because MIDI. Rather akin to people hating RM because RM.
1. "Everyone" being a bit hyperbolic and "broadband" being US definition of 3G or better.

2 & 3. So the entire space your game takes up, uncompressed, is less than half a GB? Are there really phones that can't handle that yet can still run the game? My last dumbphone had more space than that, and played MP3s too.

I think you misunderstood what I mean by chip tunes. I'm referring to the sampled beeps and buzzes produced by old school consoles, NOT the note data. MIDI can only refer to the note data, since how it sounds is entirely up to the synth. Apples and oranges.

Don't get me wrong, I don't hate MIDI. I've made plenty use of it myself. But I get frustrated by people who love MIDI because MIDI. If you want to embed the synth and the license allows you to use the samples this way, because that's how you roll, more power to you. But it sounds to me like you can't wrap your head around 500MB not being a lot.
But it sounds to me like you can't wrap your head around 500MB not being a lot.
It sounds to me like 500MB has never been anything but trivial to you. Have you ever had a data cap on your home internet? An older, but capable, computer with a small hard drive? Ever use dialup or satellite internet? 

Some people and places have one or more of the above limitations. To some people, 500MB is a heck of a lot.

Just because you're not one of them, maybe you can try to have some understanding for those that are, and not go "midi lolno."

That aside, this is a post asking about the possibility of midi support, not asking for reasons not to use it. I plan to poke the midi js library with a stick later and see what happens.
You're right. I don't know what I was thinking. Sorry about that.

Original thread: https://forums.rpgmakerweb.com/threads/midi-support.46564/