Quantcast
Channel: Library Questions - Processing 2.x and 3.x Forum
Viewing all articles
Browse latest Browse all 2896

How to stop audio from overlapping?

$
0
0

I'm fairly new to processing, started in september. In my class right now were making experments based off of pacman. Right now I'm trying to have the waka waka sound play upon a key press and use loop to repeat it. The problem is that as I continue to use the keys the sound starts over again mutiple times overlapping each over. How can I make the audio run once until the key is released to stop the sound and repeat itself again.


Viewing all articles
Browse latest Browse all 2896

Trending Articles