Do Sound Files have to be a certain format?
Blitz3D Forums/Blitz3D Beginners Area/Do Sound Files have to be a certain format?
| ||
I've loaded a .wav which plays on my pc just fine but wont play in blitz3d, I then converted it to an mp3, plays fine on my pc but wont play in blitz3d. I was wondering if sound files have to be a certain bit rate? Any help would be appreciated... again. Thanks. |
| ||
Interesting, I suppose they do, 8 bit mono doesnt work, 16 bit mono does. Ok, nevermind that, I just played an 8khz, 8bit mono file too. I dunno... |
| ||
Maybe something wrong in your code? I can play here all sorts of wavs and mp3s without any problem... Try this: mySound=LoadSound("sound.wav") SoundVolume mySound, 0.5 myChannel=PlaySound(mySound) With the wav on the same path as this program. If that doesnt work, then I dont know :P |
| ||
Thank you for the help, I am using similiar code, as basic as I can in fact. I'll keep pluggin away at this and see what I come up with. |