how do you create a program that auto plays music

Blitz3D Forums/Blitz3D Beginners Area/how do you create a program that auto plays music

seferey(Posted 2005) [#1]
how do you play music files in a blitz3d program?


Erroneouss(Posted 2005) [#2]
PlayMusic(filename$)


WolRon(Posted 2005) [#3]
You CAN use PlaySound as well, if you want (depending on the situation). If using PlaySound, you may have access to more control of the music by using the Channel commands...


GfK(Posted 2005) [#4]
Using PlaySound to play music is a very bad idea. If you load an MP3 or OGG file with LoadSound(), it is loaded in its entirety and decompressed into memory. So a 3Mb MP3 will take up about 30Mb of resources.