<html>
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered)">
<title>Hi,</title>
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
p
        {margin-right:0in;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EmailStyle18
        {font-family:Arial;
        color:windowtext;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
/* List Definitions */
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
-->
</style>
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma'>Hi,</span></font></p>
<p class=MsoNormal><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma'> </span></font></p>
<p class=MsoNormal><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma'>I am using speex 1.2beta2 on a 24bit DSP that has a severe
program and data space limitations. I am only interested in the speex decoder
for 11kbps narrowband implementation. </span></font></p>
<p class=MsoNormal><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma'> </span></font></p>
<p class=MsoNormal><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma'>I am using the following parameters and structures</span></font></p>
<p class=MsoNormal><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma'> </span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>160, /*frameSize*/</span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> 40, /*subframeSize*/</span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> 10, /*lpcSize*/</span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> 17, /*pitchStart*/</span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> 144, /*pitchEnd*/ </span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> </span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>/* 11 kbps medium bit-rate mode */</span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>static const SpeexSubmode nb_submode4 = {</span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> </span></font><span lang=IT>-1,</span></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=IT
style='font-size:12.0pt'> 0,</span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=IT
style='font-size:12.0pt'> 1,</span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=IT
style='font-size:12.0pt'> 0,</span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=IT
style='font-size:12.0pt'> /*LSP quantization*/</span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=IT
style='font-size:12.0pt'> lsp_quant_lbr,</span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=IT
style='font-size:12.0pt'> lsp_unquant_lbr,</span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=IT
style='font-size:12.0pt'> </span>/*Pitch quantization*/</font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> pitch_search_3tap,</span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> pitch_unquant_3tap,</span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> &ltp_params_med,</span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> /*Innovation quantization*/</span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> split_cb_search_shape_sign,</span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> split_cb_shape_sign_unquant,</span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> &split_cb_nb_med,</span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> QCONST16(.45,15),</span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> 220</span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>};</span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> </span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>/* Parameters for Long-Term Prediction (LTP)*/</span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>static const ltp_params ltp_params_lbr = {</span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> gain_cdbk_lbr,</span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> 5,</span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> 7</span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>};</span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> </span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>/* Split-VQ innovation parameters narrowband */</span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>static const split_cb_params split_cb_nb_med = {</span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>
8,
/*subvect_size*/</span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>
5,
/*nb_subvect*/</span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> exc_8_128_table, /*shape_cb*/</span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>
7,
/*shape_bits*/</span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> 0,</span></font></p>
<p class=MsoNormal><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma'> </span></font></p>
<p class=MsoNormal><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma'> </span></font></p>
<p class=MsoNormal><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma'> </span></font></p>
<p class=MsoNormal><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma'>I have three problems.</span></font></p>
<p class=MsoNormal><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma'> </span></font></p>
<ol style='margin-top:0in' start=1 type=1>
<li class=MsoNormal><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma'>My DSP has 24 bits register and memory with a 24 X 24
= 48 bit multiply and a 56 bit accumulator. I see scaling shifts when
using 32 bit registers. Can anyone tell me what scaling values like </span></font></li>
</ol>
<p class=MsoNormal style='margin-left:1.0in'><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma'> </span></font></p>
<p class=MsoNormal style='margin-left:1.0in'><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma'>#define LPC_SCALING 8192</span></font></p>
<p class=MsoNormal style='margin-left:1.0in'><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma'>#define SIG_SCALING 16384</span></font></p>
<p class=MsoNormal style='margin-left:1.0in'><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma'>#define LSP_SCALING 8192.</span></font></p>
<p class=MsoNormal style='margin-left:1.0in'><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma'>#define GAMMA_SCALING 32768.</span></font></p>
<p class=MsoNormal style='margin-left:1.0in'><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma'>#define GAIN_SCALING 64</span></font></p>
<p class=MsoNormal style='margin-left:1.0in'><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma'>#define GAIN_SCALING_1 0.015625</span></font></p>
<p class=MsoNormal style='margin-left:1.0in'><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma'> </span></font></p>
<p class=MsoNormal style='margin-left:1.0in'><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma'>#define LPC_SHIFT
13</span></font></p>
<p class=MsoNormal style='margin-left:1.0in'><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma'>#define LSP_SHIFT
13</span></font></p>
<p class=MsoNormal style='margin-left:1.0in'><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma'>#define SIG_SHIFT
14</span></font></p>
<p class=MsoNormal style='margin-left:1.0in'><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma'> </span></font></p>
<p class=MsoNormal><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma'> Would
be required for a 24 bit register? </span></font></p>
<p class=MsoNormal><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma'> </span></font></p>
<ol style='margin-top:0in' start=2 type=1>
<li class=MsoNormal><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma'>I would like to only include only the data tables as
required to support 11kbps narrowband mode. I think they would be the
following signed byte tables</span></font></li>
</ol>
<p class=MsoNormal style='margin-left:.5in;text-indent:.5in'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>cdbk_nb[640]</span></font></p>
<p class=MsoNormal style='margin-left:.5in;text-indent:.5in'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>cdbk_nb_low1[320]</span></font></p>
<p class=MsoNormal style='margin-left:.5in;text-indent:.5in'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>cdbk_nb_high1[320]</span></font></p>
<p class=MsoNormal style='margin-left:.5in;text-indent:.5in'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>gain_cdbk_lbr[128]</span></font></p>
<p class=MsoNormal style='margin-left:.5in;text-indent:.5in'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>exc_8_128_table[1024]</span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> Have
I missed any?</span></font></p>
<p class=MsoNormal style='margin-left:.5in'><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma'> </span></font></p>
<ol style='margin-top:0in' start=3 type=1>
<li class=MsoNormal><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma'>I would like to estimate the code space and duty cycle
requirements using fix point 11kbps narrowband decode. I think I have identified
most of the routines that use most of the duty cycle but I am not sure if
I have found them all. </span></font></li>
</ol>
<p class=MsoNormal style='margin-left:.5in;text-indent:.5in'><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>speex_bits_unpack_unsigned()</span></font></p>
<p class=MsoNormal style='margin-left:.5in;text-indent:.5in'><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>peex_bits_unpack_signed()</span></font></p>
<p class=MsoNormal style='margin-left:.5in;text-indent:.5in'><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>split_cb_shape_sign_unquant()</span></font></p>
<p class=MsoNormal style='margin-left:.5in;text-indent:.5in'><font size=2
face=Arial><span style='font-size:10.0pt;font-family:Arial'>pitch_unquant_3tap()</span></font></p>
<p class=MsoNormal style='margin-left:.5in;text-indent:.5in'><font size=2
face=Arial><span style='font-size:10.0pt;font-family:Arial'>lsp_unquant_lbr()</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> I
will be porting there routines to assembly and would like to know that I have a
chance of fitting them in the 2K I have free. </span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> Is
there a minimal list of decode routines that are required?</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> </span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> </span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Thanks for any help possible</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> </span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Russell Barr</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Vocollect, Inc</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>703 Rodi Road</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Pittsburgh</span></font><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>, Pa 15235</span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> </span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Phone: 412-349-2581</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Fax: 412-829-0972</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Email: </span></font><a
href="mailto:rbarr@vocollect.com"><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>rbarr@vocollect.com</span></font></a></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> </span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><a href="http://www.vocollect.com"><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>www.vocollect.com</span></font></a></span></font><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'> </span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> </span></font></p>
<p class=MsoNormal><strong><b><font size=3 color=blue face="Times New Roman"><span
style='font-size:12.0pt;color:blue'>Vocollect Voice-Directed Work</span></font></b></strong></p>
<p><strong><b><font size=3 color=navy face="Times New Roman"><span
style='font-size:12.0pt;color:navy'>-CONFIDENTIAL, PRIVILEGED COMMUNICATION-</span></font></b></strong></p>
<p><font size=1 color=navy face=Arial><span style='font-size:7.5pt;font-family:
Arial;color:navy'>This e-mail transmission is private and intended for the
addressee(s) only. It may contain information that is privileged and/or
confidential. If you have received this transmission in error, you are
not authorized to read, copy, disclose or disseminate it in any manner.
If you have received it in error, please delete it and all copies (including
backup copies) that have been made, and transmit a reply message informing the
sender that it was misdirected.</span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> </span></font></p>
</div>
</body>
</html>