Heres what Im trying to make work:
Graphics 800, 600
Global noise=LoadSound("brook.wav")
Global music=PlayMusic("easy.wma")
While Not KeyDown (1)
If KeyDown(2)
If ChannelPlaying (chnnoise) Then ChannelVolume chnnoise,1 Else chnnoise=PlaySound (noise)
End If
Wend
As is, only the music will play, if you remark out the third line than the sound will play.
If ran in debug mode then this does work with both music and sound.
Any ideas?
Graphics 800, 600
Global noise=LoadSound("brook.wav")
Global music=PlayMusic("easy.wma")
While Not KeyDown (1)
If KeyDown(2)
If ChannelPlaying (chnnoise) Then ChannelVolume chnnoise,1 Else chnnoise=PlaySound (noise)
End If
Wend
As is, only the music will play, if you remark out the third line than the sound will play.
If ran in debug mode then this does work with both music and sound.
Any ideas?