Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Looking for a MIDI solution
#22
Again, I apologize to the QB64 team for my negative comments.

About the soundfont solution of QB64PE:

The difficulty is this:
- An EXE file that has an SF2 font integrated into itself is already very suspect for viruses.
Imagine you take a SF2 font that has more than 100MB. And the generated program that you programmed only plays a MIDI of less than 5KB.
Then the EXE is 100MB in size for a simple MIDI file.
This is an inelegant and unprofessional solution.

- A better solution would be to be able to load an external sound font that is not integrated into the EXE file.

- In terms of programming, the following would be even better:
Load sound font via memory BUFFER or via an offset address. Then you can put the sound font in a self-created archive. QB64 already does this with MIDI files.

As an example:
Soundfont = LoadSoundfont("gm.sf2", 0, size)
or
Soundfont = LoadSoundfont("Archive.DAT", &H0400&, size)

So to speak, where is the soundfont in, from what position does it start and how big is the file.

So the sound font would not be part of the EXE, but external.

The EXE file should not be filled with superfluous. No resource data such as sound fonts should be included in an EXE.

You could definitely solve this across platforms.
Reply


Messages In This Thread
Looking for a MIDI solution - by SagaraS - 09-02-2023, 07:17 PM
RE: Looking for a MIDI solution - by bplus - 09-02-2023, 07:35 PM
RE: Looking for a MIDI solution - by SMcNeill - 09-02-2023, 07:41 PM
RE: Looking for a MIDI solution - by SMcNeill - 09-02-2023, 07:43 PM
RE: Looking for a MIDI solution - by DSMan195276 - 09-02-2023, 08:22 PM
RE: Looking for a MIDI solution - by SagaraS - 09-03-2023, 12:40 AM
RE: Looking for a MIDI solution - by SMcNeill - 09-03-2023, 12:43 AM
RE: Looking for a MIDI solution - by SagaraS - 09-03-2023, 01:27 AM
RE: Looking for a MIDI solution - by mnrvovrfc - 09-03-2023, 01:37 AM
RE: Looking for a MIDI solution - by SagaraS - 09-03-2023, 01:52 AM
RE: Looking for a MIDI solution - by SMcNeill - 09-03-2023, 02:22 AM
RE: Looking for a MIDI solution - by SagaraS - 09-03-2023, 02:36 AM
RE: Looking for a MIDI solution - by SMcNeill - 09-03-2023, 09:30 PM
RE: Looking for a MIDI solution - by grymmjack - 09-06-2023, 12:07 AM
RE: Looking for a MIDI solution - by SMcNeill - 09-03-2023, 02:33 AM
RE: Looking for a MIDI solution - by DSMan195276 - 09-03-2023, 03:09 AM
RE: Looking for a MIDI solution - by mnrvovrfc - 09-03-2023, 03:13 AM
RE: Looking for a MIDI solution - by MasterGy - 09-03-2023, 06:48 AM
RE: Looking for a MIDI solution - by grymmjack - 09-03-2023, 02:18 PM
RE: Looking for a MIDI solution - by SagaraS - 09-03-2023, 11:26 AM
RE: Looking for a MIDI solution - by a740g - 09-03-2023, 12:09 PM
RE: Looking for a MIDI solution - by grymmjack - 09-03-2023, 02:27 PM
RE: Looking for a MIDI solution - by SagaraS - 09-03-2023, 06:37 PM
RE: Looking for a MIDI solution - by mnrvovrfc - 09-05-2023, 04:40 PM
RE: Looking for a MIDI solution - by grymmjack - 09-06-2023, 12:10 AM
RE: Looking for a MIDI solution - by mnrvovrfc - 09-06-2023, 07:05 AM



Users browsing this thread: 20 Guest(s)