Implementation of long-term adaptation for speech analysis