Drum Gate

Making machine learning behave

Drum Gate is a machine-learning powered drum-processing plugin that achieves source-separation-like results without the artefacts of traditional gating or source-separation tools.

As R&D Lead, I took it from early experiments to a product that could be trusted by professional users, defining both the technical roadmap and the decision-making framework that let us know when the system was actually getting better.

Role R&D Lead
Contribution Product and technical strategy, ML integration, algorithm design, statistical validation, interaction design, visual design
Drum Gate lifestyle shot Erum Gate Decay Tab Drum Gate Align Tab Drum Gate Level Tab Drum Gate Output Panel

The problem

ML models can look impressive in demos and still fail in production.

Early in Drum Gate’s development we had no reliable way to tell whether a new model was actually better, or just different. Subsequent training runs even with the same training, validation, and test splits showed variation across all metrics.

Without a way to measure progress more reliably, we couldn’t tell whether data augmentation was really helping, or whether model simplifications were actually hurting.

Making model quality measurable

To solve this, I designed a statistical validation framework. Instead of comparing metrics across single models, we ran each training many times for a given configuration, and compared metrics statistically.

The result was a system that could answer questions like:

  • Is this model actually better, or just better on this one metric or this particular test split?
  • How confident are we that improvements are not just overfitting?
  • Are we improving the failure cases that matter most?

This turned ML iteration from guesswork into something we could manage like any other engineering problem.

Making ML usable in real time

High-quality neural networks are usually too slow and too large to run inside a real-time audio plugin.

Working with a DSP engineer, I defined and drove the work needed to make Drum Gate’s models practical in real time:

  • Quantising our models to reduce latency and inference time variability
  • Integrating models via a multithreaded ONNX runtime
  • Validating that performance was predictable enough for professional sessions

This ensured the model behaviour was stable and predictable, even in large mixes.

Preserving what users actually like about drums

A pure ML gate could remove spill, but it also tended to kill the natural decay that gives drums their character. Current state of the art source separation can help, but leaves behind unnatural audible artifacts.

To solve this, we created a novel spectral decay algorithm that let resonances ring naturally while still removing unwanted bleed. This gives the sonic benefits of source separation without the downsides.

Making the results intelligible

Early versions of the UI showed two competing graphs (one with history over time, the other instantaneous) which made it hard for users to understand what the system was doing and which set of controls to adjust to get the results they wanted.

We simplified this to a single confidence-over-time display that answered the question which matters most often: Does the system think this is a drum hit right now?

This made the behaviour of the ML model legible without exposing more detailed controls before they were needed.

Impact

Drum Gate 2 improved the core experience of tidying up acoustic drum recordings while introducing new powerful features built on top of the machine learning drum classification.

Marc Daniel Nelson

Fleetwood Mac, Joni Mitchell, Jason Mraz

"I can't believe how articulate the Drum Gate 2 is and how precise the transients are. Every hit is just SMACK, right on target. I've always been sceptical of time aligning and 'intelligent' plugins for transient tracks, but THIS is a new era. Oxford Drum Gate 2 is just glorious. Damnit!"

Ryan Hewitt

Red Hot Chilli Peppers, The Lumineers, Noah Kahan

"It's a game changer! I don't know what kind of magic you've put in there, but it's pretty outstanding, even on complicated drum parts with lots of bleed. V2 is a huge improvement over the original, and much friendlier to use!"

Tom Lord-Alge

Blink-182, P!nk, Fall Out Boy

"Controlling cymbal leakage has always been a painstaking, time-consuming process, especially on snare and toms. What used to take hours now takes minutes with no compromise! Oxford Drum Gate 2 makes average drums EPIC!"

Ricky Damian

Mark Ronson, Ezra Collective, Jorja Smith

"Drum Gate 2 is by far the best in the business, the only one I can get natural sounding drums where I retain everything I need and get rid of everything I don't. Version 1 was already a must for me, with this new upgrade, it really feels like the perfect tool on steroids."

Lasse Lammert

Alestorm, Windrose, Gloryhammer

"Drum Gate 2 replaces 3 plugins lused to stack up, and it's doing it better than those 3 combined, all while eliminating a lot of automation work. Taking the pain out of the prep work leaves more energy for the creative part of the process, and that's what mixing should be about."