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

Possibly Related Threads…
Thread Author Replies Views Last Post
  More info about Random Access files PhilOfPerth 28 962 02-25-2026, 01:50 PM
Last Post: ahenry3068
  code locks up when SHELL paulel 4 290 02-15-2026, 08:04 PM
Last Post: madscijr
  Embedding and Extracting MANY files ! ahenry3068 20 1,560 11-15-2025, 10:19 AM
Last Post: ahenry3068
  need help playing sound using certain parameters madscijr 0 401 04-01-2025, 03:52 PM
Last Post: madscijr
Question sound file playback (and record) - manipulating speed + pitch in realtime? madscijr 12 2,010 02-26-2025, 06:33 PM
Last Post: Petr

Forum Jump:


Users browsing this thread: 1 Guest(s)