diff --git a/doc/codec2.pdf b/doc/codec2.pdf index 8e81f731..0371ab13 100644 Binary files a/doc/codec2.pdf and b/doc/codec2.pdf differ diff --git a/doc/codec2.tex b/doc/codec2.tex index cb03c38a..8cd0b045 100644 --- a/doc/codec2.tex +++ b/doc/codec2.tex @@ -51,13 +51,6 @@ pinstyle/.style = {pin edge={to-,thin,black}} \draw (#1,#2-0.25) -- (#1,#2+0.25); } -% tikz: draw a multiplier -\newcommand{\drawMultiplier}[2]{% x, y - \draw (#1,#2) circle (0.5); - \draw (#1-0.25,#2-0.25) -- (#1+0.25,#2+0.25); - \draw (#1-0.25,#2+0.25) -- (#1+0.25,#2-0.25); -} - \maketitle \section{Introduction} @@ -341,6 +334,31 @@ There is nothing particularly unique about this pitch estimator or it's performa \subsection{Sinusoidal Analysis and Synthesis} +\begin{figure}[h] +\caption{Block Diagram of the Sinusoidal Encoder} +\label{fig:encoder} +\begin{center} +\begin{tikzpicture}[auto, node distance=2cm,>=triangle 45,x=1.0cm,y=1.0cm, align=center] + +\node [input] (rinput) {}; +\node [tmp, right of=rinput,node distance=0.5cm] (z) {}; +\node [block, right of=z,node distance=1.5cm] (window) {Window}; +\node [block, right of=window,node distance=2.5cm] (dft) {DFT}; +\node [block, right of=dft,node distance=3cm,text width=2cm] (est) {Est Amp and Phase}; +\node [block, below of=window] (nlp) {NLP}; +\node [output, right of=est,node distance=2cm] (routput) {}; + +\draw [->] node[align=left,text width=2cm] {$s(n)$} (rinput) -- (window); +\draw [->] (z) |- (nlp); +\draw [->] (window) -- node[below] {$s_w(n)$} (dft); +\draw [->] (dft) -- node[below] {$S_\omega(k)$} (est); +\draw [->] (nlp) -| node[below] {$\omega_0$} (est) ; +\draw [->] (est) -- (routput) node[right] {$\{A_m\}$ \\ $\{\theta_m\}$}; + +\end{tikzpicture} +\end{center} +\end{figure} + \subsection{LPC/LSP based modes} \subsection{Codec 2 700C}