Opened 15 years ago

Closed 6 years ago

Last modified 5 years ago

#7706 closed feature request (worksforme)

Make loading of soundfonts faster

Reported by: SF/simsaw Owned by: bonki
Priority: normal Component: Audio
Version: Keywords:
Cc: Game:

Description

ScummVM takes a very long time loading large sf2 files into the cache. After that, the game using this soundfont behaves as normal. The problem is just that loading into the cache when starting a game takes so long. It's even not possible to cancel the loading process.

I've found OPL-3 FM 128M.sf2 on http://www3.telus.net/anapan8/oldscardemu.htm under "Complete GM Soundfonts" which could be taken to test and look onto the matter.

Ticket imported from: #2810062. Ticket imported from: feature-requests/522.

Change History (4)

comment:1 by eriktorbjorn, 15 years ago

The only two MIDI drivers which care about the SoundFont setting at all are CoreAudio and FluidSynth. I'm not sure which of them you are referring to.

In both cases, it seems to me that ScummVM merely tells the underlying API that "this is where the SoundFont file is; do with it as you like". Therefore, I don't think there's anything ScummVM can do about loading times, though the FluidSynth and/or CoreAudio developers might be able to.

comment:2 by bonki, 6 years ago

Can we close this?

comment:3 by bonki, 6 years ago

Owner: set to bonki
Resolution: worksforme
Status: newclosed

I tested with two different soundfonts (62MB and 128MB, respectively) and can't notice any sort of lag whatsoever.

Even if there were, as eriktorbjorn mentioned before, we probably couldn't do much about it.

comment:4 by digitall, 5 years ago

Component: Audio
Note: See TracTickets for help on using tickets.