Interactive Music Grid is a React-based web application that allows users to create and play music through an interactive grid interface. Each box in the grid represents a different musical instrument, and users can activate or deactivate these instruments to create unique musical compositions.
- Interactive grid of instrument boxes
- Each box represents a different musical instrument (e.g., drums, piano, guitar)
- Click or hover over boxes to activate/deactivate instruments
- Synchronized playback of multiple instrument tracks
- Custom cursor for music-related interactions
- Play/Stop button to control overall playback
- React
- JavaScript (ES6+)
- HTML5
- CSS3
- Web Audio API
- Node.js (v14 or later)
- npm (v6 or later)
-
Clone the repository:
git clone https://github.com/yourusername/interactive-music-grid.git
-
Navigate to the project directory:
cd interactive-music-grid
-
Install dependencies:
npm install
-
Start the development server:
npm start
-
Open your browser and visit
http://localhost:3000
to view the app.
- Click the "Play" button to start the overall playback.
- Click on individual instrument boxes to activate or deactivate them.
- Experiment with different combinations to create your unique sound.
- Click the "Stop" button to stop the playback.
interactive-music-grid/
├── public/
│ ├── index.html
│ └── sounds/
│ ├── drums.mp3
│ ├── piano.mp3
│ └── ...
├── src/
│ ├── App.js
│ ├── App.css
│ ├── InstrumentGrid.js
│ ├── InstrumentGrid.css
│ ├── InstrumentBox.js
│ ├── InstrumentBox.css
│ ├── index.js
│ └── logo.svg
├── package.json
└── README.md