Inspired by a love for cyberpunk aesthetics and audio visualizations, this project is a CyberPunk-themed music player built with React, utilizing the Web Audio API and Canvas to deliver an engaging audio experience. The player combines style with functionality, featuring standard controls like play, pause, next, previous, shuffle, repeat, and volume control.
This project also integrates an audio visualizer, which uses the Web Audio API and Canvas to create simple animated visuals that enhance the cyberpunk vibe.
- Play/Pause: Start or pause the music
- Next/Previous: Skip forward or go back to the previous track
- Shuffle: Randomly play songs from the playlist
- Repeat: Loop the current song
- Volume Control: Adjust the volume level
- Audio Visualization: Animated visual effects based on the audio
This project was built based on the tutorial by TropicolX.
- React: Core framework for building the user interface
- Vite: A fast development server and build tool
- Web Audio API: For enhanced audio functionality and analysis
- Canvas: Used for rendering audio visualizations
To run this project locally:
-
Clone the repository:
git clone https://github.com/adgpt/Cyberpunk-Music-Player.git
-
Navigate to the project directory:
cd cyberpunk-music-player
-
Install dependencies:
npm install
-
Start the development server:
npm run dev
Your app should now be running on
http://localhost:3000
.
- Open the app in your browser.
- Load a playlist (if applicable) and click the play button to start the audio.
- Adjust the volume and use the visualized controls to interact with the player.