MIDI Support?

Before I leave this topic alone, I wanted to say that I understand now why midi is no longer supported in MV. The number of people using MIDI in their games is really small (as well as people which are using 200+ tracks ;-) ). Adding multi-platform midi support would have added effort and cost to MV which would have either lessened the profit for Kadokawa or raised the cost for every user.

For me this discussion was very valuable and I've learned so much about music, in this and because of this thread. Especially these last arguments made me google and read a lot about music to reason for MIDI and now I have 7 new VSTs and tons of retro sample libs which will keep me busy for the next weeks and months ;-). Meanwhile I am not so sure anymore if I would like to have a simple MIDI player or rather a synth to play more formats like mod and xm....
Before I leave this topic alone, I wanted to say that I understand now why midi is no longer supported in MV. The number of people using MIDI in their games is really small (as well as people which are using 200+ tracks ;-) ). Adding multi-platform midi support would have added effort and cost to MV which would have either lessened the profit for Kadokawa or raised the cost for every user.

For me this discussion was very valuable and I've learned so much about music, in this and because of this thread. Especially these last arguments made me google and read a lot about music to reason for MIDI and now I have 7 new VSTs and tons of retro sample libs which will keep me busy for the next weeks and months ;-). Meanwhile I am not so sure anymore if I would like to have a simple MIDI player or rather a synth to play more formats like mod and xm....
Very well said.  MIDI had its uses in games years ago, but nowadays, OGG is the current standard due to how flexible it is and how small in filesize it is compared to other lossless audio formats that are effective for game audio.

As for a means to play module music...I've been wishing for that since the 2000 days, but I know it'll never happen.  Why?  No one in this community, except for me, likes to work with music tracking software.  Guess it's not flexible enough for them?  Yet I've worked on some pretty awesome tracks, even with VST's like Kontakt and SampleTank, in OpenMODPlug (if you care to go that route like I've done several times).  The lovely thing about tracked music is the ability to switch to several looped/non-looped sections in the same file with simple commands to have complete control over the music, but oh well.  I can continue to dream some more, right? lol
If you want an easy way to convert midi songs to mpeg-4 and ogg files, here's the method I've used.

1. Get thee a midi you want so desperately.

2. Download Audacity. It's free. I'm a cheap rear end in a top hat.

2. Visit solmire.com. Tweak settings as you wish for quality. BE SURE TO SELECT FULL LENGTH.

3. Convert and check to see if the mp3 product is to your liking.

4. IMPORT AUDIO in Audacity, namely, the mp3 you just got done making.

5. EXPORT AUDIO in the form of Ogg Vorbis AND m4a (aac) files to the same folder you want all your musics in.

6. Test in rpg maker mv.

7. Weep and tremble with joy and fear, sorcerer. You have successfully defied the will of God, the very inertia of the cosmos. Pray that he deems your transgression insignificant. If you hear a loud rumbling, as if the very air was being sundered, and the stern calling of your name by a multitude fierce and perfect, as if the very stars cursed your wickedness, put out your eyes with a silver dagger and lament your birth, that you may be given the lesser sentence of a swift death and a million years purgatory, lest you be stricken from the record of history, birth, life, and not-death in all.

8. The above will probably not happen. So, uh, make whatever noise of jubilation you want, then do it as many times as you have songs.
Hmm... I am working around the VX midis at the moment, and when I play the soundtrack and it's almost at the end, it jumps not to the beginning but to a fitting position to continue the music seamlessly. That means that the midi file is looped, but where can I find this jump and with which tool? I have used MidiEditor to clear out tracks and channels for conversion to VST instruments, but even when I identified most midi controls, I couldn't find the jump instruction.

Any idea how that works?

@Crazy Rob: Not sure if uploading licensed music to a random website is a good idea, but other than that, cool and easy work order and check list ;-)
Try Anvil Studio. If it doesn't display the loop in musical notation, it at least lets you peep at the raw midi messages and - for some of them - gives you a human readable name. Unfortunately, I don't know if it shows Song Position Pointer, since that's a system exclusive message.
Well this can be accomplished with a plugin which will require an audio library and probably a dll, but just converting from midi to ogg should be a simpler task.
I'm being perfectionist when I'm converting MIDI to ogg format. At some occasion, the MIDI sounds better than the converted ogg file. Plus, it's has very small file size. I don't always think mp3/ogg are better than MIDI because MIDI has their own charm for me.


I'm still waiting when MV is finally be able to support MIDI without me need to convert it (although I believe it sounds unlikely)
The thing is, how good the MIDI sounds is entirely dependent on the hardware on the player's computer. This is the disadvantage of MIDI and it is a major one in a world of ubiquitous MP3s
Was it with RPG Maker VX Ace, though? Because I think VX Ace had a built-in MIDI player, so it should have sounded the same on every computer. I'd like to see something like that in MV.
Was it with RPG Maker VX Ace, though? Because I think VX Ace had a built-in MIDI player, so it should have sounded the same on every computer. I'd like to see something like that in MV.



Nope, Ace was using the midi synth of Windows. On Linux and Mac you had to include a 3rd party soft synth to support midi tunes.
The thing is, how good the MIDI sounds is entirely dependent on the hardware on the player's computer. This is the disadvantage of MIDI and it is a major one in a world of ubiquitous MP3s

Which is yes I understand why MV took this way, also one of the reasons I don't work in MV

Nope, Ace was using the midi synth of Windows. On Linux and Mac you had to include a 3rd party soft synth to support midi tunes.

One question though, if it was using midi synth of windows, how could it sounds different? I mean, when I listen to other media player, it sounds bland (is that a right word tho?), but in RPG Maker, the midi sounds like they've remastered. 
One question though, if it was using midi synth of windows, how could it sounds different? I mean, when I listen to other media player, it sounds bland (is that a right word tho?), but in RPG Maker, the midi sounds like they've remastered. 



Sorry, but I have no idea. I've translated the songs with TiMidity++ and for me they sound like they sounded before as the midi sounds in Ace.
Yeah, I agree with TheoAllen, the MIDI sound from RPG Maker VX Ace was different from a MIDI played with an audio player like Winamp. That was the reason for me to believe they had their own MIDI thing going. 
Yeah, I agree with TheoAllen, the MIDI sound from RPG Maker VX Ace was different from a MIDI played with an audio player like Winamp. That was the reason for me to believe they had their own MIDI thing going. 



Hmm... are you sure you are using the Microsoft GS Wavetable synth in Winamp? In Winamp go to: Preferences > Plug-ins > Input > Nullsoft MIDI Player > Devices Tab. I am not 100% sure, but it's most likely that Winamp is using its own Coolsoft VirtualMIDISynth Device (in_midi.dll) for MIDIs. Change that to Microsoft GS Wavetable Synth and play your MIDIs again.
I recorded a quick comparison when MIDI played not in RM and in RM.


This is not winamp, but my winamp is close enough to this


Sorry if I used a video, but I don't know how to record sounds directly from computer
Hmm... if you remove the Midi Synth of the OS then Ace either mutes or crashes. If you change the midi synth like to virtualmidisynth with a different soundfont, then RM sounds different. If you play an RM Ace game under Linux/Wine without having installed a midi synth it will not play a single midi tune, while playing ogg and mp3 without any problem. If you install Timidity as midi server for Wine, then RM is again playing midi. So, not sure what else to say. I have no insight of the internal processes of RM, but that's how it works.
That sounds like RM adds a reverb effect and a low-pass filter - which just emphasizes the point about not using MIDI.
I like those reverb effect though. better than vanilla
Me too. 🙂

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