How shxnqzu/ears-bass-boost-eq-any-audio-for-firefox works
Ears is a Firefox WebExtension prototype for equalizing HTML audio/video media in the current tab. The main workflow is: a user opens the popup and enables EQ; the background process injects and commands a content script; that script configures page-world Web Audio processing, which attaches filters to media elements. The popup also manages presets, filter settings, themes, and spectrum display. The sampled sources show the messaging and audio path; the README documents product limits and behaviors. The older offscreen files are excluded because the README says they are not part of Firefox audio processing.
Main entry points: bg.js Background controller · content.js Content bridge · main-world.js Web Audio processor · popup.js EQ popup
Components 8
Popup interface
- EQ popup
extension/popup.js
Extension coordination
- Background controller
extension/bg.js
Page audio processing
- Content bridge
extension/content.js - Web Audio processor
extension/main-world.js
Preset persistence
- Preset storage
Other components
- User
- Page media elements
- Browser downloads
Connections 11
- User → EQ popup: opens and controls
README.md - EQ popup → Background controller: sends commands
extension/popup.js - Background controller → Content bridge: injects and commands
extension/bg.js - Content bridge → Web Audio processor: injects and configures
extension/content.js - Web Audio processor → Page media elements: processes audio
extension/main-world.js - Background controller → EQ popup: publishes status
extension/bg.js - Background controller → Content bridge: requests FFT
extension/bg.js - Content bridge → Web Audio processor: requests FFT
extension/content.js - Web Audio processor → Content bridge: returns FFT
extension/main-world.js - Background controller → Preset storage: loads and saves
extension/bg.js - Background controller → Browser downloads: exports presets
extension/bg.js