<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
        {font-family:"\@SimSun";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>What do your ears tell you about the performance of these codecs? If you play some of the test signals back at half-speed, can you hear some frequencies that were not in the original signal? Are all files running in mono? If you have time, you might want to be testing the Opus codec, which has undergone considerable development since Speex.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>I did not try these things under Cygwin. And I have never run the Speex bitrate up to 80 or 96 kbps. But using the pre-compiled Windows binaries under Windows 7, I could never get the resampler to work. If I wanted the encoder to see a clean signal, I resampled it in SoundForge first. This made a huge difference in audio quality, when working with signals that were initially recorded at 44.1 KHz sampling rate. If aliasing is occuring, it will become more evident sometimes when the signal is compressed to a higher bitrate.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Resampling seems to work correctly in the pre-compiled Opus encoder and decoder available at<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> www.opus-codec.org<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:10.5pt;font-family:Consolas;color:#1F497D'>Lloyd Rasmussen, Senior Project Engineer<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.5pt;font-family:Consolas;color:#1F497D'>National Library Service for the Blind and Physically Handicapped<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.5pt;font-family:Consolas;color:#1F497D'>Library of Congress 202-707-0535<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.5pt;font-family:Consolas;color:#1F497D'>http://www.loc.gov/nls<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.5pt;font-family:Consolas;color:#1F497D'>The preceding opinions are my own and do not necessarily reflect those of the Library of Congress, NLS.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.5pt;font-family:Consolas;color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> speex-dev-bounces@xiph.org [mailto:speex-dev-bounces@xiph.org] <b>On Behalf Of </b>Oliver Martin<br><b>Sent:</b> Wednesday, January 09, 2013 7:00 AM<br><b>To:</b> speex-dev@xiph.org<br><b>Subject:</b> [Speex-dev] PESQ calculated MoS-Values for Speex<o:p></o:p></span></p></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal style='margin-bottom:12.0pt'>Hello, <br><br>I just signed up to this mailing-list (note: my first mailing list at all), because I'm having some problems related to speex.<br>Let me just introduce you to what I'm doing.<br><br>I am writing a short (really short) paper about VoIP techniques, especially audio codecs for speech. <br>I pointed out basic technologies behind audio codecs; vector quantization, lpc, long-term prediction and some more.<br><br>I planned to compare G711(.1 eventually) and speex with reference to filesize<br>(which is a bit weird, since the encoded g711-files are 6 times larger than the original wave files - but this is another matter), MoS value, <br>and a subjective opinion, wether I can still understand the file, or not.<br>The MoS value is (or rather <i>should be</i>) calculated by PESQ (ITU P.862: <a href="http://www.itu.int/rec/T-REC-P.862/en">http://www.itu.int/rec/T-REC-P.862/en</a>).<br>(I know the pesq scale ranges from -0,5 - 4,5, where MoS is usually from 0 - 5)<br><br><b>Pesq Settings:</b><br>R2a: Sampling Rate: 8kHz, Overall bit rate: 80kbit/s<br>R3: Sampling Rate: 16kHz, Overall bit rate: 96kbit/s<br><br><b>Pesq Results:</b> <br>R2a (mode 2) of G711 returned Mos-Values from <u>0.656</u> to <u>3.33</u> (parameter +8000 in pesq)<br>R3 (mode 4) of G711 returned Mos-Values from <u>3.981</u> to <u>4.269</u> (parameter +16000 in pesq)<br><br><b>Speex Settings:</b><br>To get comparable results I decided to use settings that conform with the G711 ones. Command-Line Parameters:<br>"mode 2": "-n --comp 10 --quality 10 --bitrate 80000"<br>"mode 4": "-w --comp 10 --quality 10 --bitrate 96000"<br><br><b>Speex Results (this is where it starts to be weird):</b><br>mode 2: Mos Values from <u>2.541</u> to <u>3.211</u> (parameter +8000 in pesq)<br>mode 4: Mos Values from <u>2.045</u> to <u>3.355</u> (parameter +16000 in pesq)<br><br>I tried to get better values, at least in mode4, for like 2 hours, but I did not get something that corresponds to this: <br><a href="http://speex.org/comparison/nb_codecs_small.png">http://speex.org/comparison/nb_codecs_small.png</a> (Speex.org Website).<br>The fact, that a bitrate of like 25kbit/s results in a score of nearly 4,5 is confusing me like hell. (compared to my results)<br><br>First thing I tried was just "speexenc origfile.wav destfile.spx", but the result did not satisfy me.<br><br>The used wavefiles are created in Cubase5.1, 16bit and 16kHz. <br>Im using 1.2rc1, compiled with cygwin, running on Windows 8.<br>The 1.2beta3 kept crashing on Win8 and Win7 using the same audiofiles.<br>I also tried using 1.0.5, but the (MoS)results were not satisfying.<br><br>I have no clue why the score is at such a low level (compared to the graphic below).<br><br>Let me already thank you for your help.<br><br>Greetings<br>Olli<br><br><o:p></o:p></p></div></body></html>