Closed anothername99 closed 4 years ago
We will have to enable fluidsynth package.
Fluidsynth is a software synthesizer. I have MIDI hardware connected through USB MIDI and it works fine with RetroArch in Windows and desktop Linux without Fluidsynth. Only the Linux kernel, ALSA and RetroArch should be needed to make this work.
Also this is functionality that has settings exposed in the GUI (go to Audio -> MIDI and there will be an Input and an Output option), but for some reason a device can't be selected in Lakka. I'm not sure whether the enhancement label is correct.
On desktop Linux it works: https://i.imgur.com/cDB8RaE.png Same PC, same synth, but can't be selected in Lakka.
I see I was thinking playback directly on the PC.
Did you try to switch audio driver to Alsa not Alsa threaded ?
Thank you.
I've tried the audio driver set to ALSA thread, ALSA and null. All give the same result. I am guessing that either the kernel is missing something (perhaps MIDI drivers were stripped out to make LibreELEC/Lakka slimmer?) or there is a problem with ALSA.
May you try this image ?
If it is still not working try to load those modules
modprobe snd-seq-device && modprobe snd-seq-midi
Thank you.
With your image, I can now select MIDI IN and MIDI OUT devices. Thank you.
Thank you I am glad it is working.
You did have to modprobe the module right ?
We will have to enable for the kernel at least
CONFIG_SND_SEQUENCER=m
CONFIG_SND_RAWMIDI_SEQ=m
I didn't touch any commands. I wouldn't know how to enter commands in Lakka.
Maybe I should test that playback is actually working (I only saw that selecting the device worked). Could you put in the latest np2kai core? It has MIDI support and would be easy to test. I tried transplanting it into my Lakka setup from a binary from the buildbot but the core wouldn't load.
Can you try with with this np2kai core build ?
Thank you.
Your np2kai build loads and MIDI works in the games that I tried. Thank you.
Is it yet possible to enable MT-32 support in Lakka? Preferably via Munt?
When I go into MIDI settings to select a MIDI Out device, I can't select any device. On Windows and desktop Linux it works fine.