Question - selecting soundfonts/banks
Hi,
Can someone please explain to me the relationship between midi bank_msb/bank_lsb_prognum, and soundfontnum/bank_lsb/prognum on fluidsynth?
I'm successfully sending prog change events, as well as LSB bank select events.
However, I'm also trying to select banks within different soundfonts, by sending BANK_SELECT_MSB events, but things are not working.
My code presently sends BANK_SELECT_MSB controller event, then BANK_SELECT_LSB controller event, then PBMCHANGE event, in that order.
What do i need to do in my code, so I can reliably select different sounds from different banks from different loaded soundfonts?
Signature · 10 lines
Kind regards David -- ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
Hi
Quoted 8 lines · Don Mackie
Hi,
Can someone please explain to me the relationship between midi bank_msb/bank_lsb_prognum, and soundfontnum/bank_lsb/prognum on fluidsynth?
I'm successfully sending prog change events, as well as LSB bank select events.
Quoted 8 lines
However, I'm also trying to select banks within different soundfonts, by sending
BANK_SELECT_MSBevents, but things are not working.My code presently sends
BANK_SELECT_MSBcontroller event, thenBANK_SELECT_LSBcontroller event, then PBMCHANGE event, in that order.What do i need to do in my code, so I can reliably select different sounds from different banks from different loaded soundfonts?
Read this:
http://mail.gnu.org/archive/html/fluid-dev/2003-07/msg00029.html
maybe can help you.
-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
Quoted 11 lines · holborn
Quoted 5 lines
Hi,
Can someone please explain to me the relationship between midi bank_msb/bank_lsb_prognum, and soundfontnum/bank_lsb/prognum on fluidsynth?
Read this:
http://mail.gnu.org/archive/html/fluid-dev/2003-07/msg00029.html
maybe can help you.
Thanks, but that didn't get me any further - I can already select banks on fluidsynth and emu10k1
What I'm asking is - how do I assign a midi channel to a particular voice on a particular bank *within a particular soundfont* ?
So if fluidsynth, or my emu10k1 card, has two or more sound fonts loaded, I want to be able to access banks/voices on different soundfonts at the same time.
For instance:
- channel 1 -> font fluid-gm.sf2, bank 000, prog 001
- channel 2 -> font 2rock9.sf2, bank 008, prog 011
- ...
I've tried to do this via bank msb, bank lsb and prog change messages from my midi keyboard, as well as sending bank msb/lsb controller (and prog change) events via the alsa-seq api, but (with fluidsynth at least), things are totally not working as one would expect.
Any more suggestions?
Cheers
D
-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click