fluid-dev
[Top][All Lists]
Advanced

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

Re: [fluid-dev] Multiple soundfonts


From: Element Green
Subject: Re: [fluid-dev] Multiple soundfonts
Date: Mon, 30 May 2016 15:33:29 -0600

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 <address@hidden> 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 <address@hidden> 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 list
address@hidden
https://lists.nongnu.org/mailman/listinfo/fluid-dev


_______________________________________________
fluid-dev mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/fluid-dev



_______________________________________________
fluid-dev mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/fluid-dev



reply via email to

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