fluid-dev
[Top][All Lists]
Advanced

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

Re: [fluid-dev] Patch for channel_type, also XG drum-channel autoswitch


From: David Henningsson
Subject: Re: [fluid-dev] Patch for channel_type, also XG drum-channel autoswitch
Date: Fri, 04 Feb 2011 20:23:13 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101208 Thunderbird/3.1.7

Hey jimmy,

Thanks for the research. I've committed the patch now (with some trivial changes). Thanks for your contribution!

And to the rest of you - this bank select handling seems to be a never ending debate, and it's not my area of expertise, so let me know if this change screwed something up for you.

// David

On 2011-02-03 01:08, jimmy wrote:


It seems MSB of 127, 126, 120 have been used for Yamaha/XG drum kits.

For PSR-2000 keyboard, [MSB,LSB,Prog] for MSB 126:

    [127,0,xx]  Various drum kits

    [126,0,0]  SFX Kit1
    [126,0,1]  SFX Kit2
    [126,0,35]  Arabic Kit

For PSR-S900 (similarly in Tyros-2, Tyros-3):

    [127,0,xx]  Various drum kits

    [126,0,0]  SFX Kit1
    [126,0,1]  SFX Kit2
    [126,0,35]  Arabic Kit
    [126,0,40]  Cuban Kit
    [126,0,43]  PopLatin Kit

    [120,0,0]  Standard Set
    [120,0,8]  Room Set
    [120,0,16]  Power Set
    [120,0,24]  Electronic Set
    [120,0,25]  Analog Set
    [120,0,32]  Jazz Set
    [120,0,40]  Brush Set
    [120,0,48]  Orchestra Set
    [120,0,56]  SFX Set

 From the drum key/sound mapping list, it seems that, for MSB=127:

    [127,0,0]  Has full set of drum sounds
    [127,0,xx]  Has sparse set (some note/key has no sound), so it would fall 
back to the sound from the full [127,0,0].

Similar mapping scheme for MSB=126, as well as MSB=120:

    [126,0,0]  Has full set of drum sounds
    [126,0,xx]  Has sparse set

    [120,0,0]  Has full set of drum sounds
    [120,0,xx]  Has sparse set

Seems like a "fall-back" sound lookup scheme, similar to the non-drum voices.  
So if key/sound for MSB=120 could be found with:

    [120,0,xx] if not found, try:
    [120,0,0]  if not found, try:
    [127,0,0]  always there, this is also GM-drumkit.

Like-wise, with MSB=126 drum sound:

    [126,0,xx] if not found, try:
    [126,0,0]  if not found, try:
    [127,0,0]  always there, this is also GM-drumkit.


PDF manuals for the keyboards are available online if folks want to take a 
closer look.

Jimmy









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




reply via email to

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