Hi everyone
I can get my program to play either a .wav file using Playsound or I can get it to play a .wma file using PlayMusic but for some reason it wont do both concurrently. I gave both the music and sounds channels so I could adjust the volume because I thought maybe I just couldnt hear because the music was too loud. No luck. As soon as I remark out the playmusic, the sound files play again.. Is this a limitation to Blitz or am I just overlooking something?
In response to Grey Alien, I didnt define them as Global, simply used the format variable=playmusic("name.wma") then use the channel volume command on the variable. And I did use different variables for sound and music. So its an either/or situation. If music plays, sounds do not.
I noticed a different thread in another section by someone else who was having a similiar problem, but the resoluton was never stated, they simply said they got it to work.
Perhaps some one could post barebones code that play music and will play a sound effect with a key stroke? I would just need to alter the sound/music file to something i have.
I can get my program to play either a .wav file using Playsound or I can get it to play a .wma file using PlayMusic but for some reason it wont do both concurrently. I gave both the music and sounds channels so I could adjust the volume because I thought maybe I just couldnt hear because the music was too loud. No luck. As soon as I remark out the playmusic, the sound files play again.. Is this a limitation to Blitz or am I just overlooking something?
In response to Grey Alien, I didnt define them as Global, simply used the format variable=playmusic("name.wma") then use the channel volume command on the variable. And I did use different variables for sound and music. So its an either/or situation. If music plays, sounds do not.
I noticed a different thread in another section by someone else who was having a similiar problem, but the resoluton was never stated, they simply said they got it to work.
Perhaps some one could post barebones code that play music and will play a sound effect with a key stroke? I would just need to alter the sound/music file to something i have.