'real-time' onset detection example

Be curious to see your thoughts. It’s not too different from the main one we have been using except that it uses a median filter instead of a “slow” slide~ to calculate the differential.

The thesis itself (specifically from section 2.3 (pg. 40)) goes into significantly more detail about the algorithms used and tested with my implementation being a pretty sloppy and incomplete one.

I just kind of hit a wall with what to do next with it, and never got around to coming back to it.

The response speed, especially within faster sections is badass, and would really work well in a system that can detect “rolls”.

As a point of reference, the Sensory Percussion system (which I discuss in this thread) has a forking algorithm that detects whether there is a “roll” present and processes the signal differently.

Relevant text from the patent pdf:

Also notable that their lockout is around 3-16ms(!!).