<br><font size=2 face="sans-serif">Hi,</font>
<br><font size=2 face="sans-serif">My name is Riccardo Micci i downloaded
the CELT source code and I compiled it under Windows. This is meant to
be a preliminary study for my company's project.</font>
<br><font size=2 face="sans-serif">When i run CELT it encodes and decodes
the file back saying "Encoder matches decoder!!". When i try
to play the output though the result is just noise and clicks.</font>
<br><font size=2 face="sans-serif">The only changes I've applied are some
#defines to avoid compiler error (for example my Visual C doesn't support
"restrict"...) and automatic loading and saving input and output
files.</font>
<br><font size=2 face="sans-serif">Looking at the decoded file with Matlab,
i can see the most of the time the result is saturated. Even worse when
i use FIXED_POINT define. I also tried to avoid saturation changing the
following line in arch.h:</font>
<br><font size=2 face="sans-serif">#define SCALEOUT(a)
((a)*(1/CELT_SIG_SCALE)) to #define SCALEOUT(a)
((a)*(1/(2*CELT_SIG_SCALE)))</font>
<br><font size=2 face="sans-serif">The result audio doesn't saturate anymore
but it's still completely broken.</font>
<br><font size=2 face="sans-serif">My testvector is:</font>
<br><font size=2 face="sans-serif">freq: 44100</font>
<br><font size=2 face="sans-serif">channels: 1</font>
<br><font size=2 face="sans-serif">I chose: frame_size = 256 and bytes_per_packet
= 46.</font>
<br>
<br><font size=2 face="sans-serif">Does anybody else have this problem?
?Can someone help me finding the problem?</font>
<br>
<br><font size=2 face="sans-serif">Regards</font>
<br><font size=2 face="sans-serif">Riccardo<br>
</font>
<table>
<tr>
<td>
<hr noshade>
<p><font size=1 face="Arial">Riccardo Micci<br>
Senior DSP Engineer, Wireless Group </font>
<p><font size=1 color=#4181c0 face="Arial"><b>Cambridge Consultants</b></font><font size=1 face="Arial"><br>
Science Park, Milton Road <br>
Cambridge, CB4 0DW, England<br>
Switchboard: +44 (0)1223 420024<br>
Direct dial: +44 (0)1223 392402<br>
Mobile: +44 (0)<br>
Fax: +44 (0)1223 423373</font><font size=1 color=blue face="Arial"><br>
</font><a href=mailto:riccardo.micci@cambridgeconsultants.com><font size=1 color=#4181c0 face="Arial">riccardo.micci@cambridgeconsultants.com</font></a><font size=1 color=blue face="Arial"><br>
</font><a href=http://www.cambridgeconsultants.com/><font size=1 color=#4181c0 face="Arial">www.CambridgeConsultants.com</font></a><font size=1 face="Arial"><br>
</font></table>
<br><font size=3 face="sans-serif"><br>
</font>
<br><font size=3 face="sans-serif"><br>
</font>
<hr><font size=1 face="Arial"><br>
<br>
This email is from Cambridge Consultants Limited, Science Park, Milton
Road, Cambridge CB4 0DW with registered number 1036298 England. It may
contain confidential information. It is intended for the addressee only
and may not be copied or disclosed to any third party without our permission.
If you are not the intended recipient please contact the sender as soon
as possible and delete the material from any computer. If this email has
been sent as a personal message to the addressee, the sender is not acting
in his/her capacity as an employee or officer of Cambridge Consultants
Limited and no liability is accepted for the content of any such email.
Outgoing email may be monitored for the purpose of ensuring compliance
with our email policy and relevant laws.</font><font size=3 face="sans-serif"><br>
</font>
<br>
<br>