I checked other topics and couldn’t find this type of problem. Although my code works, error tab tells me it is not working.
No audio plays when the Q key is pressed : expected true to be false
But it plays when Q key is pressed.
Here is my code https://bitbucket.org/ilknurultanir/drum-machine/src/master/
You can check it from https://serene-stream-13297.herokuapp.com/