Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/celt-0.7.0.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Marc Valin <jean-marc.valin@octasic.com>2009-06-30 01:35:41 +0400
committerJean-Marc Valin <jean-marc.valin@octasic.com>2009-06-30 01:35:41 +0400
commit224824b01724f0568d7726fe592d5714f58ccb6a (patch)
treee2b44fcd6da3ae37974e12c76a568446c79e791c
parent66a57c8e96077a242b0157fab352590f31cce077 (diff)
ietf doc: pitch description
-rw-r--r--doc/ietf/draft-valin-celt-codec.xml13
1 files changed, 10 insertions, 3 deletions
diff --git a/doc/ietf/draft-valin-celt-codec.xml b/doc/ietf/draft-valin-celt-codec.xml
index 5cb8ab9..09afe06 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.
<section anchor="pitch-prediction" title="Pitch Prediction">
<t>
-The pitch period is computed by find_spectral_pitch()
-(<xref target="pitch.c">pitch.c</xref>) and the pitch gain is computed by
-compute_pitch_gain() (<xref target="bands.c">bands.c</xref>).
+The pitch period T is computed in the frequency domain using a generalized
+cross-correlation, as implemented in find_spectral_pitch()
+(<xref target="pitch.c">pitch.c</xref>). 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() (<xref target="bands.c">bands.c</xref>)
+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.
</t>
</section>