Adjusted spectral flux diff length
Added threshold parameter for spectral onsets