A desktop application for generating high-quality spectrograms from FLAC audio files. The application provides an intuitive graphical interface for audio analysis while leveraging SoX (Sound eXchange) for processing.
- 📊 Generate full and zoomed spectrograms from FLAC audio files
- 🎛️ Customizable spectrogram parameters (width, height, z-range, window type)
- 🔍 Zoom functionality to analyze specific time segments in detail
- 📁 Batch processing for multiple files
- 📂 Folder scan for FLAC files
- 💾 Save and load configuration settings
- 🖼️ Direct preview of generated spectrograms
- 📱 Portable application
Download the latest release from the Releases page and run the executable.
For running from source:
# Clone the repository
git clone https://github.com/H4Z4RD-H42/RED-Spectrogram.git
cd RED-Spectrogram
# Create and activate virtual environment
python -m venv venv
venv\Scripts\activate # On Windows
# source venv/bin/activate # On macOS/Linux
# Install dependencies
pip install pillow configparser
# Run the application
python red-spectrogram.pyNote: Running from source requires SoX to be installed and available in your PATH.
- Add Files: Select FLAC files or scan a directory for FLAC files
- Configure Settings: Customize spectrogram parameters in the Settings tab
- Generate Spectrograms: Select spectrogram type (Full/Zoom) and generate
- View Results: Open generated spectrograms from the Output section
- Full Spectrogram: Analyzes the entire audio file
- Zoom Spectrogram: Focuses on a specific time segment (configurable in the settings)
| Parameter | Description | Typical Range |
|---|---|---|
| Width | Width of the spectrogram in pixels | 500-5000 |
| Height (bins) | Height of the spectrogram in bins | 129, 257, 513, 1025 (2^n+1) |
| Z-Range | Dynamic range in dB | 80-120 |
| Window Type | FFT window function | Kaiser, Hamming, Hann, etc. |
| Zoom Start | Starting point for zoom (M:SS) | Depends on audio |
| Zoom Duration | Duration for zoom (M:SS) | 0:01-0:10 |
To create a standalone executable:
# Create and activate virtual environment
python -m venv venv
venv\Scripts\activate # On Windows
# Install dependencies
pip install pillow configparser pyinstaller
# Create the executable
pyinstaller --noconsole --onefile --windowed red-spectrogram.specThe executable will be created in the dist folder.
When running from source:
- Python 3.6 or higher
- Pillow
- configparser
- SoX (Sound eXchange)
Contributions are welcome! Feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- SoX - Sound eXchange for the audio processing capabilities
- All contributors and users of this software

