All of lore.kernel.org
 help / color / mirror / Atom feed
* Question - selecting soundfonts/banks
@ 2004-05-21  4:44 Don Mackie
  2004-05-21  9:00 ` holborn
  0 siblings, 1 reply; 3+ messages in thread
From: Don Mackie @ 2004-05-21  4:44 UTC (permalink / raw)
  To: Alsa-devel

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?

-- 

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Question - selecting soundfonts/banks
  2004-05-21  4:44 Question - selecting soundfonts/banks Don Mackie
@ 2004-05-21  9:00 ` holborn
  2004-05-21 23:35   ` Don Mackie
  0 siblings, 1 reply; 3+ messages in thread
From: holborn @ 2004-05-21  9:00 UTC (permalink / raw)
  To: alsa-devel; +Cc: Don Mackie


Hi

On Viernes 21 Mayo 2004 05:44, Don Mackie wrote:
> 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?

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Question - selecting soundfonts/banks
  2004-05-21  9:00 ` holborn
@ 2004-05-21 23:35   ` Don Mackie
  0 siblings, 0 replies; 3+ messages in thread
From: Don Mackie @ 2004-05-21 23:35 UTC (permalink / raw)
  Cc: alsa-devel

holborn wrote:

 >>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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-05-21 23:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-21  4:44 Question - selecting soundfonts/banks Don Mackie
2004-05-21  9:00 ` holborn
2004-05-21 23:35   ` Don Mackie

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.