Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
incorporate sound files in code
#5
At the really old, old forum (qb64.net), I suggested adding RESOURCE feature to QB64 once, allowing resource files to be included and used in a program.  Galleon was open to the idea I recall.  I still would love to see that implemented one day.

The closest I've come to sticking small sound files in the EXE is using BASFILE, and when under windows the data doesn't have to extracted to disk to be played, it can be played from memory using Windows API.  Here is a collection of small sound effects using that method - I don't *think* I ever posted it here before.

- Dav


.bas   sfxcodes.bas (Size: 125.19 KB / Downloads: 160)

Find my programs here in Dav's QB64 Corner
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 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 955 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,554 11-15-2025, 10:19 AM
Last Post: ahenry3068
  need help playing sound using certain parameters madscijr 0 400 04-01-2025, 03:52 PM
Last Post: madscijr
Question sound file playback (and record) - manipulating speed + pitch in realtime? madscijr 12 2,009 02-26-2025, 06:33 PM
Last Post: Petr

Forum Jump:


Users browsing this thread: 1 Guest(s)