Vocalforge
Professional AI Vocal Extraction StudioA cutting-edge web application that uses advanced AI to separate vocals from musical instruments in audio and video files.
About the Project
Professional AI Vocal Extraction Studio
A cutting-edge web application that uses advanced AI to separate vocals from musical instruments in audio and video files. Built with Flask and powered by the state-of-the-art Demucs neural network, VocalForge delivers studio-quality vocal extraction with an intuitive, professional interface.
Perfect for creating halal content, acapella versions, vocal practice tracks, or any project requiring isolated vocals.
⨠Features
ð¨ Professional Enterprise-Grade Interface
- Modern Layout - Split-screen design with input on left, output on right
- Professional Color Scheme - Deep blue & gold accent palette for trust and premium feel
- Proper File Structure - Separated CSS and JavaScript in static folder
- Gradient Header - Eye-catching branding with live statistics
- Smooth Animations - GPU-accelerated transitions and micro-interactions
- Fully Responsive - Adapts beautifully to desktop, tablet, and mobile
- Real-time Feedback - Instant visual response to all user actions
- Auto-Cleanup - Automatic file cleanup prevents disk space buildup
ð Powerful AI Processing
- 6-Stem Model - Uses htdemucs_6s for best jazz/classical/orchestral separation
- Studio Quality - Professional-grade vocal extraction at 320kbps MP3
- Advanced Processing - Overlap and segmentation for cleaner results
- Jazz/Classical Optimized - Better handling of trumpet, piano, strings
- GPU Accelerated - Automatic CUDA detection for 10-20x faster processing
- Smart Progress - Live progress tracking with device info and time estimates
- Batch Ready - Process files up to 500MB
ð Comprehensive File Support
- Drag & Drop - Intuitive file upload with visual feedback
- Audio Formats - MP3, WAV, FLAC, M4A, OGG
- Video Formats - MP4, AVI, MKV, MOV (extracts audio automatically)
- In-Browser Playback - Preview results instantly
- One-Click Download - Get your vocals immediately
ð How It Works
VocalForge uses a sophisticated AI pipeline:
- Upload - Drag or select your audio/video file (up to 500MB)
- AI Processing - Demucs neural network analyzes and separates audio sources
- Extraction - Vocals are isolated from instruments with studio-quality precision
- Output - Download or preview your 320kbps MP3 vocals
ð» Installation
Prerequisites
- Python 3.8+ - Download Python
- FFmpeg - Required for audio processing
- NVIDIA GPU (Optional) - For CUDA acceleration
Install FFmpeg
Windows:
# Download from https://ffmpeg.org/download.html # Or use Chocolatey: choco install ffmpeg
Linux (Ubuntu/Debian):
sudo apt-get update sudo apt-get install ffmpeg
macOS:
brew install ffmpeg
Setup VocalForge
- Clone the repository
git clone <repository-url> cd VocalForge
- Create virtual environment
python -m venv venv
- Activate virtual environment
Windows:
venv\Scripts\activate
macOS/Linux:
source venv/bin/activate
- Install dependencies
pip install -r requirements.txt
ð¯ Usage
- Activate virtual environment
# Windows venv\Scripts\activate # macOS/Linux source venv/bin/activate
- Launch VocalForge
python app.py
- Open in browser
http://localhost:5000
- Process your files
- Upload audio/video file via drag & drop or file browser
- Monitor real-time progress with device info
- Preview results in the browser
- Download your vocals
âï¸ Technical Details
AI Model
- Model: Demucs v4 (htdemucs_ft)
- Developer: Meta AI Research
- Architecture: Hybrid transformer with temporal convolutions
- Quality: State-of-the-art music source separation
- Output: 320kbps MP3 (studio quality)
Performance
- GPU (CUDA): ~40-80 seconds for 3-min song â¡
- CPU: ~4-8 minutes for 3-min song
- First run: Downloads AI model (~300MB)
- Quality: 6-stem model (htdemucs_6s) optimized for jazz/classical
Supported Formats
- Audio: MP3, WAV, FLAC, M4A, OGG
- Video: MP4, AVI, MKV, MOV (audio extracted)
- Max size: 500MB
ð Project Structure
VocalForge/
âââ app.py # Flask application & API
âââ requirements.txt # Python dependencies
âââ README.md # Documentation
âââ templates/
â âââ index.html # Professional dual-column UI
âââ uploads/ # Temporary upload storage
âââ outputs/ # Processed vocal files
âââ venv/ # Virtual environment
ð§ Troubleshooting
Error: "demucs command not found"
- Activate virtual environment:
venv\Scripts\activate - Reinstall:
pip install demucs
Error: "FFmpeg not found"
- Install FFmpeg (see Installation section)
- Ensure FFmpeg is in system PATH
Processing is slow
- Install CUDA-enabled PyTorch for GPU acceleration
- Close other applications to free resources
- Process shorter audio segments
Upload fails
- Check file size (max 500MB)
- Verify file format is supported
- Ensure sufficient disk space
ð Performance Tips
- Use GPU - 10-20x faster processing
- Close Apps - Free system resources
- SSD Storage - Faster file operations
- Shorter Files - Process 3-5 min segments
ð License
This project is open source and available under the MIT License. The Demucs model is subject to its own license from Meta AI.
ð Credits
- Demucs - Meta AI's music source separation
- Flask - Web framework
- FFmpeg - Multimedia processing
- PyTorch - Deep learning platform
VocalForge - Professional AI Vocal Extraction Studio Powered by Demucs AI | Built with Flask
Project Gallery
Project Timeline
Technologies
External Links
Related Projects
Projects built with similar technologies.
Online Html Editor And Viewer
The Online HTML Editor and Viewer is a simple web application built with Flask that allows users to write and preview HTML code in real-time.
Qrgen
A premium, feature-rich QR Code Generator engineered with Python (Flask) and a pristine Glassmorphism frontend.
Examina Ai
Using AI, It transforms raw study materials into structured, verified examination sets with support for institutional export formats like Moodle XML.