(In response to --> viewtopic.php?p=1701#p1701)
Purpose:
To use Raspberry Pi as an external UDP MIDI device running Munt (or FluidSynth). --> https://youtu.be/4bIEVzRiq0I
Why? The HPS/ARM is on the low-end as far as performance for Munt and can exhibit tempo issues. In my testing performance in RaspBerry Pi 3 (Model B) is still not 100% perfect, but still more consistent (tempo wise) than local Munt. A 3amp PSU (with no in-line switch), active cooling (and perhaps overclock) definitely would help!
Required files NOT included:
- CM32L_CONTROL.ROM
- CM32L_PCM.ROM
- MT32_CONTROL.ROM
- MT32_PCM.ROM
- SC-55.sf2 or other SoundFont --> https://youtu.be/_J8-CgvC-As
HiFiBerry is not a requirement but the analog audio on the RPi is kind of noisy. It would also be possible to use a USB DAC for better quality - perhaps even one with line-in audio mixing.
Copy to RetroPie "roms" samba share.
Log in as "pi" (default passwd "raspberry")
Extract "midilink.tar.gz" to "/home/pi":
Code: Select all
#cd /home/pi
#tar -xvzf RetroPie/roms/midilink.tar.gz
Install Munt ROMS on RPi:
Code: Select all
#cd /home/pi
#mv RetroPie/roms/CM32L_*.ROM /home/pi/mt32-rom-data/
Code: Select all
#sudo mv /home/pi/mt32d /usr/bin
Code: Select all
#cd /home/pi
#sudo ./midilink UDPMUNT
or (to suppress debug data)
#sudo ./midilink UDPMUNT QUIET
The source code RPi Midilink is unchanged from the MiSTer source --> https://github.com/MiSTer-devel/MidiLink_MiSTer ***
Optional FluidSynth install or skip to "MiSTer Configuration:"
Although FluidSynth on the HPS/ARM runs very well, running it on a Raspberry PI allows for much larger soundfonts (for example --> https://www.hedsound.com/2019/06/mt32-c ... ryone.html)
Ultima VI (Intro) with Hedsound MT-32/CM-64 SoundFont --> https://youtu.be/G8rvyhKOXmY
Installing FluidSynth:
Code: Select all
#sudo apt-get install fluidsynth
Install (FluidSynth) SoundFont:
Code: Select all
#cd /home/pi
#mv RetroPie/roms/SC-55.sf2 soundfonts/
Code: Select all
FSYNTH_SOUNDFONT = /home/pi/soundfonts/MT-32-32K-v1-r65-Full-Hedsound.sf2
Code: Select all
#cd /home/pi
#sudo ./midilink UDPFSYNTH
or (to suppress debug data)
#sudo ./midilink UDPFSYNTH QUIET
Edit "/media/fat/linux/MidiLink.INI"
Code: Select all
UDP_SERVER = Hostname or IP address of Raspberry Pi.
- Connection : MIDI
- MidiLink : Remote
- Type : UDP