Compress audio to make sound volumes more even
Audio Compressor Extension
Audio Compressor is an addon that uses dynamic range compression to make sound volumes more even.
There are presets for different levels of compression. You can customize the default settings or the settings for a specific site or page.
There are some sites it doesn't work with, cross-origin browser security blocks scripts from modifying audio/video from a different host. As far as I know there's no way around this.
This works by using the Web Audio API to get the audio context for a page, and inserting a DynamicsCompressorNode.
Read more
There are presets for different levels of compression. You can customize the default settings or the settings for a specific site or page.
There are some sites it doesn't work with, cross-origin browser security blocks scripts from modifying audio/video from a different host. As far as I know there's no way around this.
This works by using the Web Audio API to get the audio context for a page, and inserting a DynamicsCompressorNode.
Source Manifest.json
{"update_url": "https://clients2.google.com/service/update2/crx", "manifest_version": 3, "version": "0.1.27", "name": "Audio Compressor", "description": "Compress audio to make sound volumes more even", "permissions": [ "tabs", "storage" ], "background": { "service_worker": "background.js", "type": "module", "scripts": [ "background.js" ] }, "content_scripts": [ { "matches": [ "http://*/*", "https://*/*" ], "js": [ "data/inject.js" ] } ], "icons": { "16": "data/icons/logo-mid-active-16.png", "32": "data/icons/logo-mid-active-32.png", "48": "data/icons/logo-mid-active-48.png", "64": "data/icons/logo-mid-active-64.png", "128": "data/icons/logo-mid-active-128.png" }, "action": { "default_icon": { "16": "data/icons/logo-mid-16.png", "32": "data/icons/logo-mid-32.png", "48": "data/icons/logo-mid-48.png", "64": "data/icons/logo-mid-64.png", "128": "data/icons/logo-mid-128.png" }, "default_popup": "data/popup/index.html", "theme_icons": [ { "dark": "data/icons/logo-dark.svg", "light": "data/icons/logo-light.svg", "size": 16 } ] }, "browser_specific_settings": { "gecko": { "id": {e27e6107-706b-40a7-9415-a20707d8831a} } }}
Read more