foo_midi and split soundfont |
![]() ![]() |
foo_midi and split soundfont |
Feb 22 2012, 17:51
Post
#1
|
|
|
Group: Members Posts: 11 Joined: 20-February 08 From: St.Petersburg Member No.: 51457 |
Hello.
I recently found a soundfont which consists of two parts: Fluid R3 GM.sf2 and Fluid R3 GS+SFX Portion.sf2. Is there any way to use this sountfont in GS+SFX mode with foo_midi? I tried using Fluid R3 GS+SFX Portion.sf2 alone, but it produced no sound. I guess it's because it's not a complete soundfont, but a separated part of Fluid R3 GM.sf2 and probably only contains alternative mapping or something like that. So, I am wondering, if it's possible to properly merge these into one file? PS: Soundfonts are available in Ubuntu distributions under package names fluid-soundfont-gm and fluid-soundfont-gs. There is also configuration for timidity included, but I don't understand how to make use of it.. |
|
|
|
Feb 22 2012, 21:01
Post
#2
|
|
![]() Group: Admin Posts: 4219 Joined: 15-December 02 Member No.: 4082 |
List both file names in a UTF-8 encoded text file, using a .sflist file name extension. The paths contained in the .sflist file may be relative to its location on disk, or they may be absolute paths. Then direct foo_midi to load that .sflist file instead. Files at the bottom of the list take priority over files at the top.
I devised this method for even more complex setups, such as Colossus.SF2, a complete rip of the commercial Colossus sound bank. Each numbered instrument and any other bank variations are included in their own .SF2 files. I list almost the entire set, minus a few files that have annoying samples, then I list SGM at the top of the file, and AnotherXG above that. It is also quite possible that Colossus.SF2 is split this way because the sample data exceeds 4GB, and that is the total sample data size limit of the SoundFont format. Or maybe they made it 2GB, I don't know. |
|
|
|
Feb 22 2012, 23:14
Post
#3
|
|
|
Group: Members Posts: 11 Joined: 20-February 08 From: St.Petersburg Member No.: 51457 |
Thank you! Works like a charm. Though I couldn't hear the difference. Guess I need something that really uses GS instead of just indicating it...
I list SGM at the top of the file, and AnotherXG above that. So, your list looks like this: AnotherXG.SF2 SGM.SF2 Colossus*.SF2 Right? I'm confused about AnotherXG placing. This variant will use samples from Colossus, then from SGM, and only then use AnotherXG for what wasn't found in Colossus and SGM, which would probably be only XG part of it? |
|
|
|
Feb 23 2012, 01:14
Post
#4
|
|
![]() Group: Admin Posts: 4219 Joined: 15-December 02 Member No.: 4082 |
A small collection of XG samples. Note that SoundFont banks can't actually properly support all XG instruments, because some use the bank least significant byte (LSB) while others use the most significant byte (MSB). SoundFont instruments map into the MSB space, with no standard that I know of for mapping LSB space into SF2 instruments, even though the file format does use a full 16 bit field for bank numbers.
|
|
|
|
Feb 23 2012, 02:02
Post
#5
|
|
|
Group: Members Posts: 11 Joined: 20-February 08 From: St.Petersburg Member No.: 51457 |
I see. Thank you very much for explainations.
|
|
|
|
Feb 23 2012, 17:53
Post
#6
|
|
![]() Group: Admin Posts: 4219 Joined: 15-December 02 Member No.: 4082 |
The Creative SoundFont control panel actually does support configuring whether MSB, LSB, or both are used, but I think they just map LSB in the same way as MSB, so they would overlap each other.
|
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 23rd May 2013 - 14:29 |