Online frequency band estimation and change-point detection