A gradient-descent based optimization procedure is applied to the window sequence used for linear prediction (LP) analysis of the ITU-T G.729 CS-ACELP coder. By replacing the original window of the standard by the optimized versions, similar subjective quality is obtainable at reduced computational cost and / or lowered coding delay. In addition, an optimization strategy is described to find the line spectral frequency (LSF) interpolation factor.