onset detection/drum triggers in Max in 2023?

Iain Duncan's icon

Hi folks, I would like to make some audio to event triggers in Max and/or Gen. I found a number of threads on doing it, but as this is a very fast moving field, I wanted to check what the best way to do it is now. Using externals packages or externals is fine, though if you are suggesting an external I am mostly interested in things for which I can look at the source.

Thanks!
iain

Roman Thilenius's icon

well, bandpassfilter, envelope follower, shaping, isn´t it? and then transform it into spikes or bangs.
not sure if you need really more than some basic MSP objects.