This is a simple drum machine application built using React. It allows users to play different sounds by clicking on the keyboard keys or pressing the corresponding keys on their keyboard. The application also allows users to adjust the volume and change the instrument being played.
To install the application, follow these steps:
- Clone the repository to your local machine.
- Navigate to the project directory.
- Run
npm install
to install the required dependencies. - Run
npm start
to start the application.
To use the application, follow these steps:
- Click on the keyboard keys or press the corresponding keys on your keyboard to play different sounds.
- Use the volume slider to adjust the volume of the sounds.
- Click on the "Change Instrument" button to switch between different instruments.
This project was built using the following technologies:
- React
- ReactDOM
The sounds used in this project were obtained from FreeCodeCamp.
You can run the code in codepen.io or check the demo here.