HardwareHeaven.com

HardwareHeaven.com

Looking for the skin chooser?
 
 
  • Home

  • Hardware reviews

  • Articles

  • News

  • Tools

  • Gaming at HardwareHeaven

  • Forums

 

Go Back   HardwareHeaven.com > Forums > Hardware and Related Topics > kX Project Audio Driver Support Forum > SoundFonts and MIDI


Reply
 
Thread Tools
Old Jun 16, 2003, 10:31 PM   #1
DriverHeaven Junior Member
 
Join Date: Jun 2003
Posts: 81
Rep Power: 0
lucioblues is on a distinguished road

Fluid Soundfont

Hi

There´s lots of people talking about how to break the RAM limitation for loading soundfonts. Tweaking windows registry, using Megafont... But I only read about supositions, and "maybe this will work". Have somebody got sucess loading Fluid Soundfont with Kx drivers? And how you did it? I´ve tried tweaking the four lines of registry described in FAQ, tried Megafont, Genesys (both don´t working with kx) and all of possible solutions proposed. No way to make it work.

P.S. :I´ve tried under W2K and XP...

sorry my poor english...

Lucio
lucioblues is offline   Reply With Quote


Old Jun 17, 2003, 08:17 AM   #2
DriverHeaven Newbie
 
Join Date: Feb 2003
Location: Portugal
Posts: 19
Rep Power: 0
chicoselfs is on a distinguished road

I have the same problem here, with creative drivers i can load the Fluid III with KX i can't.
chicoselfs is offline   Reply With Quote
Old Jun 20, 2003, 02:04 AM   #3
kX Project Lead Programmer and Coordinator
 
Join Date: Dec 2002
Posts: 3,119
Rep Power: 75
Eugene Gavrilov has much to be proud ofEugene Gavrilov has much to be proud ofEugene Gavrilov has much to be proud ofEugene Gavrilov has much to be proud ofEugene Gavrilov has much to be proud ofEugene Gavrilov has much to be proud ofEugene Gavrilov has much to be proud ofEugene Gavrilov has much to be proud ofEugene Gavrilov has much to be proud of

try the following:

create a temp. folder
copy your soundfont into it
in the command line, execute:
kxctrl -sf2 p 'your_soundfont_file' output

note any messages displayed by kxctrl
it should print 'Ok' w/o any warnings or errors

you can safely delete the temp. folder after the test

/Eugene
Eugene Gavrilov is offline   Reply With Quote
Old Jun 20, 2003, 08:41 AM   #4
DriverHeaven Newbie
 
Join Date: Feb 2003
Location: Portugal
Posts: 19
Rep Power: 0
chicoselfs is on a distinguished road

do you mean this?
http://clientes.netvisao.pt/frmabafa/kx.jpg
chicoselfs is offline   Reply With Quote
Old Jun 21, 2003, 02:10 AM   #5
kX Project Lead Programmer and Coordinator
 
Join Date: Dec 2002
Posts: 3,119
Rep Power: 75
Eugene Gavrilov has much to be proud ofEugene Gavrilov has much to be proud ofEugene Gavrilov has much to be proud ofEugene Gavrilov has much to be proud ofEugene Gavrilov has much to be proud ofEugene Gavrilov has much to be proud ofEugene Gavrilov has much to be proud ofEugene Gavrilov has much to be proud ofEugene Gavrilov has much to be proud of


in the command line, execute:
kxctrl -sf2 p 'your_soundfont_file' 'output_folder'


you've used wrong command-line arguments

/E
Eugene Gavrilov is offline   Reply With Quote
Old Jun 21, 2003, 07:03 AM   #6
DriverHeaven Newbie
 
Join Date: Feb 2003
Location: Portugal
Posts: 19
Rep Power: 0
chicoselfs is on a distinguished road

I'm sorry i'm not very smart but i tried and i can't, maybe with an example.

kxctrl -sf2 p 'c:\temp\tmp.sf2' 'c:\temp'

I created a temp folder in c:\ and rename the soundfont to tmp.sf2 and use that command line and it won't work.
chicoselfs is offline   Reply With Quote
Old Jun 21, 2003, 09:16 PM   #7
HardwareHeaven Lover
 
Join Date: Feb 2003
Posts: 213
Rep Power: 0
Mata Hari is on a distinguished road

