[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [fluid-dev] Using multiple soundfonts from unix command line

From: Tom M.
Subject: Re: [fluid-dev] Using multiple soundfonts from unix command line
Date: Mon, 11 Jun 2018 18:01:32 +0200

> I guess that the instructions in myMusic.mid override what I had set up in 
> the config file.

Your first attempt is correct, your guess too.

You have to use the midi router to prevent all prog change and bank change 
events from your midi file to be passed to the synth. This can be achieved by 
deleting all default rules of the router, and telling it to only pass note, CC, 
pitchbend, channelpressure and keypressure events (i.e. not program changes and 
no bank changes) to the synth. Use the following fluidsynth shell commands just 
after loading the soundfonts:


router_begin note

router_begin cc
router_par1 1 31 0 0

router_begin cc
router_par1 33 127 0 0

router_begin pbend

router_begin cpress

router_begin kpress

Unfortunately, the procedure described above has no effect when playing midi 
files. I've just implemented it in our latest development version. This feature 
will be part of fluidsynth 2.0. If you need it now, you'll have to check out 
the source code from our git repo and build fluidsynth from source.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]