Guide: Setting up remote MIDI emulation (Midilink, Munt, Windows)

User avatar
jrronimo
Posts: 56
Joined: Sat Jul 04, 2020 6:03 pm
Has thanked: 8 times
Been thanked: 3 times

Guide: Setting up remote MIDI emulation (Midilink, Munt, Windows)

Unread post by jrronimo »

I wrote this up in the ao486 section, but it should be applicable to any core that can use Midilink should work with this. I couldn't find all the answers in one place, so hopefully this will help in the future:

This guide will allow you to set up Munt, the Roland MT-32/CM-32L emulator, on a Windows PC and have a MiSTer core send its data over the network to that computer, which will play MIDI sounds. If your game/program also has sound generated by the Sound Blaster card at the same time, you will need to combine the inputs. For example, you can use the audio out of an HDMI to VGA adapter to the Line In on the computer running Munt, then plug your headphones or speakers into that computer to hear both at the same time.

1. Get Tobias Erichsen's LoopMIDI from here
- Install it and run it.
- Once LoopMIDI opens, click the "+" at the bottom. It should add a line that says "loopMIDI Port"

2. Get bbond007's UDPMIDI.EXE from here -- Windows will complain the file isn't safe or commonly downloaded, but it's fine. Either that or bbond007's got all my credit card information now. 😆
- Run it
- On the line that says MIDI Device, click the dropdown arrow and choose the number that also says "loopMIDI Port"
-- Note: If you run UDPMIDI before LoopMIDI, UDPMIDI won't see the LoopMIDI port.

3. Download and install the Windows version of Munt, here
- Run it
- Select Options -> ROM Configuration and tell Munt where your CM-32L or MT-32 ROMs are.
- Click Tools -> New MIDI port...
- Select the line with "loopMIDI Port"

4. You need to edit the /media/fat/linux/MidiLink.INI file on your MiSTer. I prefer the editor 'nano' for things like this.
- Use PuTTy to SSH in to your MiSTer by putting in its IP address (From the MiSTer Main Menu, press F12, then the left arrow key and it will display your MiSTer's IP)
- Login with root/1
- Use the command: nano /media/fat/linux/MidiLink.INI
- Edit the line that says "UDP_SERVER" to have the IP address of your Windows computer
- Press "CTRL+X" to exit; press 'y' to save changes, then 'enter' to write the changes.

Now, fire up ao486 and change the UART MidiLink: setting to Remote (type is UDP, but that should be default).

Start up Space Quest 3 (or whatever!) and enjoy!
flynnsbit
Posts: 122
Joined: Sun May 24, 2020 8:07 pm
Has thanked: 7 times
Been thanked: 18 times

Re: Guide: Setting up remote MIDI emulation (Midilink, Munt, Windows)

Unread post by flynnsbit »

Thank you for this! I had MIDI on my list for this weekend.
User avatar
jrronimo
Posts: 56
Joined: Sat Jul 04, 2020 6:03 pm
Has thanked: 8 times
Been thanked: 3 times

Re: Guide: Setting up remote MIDI emulation (Midilink, Munt, Windows)

Unread post by jrronimo »

flynnsbit wrote: Fri Oct 16, 2020 11:45 pm Thank you for this! I had MIDI on my list for this weekend.
Happily! I've always dreamed of having an MT-32, and it took a little longer than I'd hoped to figure this all out, so I'm glad it helped. :D
JonnyTenebrous
Posts: 3
Joined: Tue May 26, 2020 11:27 am
Has thanked: 2 times
Been thanked: 1 time

Re: Guide: Setting up remote MIDI emulation (Midilink, Munt, Windows)

Unread post by JonnyTenebrous »

@ jjronimo

Huge thanks for this guide! I've been wandering around down the rabbit hole trying to figure out how to connect up all this stuff for the last few days... and I was already about halfway there, but this just lays it all out clearly. MT-32 emulation on my Windows PC with a great Amp/DAC, feeding some nice Sennheiser headphones, while the MiSTer handles the digital audio and gameplay... it's just amazing! The dream DOS experience!
User avatar
jrronimo
Posts: 56
Joined: Sat Jul 04, 2020 6:03 pm
Has thanked: 8 times
Been thanked: 3 times

Re: Guide: Setting up remote MIDI emulation (Midilink, Munt, Windows)

Unread post by jrronimo »

JonnyTenebrous wrote: Sun Nov 15, 2020 12:18 pm @ jjronimo

Huge thanks for this guide! I've been wandering around down the rabbit hole trying to figure out how to connect up all this stuff for the last few days... and I was already about halfway there, but this just lays it all out clearly. MT-32 emulation on my Windows PC with a great Amp/DAC, feeding some nice Sennheiser headphones, while the MiSTer handles the digital audio and gameplay... it's just amazing! The dream DOS experience!
You're most welcome! Glad to hear you're getting all the audio through and it's working great. I'm so happy with the way it sounds. I'd love a real MT-32, but this method is quite a bit cheaper. 🤣
Post Reply