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
| ||
how do you play music files in a blitz3d program? |
| ||
PlayMusic(filename$) |
| ||
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... |
| ||
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. |