hello, i'm making a program that when a key is pressed minim opens an audio file (different for each key) and it's working fine, but i'm having trouble with that:
"
Because of how operating systems handle key repeats, holding down a key may cause multiple calls to keyPressed() (and keyReleased() as well). The rate of repeat is set by the operating system and how each computer is configured."
i searched the forum but couldn't find a way to solve this, the problem is that i have to toutch the key very gently or the audio file opens hundreds of times and the sound gets really weird. i tried changing the frame rate, tried using the "boolean state, pstate;" suggested here and other stuff, but nothing works