You are here

Pass command line options to Fluidsynth using qsynth.conf

Hello, firstly thank you to RNC for creating this fantastic GUI for the powerful FluidSynth.

I am a situation whereby I have created a SoundFont using the Swami SoundFont editor. However, it does not seem to save bank numbers correctly, so when I load the soundfont in a QSynth engine and load the bank in Rosegarden, I cannot switch between the patches. (In fact, upon loading the banks in Rosegarden each bank is assigned to an LSB number; if I change them so each bank is assigned a different MSB number 0, 1, 2 ... etc. I can then select the patches.)

I read http://sourceforge.net/apps/trac/fluidsynth/wiki/FluidSettings
which suggested that I needed to use the synth.midi-bank-select option. When I ran FluidSynth on the command line and set synth.midi-bank-select from ='gs' to ='xg', this worked.

However, (and I'm sure the solution will turn out to be really simple), I do not know how to pass this option via QSynth! I even looked in the qsynth.conf file but could not see a command line switch section.

How can I pass "-o synth.midi-bank-select='xg'" to the underlying FluidSynth engine using QSynth please?

EDIT: version numbers for everything below.
Kubuntu 12.04
Swami 2.0.0
Rosegarden 11.11.42
QSynth 0.3.6
FluidSynth 1.1.5

Forums: 
rncbc's picture

in case you missed, you can do it like the usual fluidsynth command line:

qsynth -o synth.midi-bank-select='xg'

however this applies to the default/first engine only and it is not stored persistently on qsynth.conf file--you'll have to supply it everytime you launch qsynth.

nb. not all fluidsynth command line options are supported or equivalent though; please, use `qsynth --help` to look for all that's available.

hth.
cheers

Hello again, I would just like to say thank you for implementing the Midi Bank Select Mode feature in 0.3.8 (the version shipped with Ubuntu 14.04 Trusty Tahr). It was not there in 0.3.4 (version in Ubuntu 12.04 Lucid Lynx). But I guess this features has been here for a while, and I only just caught up...!

Add new comment