KeyBeat is a simple web app that lets you play drum sounds using your keyboard. Press the assigned keys to trigger different beats!
- πΆ Play sounds by pressing predefined keys (A, S, D, F, G, H, J, K, L).
- π¨ Smooth visual effects when a key is pressed.
- π Supports multiple sound formats (WAV, MP3, OGG).
- π» Lightweight and runs directly in the browser.
- Clone this repository:
git clone https://github.com/Sabarish575/keybeat.git
- Open the
PlaySound.htmlfile in a browser. - Ensure your
sounds/folder contains valid sound files.
| Key | Sound |
|---|---|
| A (65) | Clap |
| S (83) | Boom |
| D (68) | Hi-Hat |
| F (70) | Tom |
| G (71) | Ride |
| H (72) | Snare |
| J (74) | Open Hat |
| K (75) | Tink |
| L (76) | Kick |
- If sounds donβt play, check:
- Sound files exist in the
sounds/directory. - Your browser supports the audio format.
- The project is run in a local server (e.g., VS Code Live Server).
- Sound files exist in the
This project is open-source and available under the MIT License.