Simple drums separation with NMF

Illustrates the use of NMF for the separation of drums in polyphonic music

You are now following this Submission

----------------------------------
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 (2026). Simple drums separation with NMF (https://uk.mathworks.com/matlabcentral/fileexchange/33486-simple-drums-separation-with-nmf), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0