Adaptive spectral estimation