<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 15 (filtered medium)">
<style><!--
/* Font Definitions */
@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;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@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="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">Hello,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I’ve been using Opus on an STM32 M4 platform for speech coding in mono mode. I thought I’d try stereo for grins to see if I can handle the CPU load, and I’m getting a return code of -1 from opus_decode_float (using CBR and 40ms frames).<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I decided to try the opusenc and opusdec tools to just see how the command line apps would behave. I am getting decoded audio, but I am losing the stereo separation. My test file has speech obtained with a Tascam Recorder, and I spoke
directly into each mic individually. I can clearly hear the stereo separation in the recorded audio. I do not hear any stereo separation once I encode from wav and decode back to wav. My encoding command line is “opusenc --hard-cbr --bitrate 16.000 --complexity
10 --framesize 20 stereo_voice.wav temp.opus”. My decoding script is: “opusdec --force-wav temp.opus decode.wav”. Opusenc reports that my encoded file is 2 channels (coupled) and opusdec reports that my file is 2 channels. Can someone tell me how to retain
my stereo separation? If I can’t get stereo separation from the codec, there’s no point in me investigating the error return in my ARM application.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0" style="border-collapse:collapse">
<tbody>
<tr style="height:14.1pt">
<td width="91" rowspan="3" valign="top" style="width:.95in;padding:0in 5.4pt 0in 5.4pt;height:14.1pt">
<p class="MsoNormal">Kevin<o:p></o:p></p>
</td>
<td width="210" valign="top" style="width:157.5pt;padding:0in 5.4pt 0in 5.4pt;height:14.1pt">
<p class="MsoNormal"><b><span style="font-size:9.0pt;color:#0033CC"><o:p> </o:p></span></b></p>
</td>
</tr>
<tr style="height:14.1pt">
<td width="210" valign="top" style="width:157.5pt;padding:0in 5.4pt 0in 5.4pt;height:14.1pt">
<p class="MsoNormal"><b><span style="font-size:9.0pt;color:#0033CC"><o:p> </o:p></span></b></p>
</td>
</tr>
<tr style="height:14.1pt">
<td width="210" valign="top" style="width:157.5pt;padding:0in 5.4pt 0in 5.4pt;height:14.1pt">
<p class="MsoNormal"><span style="font-size:9.0pt"><o:p> </o:p></span></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>