Beat "Intensity" Detection

31 views
Skip to first unread message

Bearshark Topus

unread,
Jun 15, 2021, 5:50:18 AM6/15/21
to madmom-users

Hello, Madmom-users!

I am a baby dev here still getting my water wings with python, playing a lot around with image generation and video generation in machine learning. I was wondering - because I am so new that I don't even know what I don't know yet, or what half the words here mean (I followed some online tutorials and they worked for the beat detection needs I had) if Madmom has some sort of feature that can be used to detect the "intensity" of a beat numerically? Like, a little drumstick tap might be minimal but a full snare hit would be maximal, for example, along with timings (or synchronized to the existing beat detection timings). It would be profoundly useful for my needs.

Thank you!
-Bearsharktopus

Sebastian Böck

unread,
Jun 22, 2021, 11:51:37 AM6/22/21
to madmom-users
Hi,

you have various options to determine something related to intensity. First of all you can check the values of the beat activation function (i.e. the output of the NN) as some indicator for beat strength, but usually these values are all quite high and do not necsessarily correlate to what humans expect. The other option is to check the intensity of various frequency bands at the beat positions, e.g. by computing a filtered spectrogram with only a couple of bands (eg. 2-4) and check the magnitude at the beat frames.

HTH

Sebastian
Reply all
Reply to author
Forward
0 new messages