Overview of Unmixer
Unmixer is a web application developed by researchers at the Media Interaction Group of the National Institute of Advanced Industrial Science and Technology (AIST), Japan[1][3]. The app enables users to upload audio tracks, automatically extract musical loops, remix them live, and create mashups by tempo-matching loops from different songs[3][5].
Core Technologies and Stack
Backend: Audio Analysis and Source Separation
- Algorithm:
The core of Unmixer’s backend is a source separation algorithm based on Nonnegative Tucker Decomposition (NTD) of the audio spectrum[3][5]. This method decomposes the audio into components (loops) by factorizing the spectrogram tensor, enabling the extraction of repeating musical elements (loops) from mixed audio.
- Enhancements:
An additional sparse nonnegative matrix factorization (SNMF-R) step is used to further purify the separated components, reducing interference between extracted loops[3].
- Loop Selection:
The system includes an algorithm to automatically select the best loop instances from the separated material, improving the musicality and usability of the extracted loops[3].
Frontend: Web Interface
- Web Technologies:
The interface is a browser-based web app that requires JavaScript to function[2]. Users interact with loop “tiles,” control playback, change tempo, and download extracted loops.
- User Experience:
The UI is designed for ease of use, allowing real-time remixing and mashup creation. Features include synchronized loop playback, tempo adjustment, and multi-song workspaces[3].
Likely Stack and Libraries
While the specific programming languages and libraries are not explicitly listed in the available sources, the following can be inferred based on the app’s requirements and standard web development practices:
| Layer | Likely Technologies Used |
|---|
| Backend | Python (for scientific computing and audio processing), NumPy, SciPy, custom NTD/SNMF-R implementations, possibly Flask or Django for API endpoints |
| Audio Processing | Librosa (audio analysis), custom DSP code |
| Frontend | JavaScript, HTML5, CSS3, Web Audio API (for playback and manipulation), React or Vue.js (for dynamic UI) |
| File Handling | JavaScript File API, server-side storage (for uploaded audio and extracted loops) |
| Deployment | Hosted on AIST/OngaACCEL infrastructure |
Key Libraries and Algorithms
- Nonnegative Tucker Decomposition (NTD):
Used for source separation and loop extraction from the audio spectrogram[3][5].
- Sparse Nonnegative Matrix Factorization (SNMF-R):
Applied to refine the separation and reduce overlap between extracted loops[3].
- Tempo Detection and Synchronization:
Algorithms for beat tracking and tempo adjustment ensure that loops from different songs are automatically matched for live remixing[3].
- Web Audio API:
Likely used for real-time audio playback and manipulation in the browser.
Development and Research Context
Unmixer was presented at the International Society for Music Information Retrieval Conference (ISMIR) in 2019, with its development rooted in academic research on music information retrieval, source separation, and interactive music systems[3][5][7]. The project is part of a broader suite of music technology tools developed by the AIST Media Interaction Group.
Summary Table
| Component | Technology/Method Used |
|---|
| Source Separation | Nonnegative Tucker Decomposition (NTD) |
| Loop Refinement | Sparse Nonnegative Matrix Factorization (SNMF-R) |
| Tempo Matching | Beat tracking, tempo adjustment algorithms |
| Backend Language | Python (likely), scientific libraries |
| Frontend | JavaScript, HTML5, CSS3, Web Audio API |
| UI Framework | Possibly React or Vue.js |
| Hosting | AIST/OngaACCEL servers |
References to Further Reading
- The ISMIR 2019 paper, “Unmixer: An Interface for Extracting and Remixing Loops,” provides a detailed technical description of the algorithms and system architecture[3].
- The app’s About[1] and Quickstart[2] pages confirm its research origins and web-based nature[1][2].
- Podcast interviews and conference presentations further discuss the project’s development and research context[5][7].
In summary:
Unmixer combines advanced audio decomposition algorithms (NTD and SNMF-R) with a modern JavaScript-based web interface, enabling users to extract, remix, and mash up musical loops from any uploaded audio. Its development is grounded in academic research and leverages both scientific computing and web technologies for a seamless user experience[1][3][5].