Direct iterative tuning via spectral analysis