From e5863a09dfeef942da8b9459d39badeba3d0620c Mon Sep 17 00:00:00 2001 From: Chris Xiong Date: Sun, 7 Nov 2021 10:56:02 -0500 Subject: Set device id of fluidsynth to 16, as used by most GS synths. (This should really be a new option...) Also strip the marker bytes of sysex messages before sending to Fluidsynth. Someone didn't read the docs before coding. --- qmidiplayer-desktop/qmpmainwindow.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'qmidiplayer-desktop/qmpmainwindow.cpp') diff --git a/qmidiplayer-desktop/qmpmainwindow.cpp b/qmidiplayer-desktop/qmpmainwindow.cpp index 1198559..6132234 100644 --- a/qmidiplayer-desktop/qmpmainwindow.cpp +++ b/qmidiplayer-desktop/qmpmainwindow.cpp @@ -441,6 +441,7 @@ void qmpMainWindow::playerSetup(IFluidSettings *fs) }); } fs->setOptStr("synth.midi-bank-select", bsmode.c_str()); + fs->setOptInt("synth.device-id", 0x10); player->sendSysX(settings->getOptionBool("Midi/SendSysEx")); } void qmpMainWindow::loadSoundFont(IFluidSettings *fs) -- cgit v1.2.3