A web application that visually represents audio files using JavaScript. This project leverages various JavaScript methods such as FileReader
, AudioContext
, readAsArrayBuffer
, and requestAnimationFrame
to create dynamic and engaging visualizations.
Check out the live version of the Audio Visualizer here.
- File Upload: Users can upload their own audio files for visualization.
- Dynamic Visualization: Real-time visualization that responds to the audio frequency and amplitude.
- User-Friendly Interface: Simple and intuitive interface for seamless user experience.
- HTML5: Structure of the application.
- CSS3: Styling and layout.
- JavaScript: Core logic for audio processing and visualization.
FileReader
: Reads the uploaded audio file.AudioContext
: Processes the audio data.readAsArrayBuffer
: Reads the file as a binary buffer.requestAnimationFrame
: Animates the visualization.
- Upload an Audio File:
- Click on the "Upload" button.
- Select an audio file from your device.
- Visualization:
- The application will process the audio file and display the visual representation.
- Enjoy the dynamic visual effects synchronized with the audio.
To run this project locally:
- Clone the repository:
git clone https://github.com/abhishekpd01/Audio-Visualiser.git
- Navigate to the project directory:
cd audio-visualizer
- Open
index.html
in your preferred web browser.
Contributions are welcome! Please fork the repository and submit a pull request for review.
This project is licensed under the MIT License.