An open API service indexing awesome lists of open source software.

https://github.com/alidantech/drum-machine


https://github.com/alidantech/drum-machine

Last synced: 2 months ago
JSON representation

Awesome Lists containing this project

README

          

# Drum Machine

This is a drum machine app built with React for the Drum Machine challenge on [freeCodeCamp](https://www.freecodecamp.org/). It allows users to play drum sounds by clicking on the drum pads or using keyboard keys.

![Drum Machine Screenshot](screenshot.png)

## Features

- Nine drum pads, each with a unique sound and corresponding keyboard key
- Clicking on a drum pad triggers the associated sound
- Pressing the keyboard key associated with a drum pad triggers the sound
- Display shows the description of the triggered sound
- Responsive layout with Bootstrap styling

## Technologies Used

- React
- HTML5
- CSS3
- Bootstrap

## Getting Started

To get a local copy of the project up and running, follow these steps:

1. Clone the repository:

```bash
git clone https://github.com/your-username/drum-machine.git
```

2. Change to the project directory:

```bash
cd drum-machine
```

3. Install the dependencies:

```bash
npm install
```

4. Start the development server:

```
npm start
```

5. Open the app in your browser:

http://localhost:3000

## Usage

- Click on the drum pads to play the associated sounds.
- Press the keyboard keys (Q, W, E, A, S, D, Z, X, C) to play the corresponding sounds.
- The description of the triggered sound will be displayed in the center of the app.

## Credits

- Drum sounds: [freeCodeCamp](https://www.freecodecamp.org/)

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE)