News:

Building a 3D Ray Tracer  By stevmjon

Main Menu

MP3 or WMA commands?

Started by Jeku, February 03, 2005, 09:27:08 PM

Previous topic - Next topic

Jeku

I just hit a road-block.  I can't believe I didn't notice this beforehand, but I can't seem to find any music commands.  Are there any ways to load MP3s or WMAs?  There *has* to be a way to have music in my game (a publisher requires it) and a WAV file is just too large :)
**
Automaton Games - Home of WordTrix 2.0, WordZap, and GameBasic
Jeku's Music - Easy listening electronic...
**

Draco9898

try loading it as a "sound" :)
DualCore Intel Core 2 processor @ 2.3 ghz, Geforce 8600 GT (latest forceware drivers), 2 gigs of ram, WIN XP home edition sp2, FireFox 2.

"You'll no doubt be horrified to discover that PlayBasic is a Programming Language." -Kevin

Jeku

Hmmm I will try---- but the docs say the LOADSOUND command expects a WAV file.
**
Automaton Games - Home of WordTrix 2.0, WordZap, and GameBasic
Jeku's Music - Easy listening electronic...
**

Draco9898

#3
hmmm dunno then, I remember I had problems with an MP3 so I just went on to other stuff I needed to do :(

If your desperatly deperate you could use a DLL...
DualCore Intel Core 2 processor @ 2.3 ghz, Geforce 8600 GT (latest forceware drivers), 2 gigs of ram, WIN XP home edition sp2, FireFox 2.

"You'll no doubt be horrified to discover that PlayBasic is a Programming Language." -Kevin

Jeku

Success!  WMA music files work :-)  Thanks for the tip!
**
Automaton Games - Home of WordTrix 2.0, WordZap, and GameBasic
Jeku's Music - Easy listening electronic...
**

Fash

Works with .OGG files too :D
For PC game/demo music visit
Future Developments