BaH.GME released

BlitzMax Modules Forums/Brucey's Modules/BaH.GME released

Want to get a bit more Retro with your games?

Why not play original chip tunes using the BaH.GME module.
It supports playback of AY, GBS, GYM, HES, KSS, NSF, NSFE, SAP, SPC, and VGM music formats, which include music from systems such as ZX Spectrum, Game Boy, and SNES.

Audio files can be acquired from sites such as Project AY.

The GME license is LGPL, so the library is shipped as a DLL / DYLIB / SO which you can include in both your free and commercial apps. The module itself is MIT licensed.

The module requires the use of an audio driver module. There are two currently available. One for BASS, the other for OpenAL.

Everything (all three modules) is shipped in a single download, available here.

Two examples are included (one for the BASS driver, one for OpenAL).
Tested on Win32, Mac and Linux.

In your example (BASS), loading more tracks doesn't effect the trackcount variable, and so you can't skip to the next track or whatever. Is this a bug? it looks as if i should be able to load a lot of files at once.

Cheers
Charlie

No, a "track" is an individual tune of an audio file - it is possible to have more than one tune in a file.
I think it depends on the particular format if you are likely to get multiple tracks in a file.

Thanks for releasing this Brucey it`s great!

Jason.

Ah, i see.

This is a cool mod by the way :)

Cheers
Charlie

Nice one. :)
Oh, good memories.

get an error

Compiling:glue.cpp
C:/Program Files/BlitzMax/mod/bah.mod/gmebass.mod/glue.cpp:23:43: bah.mod/bass.mod/include/bass.h: No such file or directory
C:/Program Files/BlitzMax/mod/bah.mod/gmebass.mod/glue.cpp:33: error: `HSTREAM' does not name a type
C:/Program Files/BlitzMax/mod/bah.mod/gmebass.mod/glue.cpp:35: error: `DWORD' does not name a type
C:/Program Files/BlitzMax/mod/bah.mod/gmebass.mod/glue.cpp:46: error: `HSTREAM' does not name a type
C:/Program Files/BlitzMax/mod/bah.mod/gmebass.mod/glue.cpp:51: error: `DWORD' has not been declared


hmm can u help

Do you have Brucey's bass module installed Panno?

On my system its file path looks like this:

C:\Program Files\BlitzMax\mod\bah.mod\bass.mod