Skip to content

High-speed batch audio enhancer that restores high-frequency details like Sony DSEE HX, converting any audio file to Hi-Res. GUI Translated to English

License

Notifications You must be signed in to change notification settings

Urabewe/DSRE---Digital-Sound-Resolution-Enhancer-English

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DSRE v2.0 Enhanced / Deep Sound Resolution Enhancer

image

🚀 MAJOR ENHANCEMENTS - DSRE v2.0

This completely enhanced version of DSRE features a revolutionary new audio processing algorithm that delivers superior sound quality and performance over the original implementation:

🎵 Revolutionary Audio Processing Engine

  • Multi-Band Harmonic Excitement: Advanced frequency band processing (Sub Bass, Bass, Low Mid, Mid, High Mid, Presence, Air)
  • Psychoacoustic Enhancement: Human hearing-optimized frequency response targeting critical bands
  • Dynamic Range Enhancement: Intelligent upward expansion for more lively and dynamic audio
  • Stereo Width Enhancement: M/S processing for immersive soundstage expansion
  • Intelligent Frequency Processing: Sample rate-aware band selection and adaptive filter design
  • Robust Error Recovery: Comprehensive NaN detection and fallback mechanisms

🎨 User Interface Enhancements

  • Dark Mode Support: Toggle between light and dark themes with persistent settings
  • Drag & Drop Interface: Intuitive file loading with visual feedback
  • Resizable Panels: Customizable layout with splitter controls
  • Keyboard Shortcuts: Quick access to common functions (F5, Escape, Ctrl+L, etc.)
  • Recent Files Menu: Easy access to previously processed files
  • Enhanced File List: Better selection handling and visual indicators
  • Status Bar: Real-time processing information and feedback

Performance Optimizations

  • File Size-Based Progress: Accurate progress estimation based on file sizes
  • Chunked Processing: Memory-efficient processing for large files (>50MB)
  • Processing Statistics: Real-time ETA and performance metrics
  • Background Processing: Non-blocking UI with threaded audio processing
  • Adaptive Filter Design: Dynamic filter order based on frequency bandwidth
  • Optimized Memory Usage: Efficient audio data handling and processing

🛡️ Error Recovery & Robustness

  • Automatic Retry System: Up to 3 retry attempts for failed operations
  • Multi-Level Audio Loading: 5 fallback strategies for corrupted audio files
  • Intelligent Error Categorization: Adaptive retry delays based on error types
  • Partial Processing Recovery: Resume from where processing left off
  • Comprehensive Error Handling: Detailed error messages and recovery suggestions
  • NaN Value Detection: Prevents silent output from invalid audio processing
  • Filter Validation: Robust frequency range validation and error recovery

🎵 Audio Processing Improvements

  • MP3 Output Support: High-quality MP3 encoding with libmp3lame
  • Enhanced Metadata Preservation: Better cover art and metadata handling
  • Improved Sample Rate Handling: More robust resampling and format conversion
  • Better Audio Loading: Multiple fallback methods for various audio formats

💾 Configuration & Persistence

  • Settings Persistence: All preferences saved automatically
  • Recent Files Tracking: Remember recently processed files
  • Theme Persistence: Dark/light mode preference saved
  • Parameter Auto-Save: Real-time saving of all parameter changes

🔧 Code Quality & Maintainability

  • Comprehensive Type Hints: Better code documentation and IDE support
  • Enhanced Documentation: Detailed docstrings and code comments
  • Modular Architecture: Clean separation of concerns
  • Error Logging: Detailed logging for debugging and troubleshooting
  • Debug Output: Comprehensive processing information and validation

🎯 User Experience Improvements

  • Intuitive Controls: Clear button labels and tooltips
  • Visual Feedback: Progress bars, status updates, and processing indicators
  • File Management: Easy add/remove/clear operations for file lists
  • Output Organization: Automatic output directory management
  • Processing Feedback: Real-time updates on processing status and statistics

🔧 Technical Improvements & Bug Fixes

🐛 Critical Issues Resolved

  • Filter Stability: Improved Butterworth filter design with adaptive order and validation
  • Audio Loading Robustness: Enhanced error handling and fallback mechanisms

🚀 Performance Enhancements

  • Sample Rate Optimization: Intelligent band selection based on Nyquist frequency
  • Error Prevention: Proactive validation prevents processing failures

Description

DSRE is a high-performance audio enhancement tool that can batch-convert any audio files into high-resolution (Hi-Res) audio. Inspired by Sony DSEE HX, it uses a non-deep-learning frequency enhancement algorithm, allowing fast processing of large batches without heavy computation.

Key Features:

  • Batch Processing: Convert multiple audio files at once.
  • Multiple Formats: Supports WAV, MP3, FLAC, M4A, ALAC, etc.
  • Preserves Cover & Metadata: No manual editing required.
  • Flexible Parameters: Modulation count, decay, high-pass filter, etc.
  • Fast & Stable: Does not rely on deep learning, fast processing.

DSRE Installation Instructions

Prerequisites

  • Python 3.7 or higher
  • Git
  • Important: ffmpeg.exe must be located in a folder called ffmpeg within the project directory for the application to work properly

Installation Steps

1. Clone the Repository

git clone https://github.com/Urabewe/DSRE---Digital-Sound-Resolution-Enhancer-English.git
cd DSRE---Digital-Sound-Resolution-Enhancer-English

2. Create Virtual Environment

python -m venv DSRE

3. Activate Virtual Environment

DSRE\Scripts\activate

4. Install Requirements

pip install -r requirements.txt

5. Run the Application

python dsre.py

Notes

  • Make sure your virtual environment is activated before installing requirements or running the application
  • The application provides a GUI interface for batch audio enhancement
  • Supports multiple audio formats: WAV, MP3, FLAC, M4A, etc.

Parameters

Parameter Default Description
Harmonic Intensity (m) 16 Controls harmonic richness and detail (1-32)
Enhancement Strength 0.7 Overall enhancement intensity (0.1-1.0)
Target Sample Rate 96000 Hz Output audio sample rate (44100-192000)
Output Format ALAC / FLAC / MP3 Choose output format (Hi-Res or standard)

🎵 Enhanced Audio Processing Parameters

The new DSRE v2.0 algorithm automatically handles:

  • Multi-Band Processing: 7 frequency bands (Sub Bass, Bass, Low Mid, Mid, High Mid, Presence, Air)
  • Psychoacoustic Enhancement: Human hearing-optimized frequency response
  • Dynamic Range Enhancement: Intelligent upward expansion (1.2x)
  • Stereo Width Enhancement: M/S processing for wider soundstage (1.3x)
  • Adaptive Filter Design: Dynamic filter order based on frequency bandwidth
  • Sample Rate Awareness: Automatic band selection based on Nyquist frequency

About

High-speed batch audio enhancer that restores high-frequency details like Sony DSEE HX, converting any audio file to Hi-Res. GUI Translated to English

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%