Professional silence removal for voice recordings using FFmpeg
Trimly is a powerful audio processing tool that automatically removes unwanted silence and dead air from voice recordings, making them cleaner and more professional. Perfect for voiceovers, audiobooks, podcasts, and content creators.
🚀 Try Trimly Demo on Hugging Face
- 🎯 Intelligent Silence Detection - Advanced FFmpeg-based silence removal
- 🎛️ Customizable Parameters - Fine-tune threshold and duration settings
- 🌐 Web Interface - Clean, modern Gradio-based UI
- 📁 Multiple Formats - Supports MP3, WAV, M4A, FLAC, OGG
- ⚡ Fast Processing - Efficient FFmpeg backend
- 🔧 Professional Grade - Robust error handling and validation
- Python 3.10+
- FFmpeg installed and available in PATH
-
Clone the repo
git clone https://github.com/LogicWeave/trimly.git cd trimly -
(Optional) Create a virtual environment
python -m venv venv source venv/bin/activate # Windows: venv\Scripts\activate
-
Install dependencies
# Full installation pip install . # Or minimal installation (just Gradio) pip install gradio
-
Install FFmpeg (if not already installed)
# Ubuntu/Debian sudo apt update && sudo apt install ffmpeg # macOS brew install ffmpeg # Windows # Download from https://ffmpeg.org/download.html
-
Launch the app
python app.py
Trimly will launch in your default browser.
Silence Threshold (dB)
- -45 dB: Good starting point for most recordings
- -60 dB: More aggressive, removes quieter background noise
- -30 dB: Conservative, only removes obvious silence
Min Silence Duration (seconds)
- 0.05s: Standard for voice recordings
- 0.1s: Preserves natural pauses
- 0.02s: Very aggressive trimming
Trimly uses FFmpeg’s silenceremove filter to detect and trim silent segments. You control how it behaves:
- Silence Threshold (dB): How quiet is “silent”?
- Minimum Silence Duration (sec): How long before it gets chopped?
This lets you remove awkward gaps from voiceovers with surgical precision.
Contributions are welcome! Whether you're fixing bugs, adding features, or improving documentation, your input helps make Trimly better for everyone.
- Read the Contributing Guidelines
- Follow the Code of Conduct
Trimly is released under the MIT License. For the full license text, please see the LICENSE file.