09-03-2023, 03:09 AM
Currently the built-in Midi support doesn't have an option to use the Windows-provided support (which doesn't require providing a soundfont), we may add that in a later release. The current solution utilizing a provided soundfont file is cross-platform with no extra dependencies, so we implemented that first. The default provided soundfont is about 1MB in size, so not super small but also not ridiculously large (QB64-PE programs can already get larger than that anyway). Additionally, with the Windows-provided support we wouldn't be able to implement all of the `_SND*` functionality, so it would be a bit more limited compared to the current support we provide (which allows the MIDI sounds to work like any other sound).
(09-03-2023, 02:36 AM)SagaraS Wrote: Found the problem.I'm looking into it, it should be doing that automatically but I think I see an error in the logic to copy the `soundfont.sf2` into place (I think it copies over it without resizing the file).
You have to delete the two files soundfont.sf2 and soundfont.o from the subfolder qb64pe\internal\temp\