Intelligent Firefox extension that automatically adjusts YouTube playback speed based on real-time audio analysis using artificial intelligence.
- Intelligent speed control - AI analyzes audio in real-time
- Adaptive acceleration - automatically speeds up during silence
- Controlled deceleration - slows down during detected speech
- Machine learning - neural network learns from your usage patterns
- Manual speed control - set custom playback speed when AI is disabled
- Full configuration - all parameters can be customized to your preferences
- Speed range - set your own range from 0.25x to 4x (default 2x-3.25x)
- Manual speed - custom speed for manual mode (default 1.0x)
- Smart Speed ON/OFF - easily enable/disable AI functionality
- Auto-training - enable/disable neural network machine learning
- On-screen HUD - show/hide current speed information with hover
- Model reset - start training from scratch
- Quick Smart Speed enable/disable toggle
- Current settings preview
- Direct access to options
- Detailed configuration of all features
- Intuitive sliders for speed settings
- Advanced AI training options
- Download all files from the repository
- Open Firefox
- Go to
about:debugging#/runtime/this-firefox - Click "Load Temporary Add-on"
- Select the
manifest.jsonfile from the plugin folder
The plugin utilizes:
- Web Audio API - for real-time audio analysis
- Brain.js - machine learning library
- Chrome Storage API - for storing settings and trained model
- Plugin analyzes audio signal from YouTube video
- Calculates RMS (Root Mean Square) for volume detection
- Neural network classifies audio as "silence" or "speech"
- Based on results, adjusts playback speed within specified range
- Model learns continuously (if auto-training enabled)
/smart-speed/
├── manifest.json # Extension configuration
├── README.md # This documentation
├── src/ # Source code
│ ├── js/ # JavaScript files
│ │ ├── background.js # Background communication
│ │ ├── brain.js # Machine learning library
│ │ ├── content.js # Main YouTube page logic
│ │ ├── options.js # Settings page logic
│ │ └── popup.js # Popup interface logic
│ ├── css/ # Stylesheets
│ │ └── overlay.css # HUD and overlay styles
│ └── html/ # HTML templates
│ ├── options.html # Settings page
│ └── popup.html # Extension popup
├── icons/ # Extension icons
│ ├── icon16.svg
│ ├── icon48.svg
│ └── icon128.svg
└── docs/ # Documentation
├── INSTALLATION.md
└── RELEASE_CHECKLIST.md
All parameters can be customized in settings:
- Minimum speed: how slow to play during speech
- Maximum speed: how fast to play during silence
- Volume threshold: sensitivity for silence/speech detection
- Analysis frequency: how often to analyze audio
Open developer tools (F12) on YouTube to see:
- Audio analysis logs
- Neural network state
- Model saving/loading
- Error messages
- Manual speed control - custom playback speed when AI is disabled
- HUD hover functionality - speed display appears on video hover
- Organized project structure - professional directory layout
- Full user configuration - all parameters customizable
- Better popup interface - state preview and quick access
- Advanced training options - enable/disable AI learning
- Model reset capability - start fresh training
- Performance optimization - reduced memory usage and faster loading
- Code cleanup - removed redundant code and debug artifacts
- Better error handling - more robust operation
- Memory management - proper cleanup and resource reuse
- Cross-browser compatibility - works on both Chrome and Firefox
- Stable operation - fixed timing issues and race conditions
- Firefox 60+
- Active YouTube connection
- JavaScript enabled
Open-source project - you can freely modify and adapt to your needs.
Developed with ❤️ for the YouTube community