Playing music
BlitzMax Forums/BlitzMax Programming/Playing music
| ||
Hello. After just doling out nigh on £50 on music for my game, its come to light that in Blitzmax there's no way to actually play music other than loading the whole lot into memory like a normal sound? I wanted to have two tracks playing at once and cross-fade them. It looks like I'm either going to have to drop that idea, or use loads of memory, right? How's everybody else handling this? |
| ||
Have you had a look at FMOD? I think FMOD can stream sound files. Good luck! :) |
| ||
or alternatively BASS or Audiere.. |
| ||
or Maxmod ? |
| ||
GfK. Yeah there is no ogg streaming in Max :-( Also don't forget to free them up properly with Stop Channel or you'll have an ALMIGHTY memory leak (an early version of my framework had this! It didn't show in Max with that command that shows memory used but it showed in Task Manager). I believe FMOD can only be used for free projects unless you want to shell out big money on a commercial license. |
| ||
Fmod is allmighty. Though too expensive to go commercial. Well, I would give my life for a decent sound/music support in bmx. :( |
| ||
TonyG - Maxmod is perfect!! Thanks! BRL: In the name of sanity PLEASE add this to Blitzmax as standard!! Its an awesome addition. |
| ||
Your checks in the post tonyg ;) Thanks GfK, glad you like it, biggest problem is its not crossplatform... yet ;) BTW MP3 support is added in the next release! (and WMA if I can figure out the WAVEFORMATEX for it) |
| ||
I'm not bothered about MP3 support since I use OGG anyway. :) Cross-platform should be top of your 'to do' list ;) |
| ||
Yeah, I've put that off for a while because streaming is on Skidracers to do list for FreeAudio, so it'd be better to run it all through that in the end anyway. I prefer OGG to, but I'm writing a DJ app and MP3 support is a must have really. |
| ||
Streaming is vital, imho. I was quite surprised to find that Blitzmax didn't already have it. I can't justify using 40mb of RAM for a 4-minute track. |
| ||
It shouldnt be to hard to add streaming into FreeAudio, So fingers crossed skid'll find some time for it soon. |
| ||
REDi, how about submit this to pub.mod/axe.mod, this fills the gap of BMax audio, what we need is a cross platform driver..either freeaudio or portaudio. |
| ||
Hi yoko, AFAIK it's up to BRL what ends up in the pub/axe folders, if they wanted it they would ask ;) I've had it running through portaudio before (thanks to Chris C and Skidracer), but it suffered serious stability problems, probably down to my code rather than portaudio tho :? |