Welcome to the Drum Kit project! This is a simple web application that allows you to play different drum sounds by either clicking on the provided drum buttons or by using your keyboard. It's a fun and interactive way to create your beats and music.
-
Button Press: You can click on the drum buttons displayed on the web page to play drum sounds.
-
Keyboard Press: Alternatively, you can also use your keyboard to trigger drum sounds. Each key corresponds to a different drum sound.
-
Button Animation: When you press either a button or a key, the associated button on the screen will animate, providing a responsive and visually engaging experience.
-
Button Press: Simply click on the drum buttons with your mouse to play the corresponding drum sound.
-
Keyboard Press: You can also use your computer keyboard to play the drum sounds. Each key corresponds to a specific sound. Here are the key mappings:
w
: Tom 1a
: Tom 2s
: Tom 3d
: Tom 4j
: Crashk
: Kick Bassl
: Snare
-
Button Animation: Whenever you press a button or key, you'll notice a visual animation on the associated button, providing a fun and interactive feel.
This Drum Kit project is built with the following technologies:
-
HTML and CSS: The basic structure and styling of the web page.
-
JavaScript: Used for detecting button clicks and keyboard presses, as well as playing audio.
Happy Drumming !!