ClearWave is an intelligent browser extension designed to provide a consistent and comfortable audio experience. It automatically normalizes volume levels in real-time, preventing sudden spikes in volume or whisper-quiet dialogue.
- Real-time Normalization: Automatically adjusts the volume of any media to match your preferred reference level.
- π Set Reference Volume: Use the "Set Reference" button while listening to your ideal volume to teach the extension your preference.
- π Live Volume Meter: A visual representation of current audio levels with smooth, real-time updates.
- π One-Click Toggle: Quickly enable or disable normalization with a simple switch.
- π¨ Premium UI: A modern, glassmorphic design that feels native to your browsing experience.
- π§ Smart Detection: Dynamically detects new media elements (videos/audio) as they appear on the page.
ClearWave uses the Web Audio API to hook into the audio stream of your browser tab.
- Analysis: It measures the RMS (Root Mean Square) amplitude of the audio 10 times per second.
- Comparison: It compares the current level against your stored Reference Level.
- Adjustment: A
GainNodeis used to smoothly increase or decrease the volume to match the target, ensuring a consistent output without clipping or distortion.
- Clone or download this repository to your local machine:
git clone https://github.com/apon133/ClearWave.git
- Open Google Chrome and navigate to
chrome://extensions/. - Enable Developer mode using the toggle in the top-right corner.
- Click Load unpacked and select the folder where you saved the extension files.
Currently optimized for:
- YouTube
- Support for Netflix and others coming soon!
- Open a video or audio stream on a supported site.
- Click the ClearWave icon in your extension toolbar.
- Adjust the system/video volume to a level you find comfortable.
- Click π Set Reference Volume. ClearWave will now remember this as your "perfect" volume.
- Turn on Auto Normalize to let ClearWave handle the rest!
Contributions are welcome! If you'd like to help improve ClearWave, please:
- Fork the repository.
- Create a new branch (
git checkout -b feature/AmazingFeature). - Commit your changes (
git commit -m 'Add some AmazingFeature'). - Push to the branch (
git push origin feature/AmazingFeature). - Open a Pull Request.
Distributed under the MIT License. See LICENSE for more information.
Created with β€οΈ by apon133