Hello Srijan,

Yes, this is possible.

Each SoundFont loaded gets its own ID (you can specify multiple SoundFont
files on the command line or issue "load" commands from the shell).  To
show the list, type "fonts" and ENTER, which will show you their IDs.  The
"select" command can be used to assign a SoundFont, bank and program number
to a MIDI channel.  See "help event" for details, but it will essentially
look like this:
select CHAN SFONT BANK PROG

Examples:
select 0 1 0 15
select 9 2 128 0

The first command above selects Bank 0 Program 15 from SoundFont 1 for MIDI
channel 1 (0 based in FluidSynth).
The second command above selects Bank 128 Program 0 from SoundFont 2 for
MIDI channel 10.

Best regards,

Element Green



On Sun, May 29, 2016 at 9:31 PM, Srijan Deshpande <srij...@gmail.com> wrote:

> Thanks, and yes, but how do I load piano.sf2 on channel 0 and guitar.sf2
> on channel 1?
>
> On 30 May 2016 at 08:31, Ben Gonzales <b...@gonzos.net> wrote:
>
>> So, for example, you want to play a C on your controller and get a piano
>> to play a C on channel 0 AND a guitar to play a C on channel 1 at the same
>> time ?
>>
>> If that's what you want, just including a routing in your config file to
>> duplicate the input to another channel should work. Or am I oversimplifying
>> what you want?
>>
>> Ben
>>
>>
>> On 30/05/16 12:11, Srijan Deshpande wrote:
>>
>> Hello,
>>
>> I'm running fluidsynth off of the command line and I'm wondering how to
>> load multiple soundfonts and play them simultaneously using a single
>> controller.
>>
>> The only solution I could find was to run multiple instances of
>> fluidsynth with a different soundfont loaded in each, and map them all to
>> the same controller using aconnect.
>>
>> Obviously, I'd prefer to do this with just one instance of fluidsynth. Is
>> this possible?
>>
>> Thanks,
>> Srijan
>>
>>
>> _______________________________________________
>> fluid-dev mailing 
>> listfluid-dev@nongnu.orghttps://lists.nongnu.org/mailman/listinfo/fluid-dev
>>
>>
>>
>> _______________________________________________
>> fluid-dev mailing list
>> fluid-dev@nongnu.org
>> https://lists.nongnu.org/mailman/listinfo/fluid-dev
>>
>>
>
> _______________________________________________
> fluid-dev mailing list
> fluid-dev@nongnu.org
> https://lists.nongnu.org/mailman/listinfo/fluid-dev
>
>
_______________________________________________
fluid-dev mailing list
fluid-dev@nongnu.org
https://lists.nongnu.org/mailman/listinfo/fluid-dev

Reply via email to