OpenTheFunk is a desktop application for analyzing the true quality of digital audio files. Using spectral analysis techniques, it can attempt to detect whether MP3 files are genuinely encoded at their declared bitrate or if they were upscaled from lower-quality sources.
- MP3 Analysis: Detects genuine 320kbps files vs. upscaled 128k/192k/256k content
- Advanced Algorithms: Uses multiple spectral analysis methods including:
- Cutoff frequency analysis
- Spectral flatness measurement
- Noise floor detection
- Harmonic content analysis
- Frame-to-frame variance analysis
- Spectrogram Viewer: Interactive spectrogram visualization with detailed frequency analysis
- Spectral Features: Displays cutoff frequencies, sharpness measurements, and spectral characteristics
- Evidence Breakdown: Shows detailed reasoning for each quality assessment
- Fast Scanning: Multi-threaded analysis with configurable worker count
- Smart Caching:
.funkcache files speed up rescans of unchanged folders - File Association: Double-click
.funkfiles to open cached results for an album/folder - Export Options: Export results to JSON, CSV, or text formats
- Cross-Platform: Works on Windows, macOS, and Linux
- Comprehensive Reports: Detailed statistics and quality breakdowns
- Filtering & Sorting: Filter results by quality verdict and sort by various criteria
- Batch Processing: Scan entire music libraries with recursive folder support
.mp3files.flac(limited testing)
Download the latest release from the releases page.
The app should prompt you on first run if you would like to add a the .funk file association. In cases where you decline, this pop up does not appear, or you change your mind: please open a command prompt in the same folder as the OpenTheFunk.exe and run:
openthefunk.exe --registerif you prefer Powershell:
.\openthefunk.exe --registerThis allows you to double-click .funk cache files to open them directly.
- Launch OpenTheFunk
- Click "File" → "Scan Folder" or use the toolbar button
- Select a folder containing audio files
- Wait for the analysis to complete
- Review results in the table view
The application provides several verdict categories:
- Likely genuine 320k: High-confidence genuine high-bitrate encoding
- Likely upscaled from ~128k/192k/256k: Files that appear higher quality but show spectral signs of lower-bitrate origin
- Likely genuine lossless: True lossless FLAC files
- Likely lossy-sourced FLAC: FLAC files transcoded from MP3 or other lossy formats
- Inconclusive: Cannot determine with confidence (may be genuinely ambiguous cases)
- Select any file in the results table to view its spectrogram
- Right-click the spectrogram for additional options
- Use the collapse button to hide/show the spectrogram viewer
- Results can be cached in
.funkfiles within scanned folders (enable in settings) - Cached results load instantly on subsequent scans of unchanged folders
- Cache validity is verified using folder content hashing. Changing anything in a folder will prompt a rescan.
- Use "File" -> "Export Results" to save analysis data
- Choose from JSON, CSV, or text formats
Access settings through "File" -> "Settings":
- Workers: Number of concurrent analysis threads (default: 4)
- Analysis Time: Maximum seconds to analyze per file (default: 30.0)
- Recursive Scanning: Include subdirectories (default: disabled)
The quality detection uses multiple complementary spectral analysis techniques:
- Cutoff Frequency Analysis: Detects sharp frequency cutoffs indicative of lossy compression
- Spectral Flatness: Measures noise-like content above cutoff frequencies
- Noise Floor Analysis: Identifies abrupt transitions to noise floors
- Harmonic Detection: Checks for harmonic content extending above cutoffs
- Frame Variance: Analyzes consistency of high-frequency content across frames
- Energy Ratios: Compares energy levels around cutoff frequencies
- High accuracy for detecting upscaled MP3s (90%+ confidence for clear cases)
- May produce inconclusive results for genuinely ambiguous cases
- Dark mastering or low high-frequency recording can cause false positives
- Go 1.25.5 or later
- GCC (for CGO dependencies)
git clone https://github.com/spjoes/openthefunk.git
cd openthefunk
go mod downloadthen
go build -o openthefunk.exe ./cmd/openthefunk #Build without logs
go build -x -v -o openthefunk.exe ./cmd/openthefunk #Build with logs
This app is inspired by Fakin' The Funk
For issues, questions, or feature requests:
- Check existing issues
- Create a new issue with detailed information
- Include sample files if reporting analysis issues (ensure you have rights to share)
Note: This tool is for informational purposes. Always verify important audio quality assessments through multiple methods and trusted sources. Although not required, it is recommended you analyze the spectrogram for each file manually.