PlayMusic Command not working
Blitz3D Forums/Blitz3D Programming/PlayMusic Command not working
| ||
hello, im having a program with getting playmusic(filename$) to work Is there a reason to why or has anyone had this problem before..? muiscbg = playemusic(filename$) is what im doing.. |
| ||
well, apart from the spelling "playemusic....", instead for background sound try this...use your own wav file of course!!! : MusicBG=LoadSound("windy.wav") LoopSound MusicBG PlaySound MusicBG This came up a few days ago in the beginners forum! |
| ||
ahh, well I wanted to use a Mid and this was a question of seeing if anyone else was having the game problem :( |
| ||
.mid should be supported according to the docs: PlayMusic (filename$) Parameters: filename$ - name of music file. Formats supported: raw/mod/s3m/xm/it/mid/rmi/wav/mp2/mp3/ogg/wma/asf http://www.blitzbasic.com/b3ddocs/command.php?name=PlayMusic&ref=2d_cat |
| ||
Yeah I tried to use a xm file works fin but no midi will work.. its kinda weird.. |
| ||
It might be your soundcard / drivers that don't work properly? |
| ||
If you've got 3d music setup (createlistener, etc) - PlayMusic only plays the music around world center 0,0,0 - if I'm not mistaken. If it's not PlayMusic, it's one of the other ones :( hope this helps, D. |
| ||
yeah, thanks guys got it to work, don't know how but it does now :P |