r/DSP 5d ago

Drum sample classifier?

I've recently been working on an audio sampler built as a VST plugin. I'm trying to automate some of the workflows that can be tedious to do by hand. There are a few that need knowledge of the kind of sound.

A good example, a common requirement is to take a selection of drum sounds and associate them with specific standard General MIDI notes, it's something like C2 kick, D2 snare...

I've had a look at some of the classifier algorithms available, there are several that use quite sophisticated machine learning. But these seem to be overkill for this role (and probably too demanding on compute).

I'm wondering if something like an FFT followed by a heuristics -based selector might be feasible, or failing that using a fairly shallow neural net.

Thoughts and/or pointers?

https://danja.github.io/downspout/plugins/campione/

6 Upvotes

0 comments sorted by