I tried this too (I'm intrested in loading fluid r3 too)
printed ok for me, and everything extracted fine as far as i can see

the sf2 is 141 mb big (Fluid r3 GM.sf2)
loading with kxcntr -sf2 l fluidr3.sf2 itself gives -1
Mata Hari is offline   Reply With Quote
Old Jun 22, 2003, 03:05 AM Threadstarter Thread Starter   #8
DriverHeaven Junior Member
 
Join Date: Jun 2003
Posts: 81
Rep Power: 0
lucioblues is on a distinguished road

rolleyes

I got the same as Mata Hari did. No error messages on the extraction of the files ("Ok" at the end). Using the load command (kxctrl -sf2 l "D:\Soundfonts\Temp\FluidR3 GM.SF2) gives me "Error: -1".
lucioblues is offline   Reply With Quote
Old Jun 23, 2003, 01:36 AM   #9
kX Project Lead Programmer and Coordinator
 
Join Date: Dec 2002
Posts: 3,119
Rep Power: 75
Eugene Gavrilov has much to be proud ofEugene Gavrilov has much to be proud ofEugene Gavrilov has much to be proud ofEugene Gavrilov has much to be proud ofEugene Gavrilov has much to be proud ofEugene Gavrilov has much to be proud ofEugene Gavrilov has much to be proud ofEugene Gavrilov has much to be proud ofEugene Gavrilov has much to be proud of

install the monitor and watch its output when you try to upload the soundfont via kxmixer

/E
Eugene Gavrilov is offline   Reply With Quote
Old Jun 23, 2003, 03:48 AM Threadstarter Thread Starter   #10
DriverHeaven Junior Member
 
Join Date: Jun 2003
Posts: 81
Rep Power: 0
lucioblues is on a distinguished road

Sorry about my ignorance... What is the monitor?
__________________
lucioblues is offline   Reply With Quote
Old Jun 23, 2003, 04:03 AM   #11
HardwareHeaven Lover
 
Join Date: Feb 2003
Posts: 213
Rep Power: 0
Mata Hari is on a distinguished road

monitor = debug monitor, allready checked, and talked to Eugene...
He pointed me to the FAQ, about loading large sound fonts, and tweaking the registry...

In HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contro l\Session Manager\Memory Management, I tried setting the mentioned keys to 256MB, but that didn't work...
now going for 384MB

stay tuned :-)

edit: Nope, didn't work :-(

I can try to make a 120 mb and a 130 mb sf2, to see if the limit is 128 MB (wich I suspect, cause I cann load a 84 mb one)


edit2: well, the largest I can load is around 116 MB... fiddling around with the mentioned registry settings doesn't change much though...

Last edited by Mata Hari; Jun 23, 2003 at 04:41 AM.
Mata Hari is offline   Reply With Quote
Old Jun 24, 2003, 04:48 AM   #12
HardwareHeaven Lover
 
Join Date: Feb 2003
Posts: 213
Rep Power: 0
Mata Hari is on a distinguished road

K, I just thoughtup a possible solution for this.
When loading a soundfont, Can the font be loaded in "parts"?
With an algorithm, to "split" the soundfont in parts like this:

Take an instrument, find all samples needed for this instrument, of all those samples, find all instruments, wich use them... of the instruments found, again find all samples used, and so on, untill you have a list of instruments and corrosponding samples, then load those...
after that, repeat with the next unloaded instrument, until all instruments are loaded (or, if one fails, unload them all again)

Thisway, the load process would be split into loading smaller parts, rite?

would this work?
Mata Hari is offline   Reply With Quote
Old Jun 24, 2003, 05:27 AM Threadstarter Thread Starter   #13
DriverHeaven Junior Member
 
Join Date: Jun 2003
Posts: 81
Rep Power: 0
lucioblues is on a distinguished road

To be able to use Fluid I've my own "part" loading soundfont. I broke it into 17 soundfonts, divided as according to GM groups (Piano, Chromatic Percusion, Organ,...). It became larger (162Mb) than the single SF (I think that some samples are duplicated). But now I can load at least some of them.

Lucio
lucioblues is offline   Reply With Quote
Old Jun 24, 2003, 03:14 PM   #14
HardwareHeaven Lover
 
Join Date: Feb 2003
Posts: 213
Rep Power: 0
Mata Hari is on a distinguished road

Well, thas kinda my idea yeah, only diffrence is the algorithm to eliminate duplicated samples :-)
I hope this can be implemented in the driver?
Mata Hari is offline   Reply With Quote
Reply

Thread Tools