Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
incorporate sound files in code
#2
Yes but it's tedious. For much longer than a minute and decent quality, even MP3 and OGG start to become too big to involve directly into an EXE file, which would have a high chance of becoming corrupt, refusing to run and/or being mistaken for a virus.

Sadly, using "_INFLATE$" and "_DEFLATE$" wouldn't save a lot of space from files already compressed, although it does make it easier to package audio files into a compiled program.

https://qb64phoenix.com/qb64wiki/index.php/INFLATE$

https://qb64phoenix.com/qb64wiki/index.php/DEFLATE$
Reply


Messages In This Thread
incorporate sound files in code - by mdijkens - 12-29-2022, 10:50 AM
RE: incorporate sound files in code - by mnrvovrfc - 12-29-2022, 11:13 AM
RE: incorporate sound files in code - by mdijkens - 12-29-2022, 11:31 AM
RE: incorporate sound files in code - by Dav - 12-29-2022, 01:55 PM
RE: incorporate sound files in code - by mdijkens - 12-29-2022, 03:21 PM
RE: incorporate sound files in code - by a740g - 01-02-2023, 11:24 AM



Users browsing this thread: 3 Guest(s)