Apparatus and method for distributed gain control for spectral improvement