default_bank.sf2 file

BASIC SDK для Xcode
Post Reply
User avatar
sarossell
Posts: 195
Joined: Sat Nov 05, 2016 6:31 pm
My devices: iPad Mini 2, iPhone 5, MacBook Air, MacBook Pro
Flag: United States of America
Contact:

default_bank.sf2 file

Post 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!
smart BASIC Rocks!

- Scott : San Diego, California

User avatar
Mr. Kibernetik
Site Admin
Posts: 4786
Joined: Mon Nov 19, 2012 10:16 pm
My devices: iPhone, iPad, MacBook
Location: Russia
Flag: Russia

Re: default_bank.sf2 file

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

User avatar
sarossell
Posts: 195
Joined: Sat Nov 05, 2016 6:31 pm
My devices: iPad Mini 2, iPhone 5, MacBook Air, MacBook Pro
Flag: United States of America
Contact:

Re: default_bank.sf2 file

Post 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?
smart BASIC Rocks!

- Scott : San Diego, California

User avatar
sarossell
Posts: 195
Joined: Sat Nov 05, 2016 6:31 pm
My devices: iPad Mini 2, iPhone 5, MacBook Air, MacBook Pro
Flag: United States of America
Contact:

Re: default_bank.sf2 file

Post 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...} ;@)
smart BASIC Rocks!

- Scott : San Diego, California

User avatar
Mr. Kibernetik
Site Admin
Posts: 4786
Joined: Mon Nov 19, 2012 10:16 pm
My devices: iPhone, iPad, MacBook
Location: Russia
Flag: Russia

Re: default_bank.sf2 file

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

User avatar
Mr. Kibernetik
Site Admin
Posts: 4786
Joined: Mon Nov 19, 2012 10:16 pm
My devices: iPhone, iPad, MacBook
Location: Russia
Flag: Russia

Re: default_bank.sf2 file

Post by Mr. Kibernetik »

I have updated the file.
Attachments
empty_default_bank.sf2
(11.42 KiB) Downloaded 596 times

User avatar
sarossell
Posts: 195
Joined: Sat Nov 05, 2016 6:31 pm
My devices: iPad Mini 2, iPhone 5, MacBook Air, MacBook Pro
Flag: United States of America
Contact:

Re: default_bank.sf2 file

Post by sarossell »

Outstanding! Much appreciated.
smart BASIC Rocks!

- Scott : San Diego, California

Post Reply