Simple drums separation with NMF

Illustrates the use of NMF for the separation of drums in polyphonic music
1.3K Downloads
Updated 27 Oct 2011

View License

----------------------------------
This script illustrates the use of NMF for the extraction of the drums section in polyphonic music. It makes use of the NMF and Signal classes that are available in Mathworks file exchange.

The main lines of the technique are:
* compute onsets for different frequency bands.
* model the whole signal as an NMF, with the H of the components corresponding to the drums being initialized with the onsets
* perform a filtering of the signal

This code should work reasonably OK for small files (approx 30s). When using this script for research purpose, please be so kind as to provide the corresponding reference:

@ARTICLE{LiutkusGPSS,
author={Liutkus, A. and Badeau, R. and Richard, G.},
journal={Signal Processing, IEEE Transactions on},
title={Gaussian Processes for Underdetermined Source Separation},
year={2011},
month={july },
volume={59},
number={7},
pages={3155 -3167},
doi={10.1109/TSP.2011.2119315},
ISSN={1053-587X},}

Cite As

Antoine Liutkus (2024). Simple drums separation with NMF (https://www.mathworks.com/matlabcentral/fileexchange/33486-simple-drums-separation-with-nmf), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2010a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0