An intelligent desktop DJ application that uses AI to automatically mix and process music tracks.
- 🎵 AI-Powered Stem Separation - Separate vocals, drums, bass, and other instruments
- 🎧 Automatic Music Mixing - Intelligent beat matching and transitions
- 📥 Music Download - Download tracks from various sources
- 🎛️ Professional DJ Interface - Intuitive controls for live mixing
- 🔧 Multiple Processing Options - Choose from different AI models
- 📱 Cross-Platform - Works on Windows, macOS, and Linux
- Node.js (v16 or higher)
- Python (v3.8 or higher) with pip
- FFmpeg installed and in your PATH
-
Clone the repository
git clone https://github.com/yourusername/AutoDJ.git cd AutoDJ -
Install dependencies
npm install npm run install-python-deps
-
Start development
npm run electron-dev
# Run the automated packaging script
package-windows.bat# Package for Windows
npm run electron-pack-win
# Package for macOS
npm run electron-pack-mac
# Package for Linux
npm run electron-pack-linux
# Package for all platforms
npm run electron-pack-all# Use the Node.js packaging script
node scripts/package.js win # Windows
node scripts/package.js mac # macOS
node scripts/package.js linux # Linux
node scripts/package.js all # All platformsAutoDJ keeps music organized under ~/Music/AutoDJ/Library:
- Downloads: raw downloads from YouTube or SoundCloud are stored in
Library/Downloads - Processed: copies of tracks that have been processed live in
Library/Processed - Stems: extracted stems are saved in
Library/Stems - Temp: temporary working files are placed in
Temp
- Launch AutoDJ and you'll see the Dashboard with an overview of your music library
- Upload Music: Go to the "Upload & Process" tab to add your music files
- Process Stems: Click "Process All Files" to separate your tracks into stems
- Start DJing: Switch to the "AI|DJ" tab to create queues and start mixing
- View statistics about your music library
- See processing status and active sessions
- Quick access to main features
- Player Controls: Play, pause, skip, and control volume
- Stem Visualization: Real-time stem level display and individual volume controls
- Queue Management: Add tracks, reorder queue, and manage upcoming songs
- Auto Mix: Let the AI automatically transition between tracks
- Drag & Drop: Simply drag music files into the upload area
- Batch Processing: Process multiple files at once
- Progress Tracking: Monitor processing status for each file
- Format Support: Accepts MP3, WAV, FLAC, M4A, and AAC files (WAV preferred for analysis)
- URL Input: Paste YouTube or SoundCloud links
- Quality Selection: Choose audio quality from 128kbps to 320kbps
- Format Options: Download in MP3, WAV, FLAC, or M4A format (WAV is used by default)
- Manual Processing: After download, process stems from the Upload & Process tab
- Electron: Cross-platform desktop application framework
- React: Modern UI library with hooks and functional components
- Styled Components: CSS-in-JS for dynamic styling
- Lucide React: Beautiful, customizable icons
- Demucs: Meta's state-of-the-art music source separation
- yt-dlp: Robust YouTube and SoundCloud downloader
- librosa: Audio analysis and feature extraction
- PyTorch: Deep learning framework for AI models
- Input Validation: Check file format and integrity
- Stem Separation: Use Demucs to separate audio sources
- Metadata Extraction: Extract audio properties and tags
- File Organization: Save processed stems with proper naming
- Quality Control: Verify output quality and completeness ======= Original files are never deleted automatically.
AutoDJ Setup.exe- NSIS installer with shortcutsAutoDJ.exe- Portable executableAutoDJ-win32-x64.zip- Zipped application
AutoDJ.dmg- Disk image installerAutoDJ-mac.zip- Zipped application
AutoDJ.AppImage- AppImage formatAutoDJ.deb- Debian packageAutoDJ.rpm- RPM package
npm start- Start React development servernpm run electron-dev- Start Electron in development modenpm run build- Build React app for productionnpm run electron- Run Electron with built app
AutoDJ/
├── src/ # React application source
│ ├── components/ # React components
│ ├── utils/ # Utility functions
│ └── main.js # Electron main process
├── python/ # Python backend
│ ├── stem_processor.py # AI stem separation
│ ├── downloader.py # Music downloader
│ └── requirements.txt # Python dependencies
├── Assets/ # Application assets
├── build-resources/ # Build configuration
└── scripts/ # Packaging scripts
The application supports multiple AI models for stem separation:
- Demucs - High-quality separation (default)
- Open-Unmix - Fast processing
- Spectral - Lightweight option
- Professional - Advanced features
Install required Python packages:
pip install -r python/requirements.txtWindows:
- Download from https://ffmpeg.org/
- Extract to a folder
- Add to system PATH
macOS:
brew install ffmpegLinux:
sudo apt install ffmpeg # Ubuntu/Debian
sudo yum install ffmpeg # CentOS/RHEL-
Python not found
- Ensure Python is installed and in PATH
- Run
npm run install-python-deps
-
FFmpeg not found
- Install FFmpeg and add to PATH
- Restart terminal after installation
-
Build fails
- Clear
node_modulesand reinstall - Check Python dependencies
- Verify all assets exist
- Clear
- Check the PACKAGING.md for detailed packaging information
- Review build logs in the
distdirectory - Ensure all prerequisites are met
- Fork the repository
- Create a feature branch
- Make your changes
- Test thoroughly
- Submit a pull request
This project is licensed under the MIT License - see the LICENSE file for details.
For issues and questions:
- Check the troubleshooting section
- Review the documentation
- Open an issue on GitHub
AutoDJ - Making AI-powered DJing accessible to everyone! 🎧✨