First off:
Secondly, What are the forum codes?
Lastly, the use of the KeyDOWN command is possibly the cause of your problem. KeyDown would be true for every loop of your program, which is unnecessary.
Also, I think the volume is 100% by default so there is no need to set it to 100%.
This is how I would write it.
if you remark out the third line
Which line is the third line? Are your referring to this Global music=PlayMusic("easy.wma") line?Secondly, What are the forum codes?
Lastly, the use of the KeyDOWN command is possibly the cause of your problem. KeyDown would be true for every loop of your program, which is unnecessary.
Also, I think the volume is 100% by default so there is no need to set it to 100%.
This is how I would write it.
Graphics 800, 600 Global noise=LoadSound("brook.wav") Global music=PlayMusic("easy.wma") While Not KeyHit(1) If KeyHit(2) If Not(ChannelPlaying(chnnoise)) chnnoise=PlaySound(noise) EndIf EndIf Wend