How to stop audio from overlapping?

edited November 2016 in Library Questions

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.

Tagged:

Answers

Sign In or Register to comment.