Page 1 of 1
default_bank.sf2 file
Posted: Thu Dec 01, 2016 11:06 pm
by sarossell
I've been trying to figure out how to streamline the build size and I removed the Sounds folder. This cut the build size down from 95 MB to just 3 MB, but I get this message in the log:
2016-12-01 15:01:35.776680 MyProgram[2035:13397557] 486: DLS/SF2 bank load failed
Can you please explain why this huge 101 MB file is necessary for all builds? Should I be concerned about the error message? And is there anything I can do to eliminate the message if it is a problem?
Thank you.
I'm having SO MUCH FUN!
Re: default_bank.sf2 file
Posted: Thu Dec 01, 2016 11:19 pm
by Mr. Kibernetik
This is sound bank for MIDI commands. If you don't use them then you can try to replace this file with smaller SF2 file.
Re: default_bank.sf2 file
Posted: Thu Dec 01, 2016 11:21 pm
by sarossell
Would a blank file of the same name do just as well? Or does it have to be an sf2 formatted file? If so, I'll have to track down an sf2 editor for Mac, preferably a free one. Any suggestions?
Re: default_bank.sf2 file
Posted: Thu Dec 01, 2016 11:43 pm
by sarossell
Well, I tried a blank file of the same name. That didn't work.
I ran across a free Mac program called Polyphone that edits sf2 files. I tried to remove all but one preset/instrument/sample and save to a new file, but it still displays an error:
2016-12-01 15:39:23.469844 MyProgram[4225:13651968] 93: BankEntry::LoadInstrument: Unable to find patch 0 bank 0x78/0
Any suggestions? {Be nice. I'm learning here...} ;@)
Re: default_bank.sf2 file
Posted: Fri Dec 02, 2016 9:06 am
by Mr. Kibernetik
Yes, I also use Polyphone to edit sound fonts.
Here I attach smaller sound font which you can substitute instead of default sound font (rename it to "default_bank.sf2"). But do this only if you don't use any MIDI commands. Otherwise there will be no MIDI sound in your application.
Re: default_bank.sf2 file
Posted: Fri Dec 02, 2016 2:16 pm
by Mr. Kibernetik
I have updated the file.
Re: default_bank.sf2 file
Posted: Fri Dec 02, 2016 4:11 pm
by sarossell
Outstanding! Much appreciated.