diff --git a/doc/ietf/draft-valin-celt-codec.xml b/doc/ietf/draft-valin-celt-codec.xml index 5cb8ab99..09afe065 100644 --- a/doc/ietf/draft-valin-celt-codec.xml +++ b/doc/ietf/draft-valin-celt-codec.xml @@ -443,9 +443,16 @@ transmission of any allocation information.
-The pitch period is computed by find_spectral_pitch() -(pitch.c) and the pitch gain is computed by -compute_pitch_gain() (bands.c). +The pitch period T is computed in the frequency domain using a generalized +cross-correlation, as implemented in find_spectral_pitch() +(pitch.c). An MDCT is then computed on the +synthsis signal memory using the offset T. If there is sufficient energy in this +part of the signal, the pitch gain for each pitch band +is computed as g = X^T*P, where X is the normalised (unquantised) signal and +P is the normalised pitch signal. +The gain is computed by compute_pitch_gain() (bands.c) +and if a sufficient number of bands have a high enough gain, then the pitch bit is set. +Otherwise, no use of pitch is made.