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: 67)

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



Users browsing this thread: 1 Guest(s)