I'm making an interactive piano tutorial, and I have a strings scale attached to the key down of several keys. Here is an example of one key down;
if (e.which == 65) { //A
var getShot = sym.getSymbol("soundtestA").getSymbol("Asound");
getShot.play("A");
}
It works fine, but upon lift it keeps playing through - making the notes slow and delayed.
I'm not too code savy. How can I link the key up to either pause or stop the sound bite?