This is a web-based application that allows users to play different drum sounds using their keyboard. The keys 'A', 'S', 'D', 'F', 'G', 'H', 'J', 'K', and 'L' each correspond to a different drum sound. When a key is pressed, the corresponding drum sound is played.
The JavaScript code listens for a 'keydown' event and then plays the corresponding sound. It also adds a 'playing' class to the key that was pressed. This class is removed when the 'transitionend' event is fired, stopping the sound.
To get started with this project, simply click drum-kit-plum-five.vercel.app
- 'A': Clap
- 'S': Hihat
- 'D': Kick
- 'F': Openhat
- 'G': Boom
- 'H': Ride
- 'J': Snare
- 'K': Tom
- 'L': Tink
Enjoy your drumming experience!