SuperFlux

38 views
Skip to first unread message

Matej Istvanek

unread,
Feb 17, 2021, 3:32:47 PM2/17/21
to madmom-users
Dear madmom team,

I would like to ask about the functionality of the SuperFlux function. I tried to use SuperFlux (madmom.features.onsets.superflux) using madmom but I have never achieved appropriate results. I also tried the standalone version (https://github.com/CPJKU/madmom/blob/master/bin/SuperFlux) which worked fine. Haven't tried the NN superflux standalone yet.
I would like to ask you what is the proper calling of superflux() function via madmom.
I used:
_____
proc = mdm.OnsetPeakPickingProcessor (fps = 200)
act = mdm.SpectralOnsetProcessor (onset_method = 'superflux', fps = 200, filterbank = LogarithmicFilterbank, num_bands = 24, log = np.log10) (‘desired_wav_file.wav’)
onset_times = proc(act)
_____
For the superflux method, this function works relatively poorly (around 0.72 F-score for "Böck dataset", Boeck_ISMIR_2012), although according to the mentioned study it should reach higher values ​​(moreover, this is the version using NN). The implementation in the librosa module also achieved better results on the selected dataset. I'd like to know if I'm making a mistake somewhere in the function call.

Thank you.

Best regards

Matej Istvanek

Sebastian Böck

unread,
Feb 18, 2021, 3:04:21 PM2/18/21
to madmom-users
It seems that you're only missing adding a constant of 1 before take the logarithm, i.e. `add=1`. Without this, you definitely need to adjust the peak picking parameters accordingly.

HTH,

Sebastian

Matej Istvanek

unread,
Feb 19, 2021, 5:59:29 PM2/19/21
to madmom-users
Thank you for the reply and suggestion.

Matej I.
Dne čtvrtek 18. února 2021 v 21:04:21 UTC+1 uživatel sebastian.bo...@gmail.com napsal:
Reply all
Reply to author
Forward
0 new messages