onset_strength now takes generic spectrogram func