Skip to content

lgassuncao/drum-kit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JS Drum Kit

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.

How It Works

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.

Getting Started

To get started with this project, simply click drum-kit-plum-five.vercel.app

Key Bindings

  • 'A': Clap
  • 'S': Hihat
  • 'D': Kick
  • 'F': Openhat
  • 'G': Boom
  • 'H': Ride
  • 'J': Snare
  • 'K': Tom
  • 'L': Tink

Enjoy your drumming experience!

Releases

No releases published

Packages

No packages published