I am creating an interactive visual and audio APP which should play 3 sounds. 1 sound playing in the background, one sound playing when onKeyDown and the last sound playing when onMouseDown.
My problem is that all three sounds are played once when the window opens - but only the first sound should start playing then.
Can somebody help me make a code which can do this? Please be aware that I am fairly new to programming. Thanks!