I get all the most things working right, but I hear a small latency with midi. I use LGPT to drive genMDM (awesome!!) additionnaly with LGPT samples and the sound of sega genesis is a little too late (microseconds) compare to LGPT samples. I use audio output of raspberry pi because I can't get my UR242 soundcard working and because sound is ok for me. I use usb to midi cable for drive genMDM.
I saw on LGPT wiki this :
"MIDI Configuration
This setting is also W32 only. It can be use to delay the output of midi by a certain amount of milliseconds. For example, to delay it of 1 msecs:
<CONFIG>
<MIDIDELAY value='1'/>
</CONFIG>
also note: Because MIDI on PC is a bitch to synchronise and that the ONLY system that kind of worked was, surprisingly, the old MMSYSTEM audio system, I've re-enabled it as an option. So, if you need good midi sync or good timing, you will NEED to use this. The latency isn't great but in our case it's not a problem. To enable the old ass audio system and enjoy pretty stable midi out, add an entry in the config.xml with <AUDIOAPI value='MMSYSTEM' />
"
This should work only on windows right? Not on pi... and even if it worked, I don't want to delay midi, I want to delay sample for it sounds at the same time as midi.
But I tried MIDIDELAY value="2" for see, I didn't notice any difference. I didn't tried MMSYSTEM because I understood that it's for sync and I don't want to sync anything it's only midi out notes, CCs and samples
For me that's really the ultimate config, and I will defintly use again genMDM with LGPT! (on lsdj it worked but it was too complicated)