<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><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;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
pre
{mso-style-priority:99;
mso-style-link:"Préformaté HTML Car";
margin:0cm;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";}
span.PrformatHTMLCar
{mso-style-name:"Préformaté HTML Car";
mso-style-priority:99;
mso-style-link:"Préformaté HTML";
font-family:Consolas;}
span.EmailStyle20
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style></head><body lang="FR" link="blue" vlink="purple" style="word-wrap:break-word"><div class="WordSection1"><p class="MsoNormal"><span style="mso-fareast-language:EN-US">Hi Marc,</span></p><p class="MsoNormal"><span style="mso-fareast-language:EN-US"> </span></p><p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US">Thanks for the quick reply.</span></p><p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US"> </span></p><p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US">Then it’s not possible to mix those packets before decoding them ?</span></p><p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US">Because summing after Opus would mean 3-4 decode every 40ms (frame size) and 3-4 queue of 1280o msg…</span></p><p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US"> </span></p><p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US">Best regards,</span></p><p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US">Andrew</span></p><p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US"> </span></p><div><div style="border:none;border-top:solid #e1e1e1 1.0pt;padding:3.0pt 0cm 0cm 0cm"><p class="MsoNormal"><b>De :</b> opus <<a href="mailto:opus-bounces@xiph.org">opus-bounces@xiph.org</a>> <b>De la part de</b> Marc Lavallée<br><b>Envoyé :</b> jeudi 24 mars 2022 15:23<br><b>À :</b> <a href="mailto:opus@xiph.org">opus@xiph.org</a><br><b>Objet :</b> Re: [opus] Antw: [EXT] Opus merging streams</p></div></div><p class="MsoNormal"> </p><p class="MsoNormal" style="margin-bottom:12.0pt">Hi Andrew,<br><br>I think you'd have to decode each packet independently, then sum the results, making sure that packets (from different sources) all have the same number of samples.<br><br>Marc</p><div><p class="MsoNormal">Le 2022-03-24 à 10 h 14, Andrew Sonzogni a écrit :</p></div><blockquote style="margin-top:5.0pt;margin-bottom:5.0pt"><pre>Hello,</pre><pre> </pre><pre>Yes, I mean mix multiple streams.</pre><pre> </pre><pre>Best regards,</pre><pre>Andrew Sonzogni</pre><pre> </pre><pre>-----Message d'origine-----</pre><pre>De : Ulrich Windl <a href="mailto:Ulrich.Windl@rz.uni-regensburg.de"><Ulrich.Windl@rz.uni-regensburg.de></a></pre><pre>Envoyé : jeudi 24 mars 2022 15:00</pre><pre>À : <a href="mailto:andrew@safehear.fr">andrew@safehear.fr</a>; <a href="mailto:opus@xiph.org">opus@xiph.org</a></pre><pre>Objet : Antw: [EXT] [opus] Opus merging streams</pre><pre> </pre><blockquote style="margin-top:5.0pt;margin-bottom:5.0pt"><blockquote style="margin-top:5.0pt;margin-bottom:5.0pt"><blockquote style="margin-top:5.0pt;margin-bottom:5.0pt"><pre>Andrew Sonzogni <a href="mailto:andrew@safehear.fr"><andrew@safehear.fr></a> schrieb am 24.03.2022 um 14:46</pre><pre>in</pre></blockquote></blockquote></blockquote><pre>Nachricht <a href="mailto:592e07eaa0e866e10543cf887948874d@mail.gmail.com"><592e07eaa0e866e10543cf887948874d@mail.gmail.com></a>:</pre><blockquote style="margin-top:5.0pt;margin-bottom:5.0pt"><pre>Hello !</pre><pre> </pre><pre> </pre><pre> </pre><pre>I have a question. I'm trying to use Opus on an embedded device which</pre><pre>communicate with several other devices with the same software.</pre><pre> </pre><pre>I wanted to know if it's possible to merge Opus packets from different</pre><pre>sources and then decode this merged packet through a normal opus_decode.</pre></blockquote><pre> </pre><pre>"merge" means "concatenate"? Or "mix"?</pre><pre> </pre><blockquote style="margin-top:5.0pt;margin-bottom:5.0pt"><pre> </pre><pre> </pre><pre> </pre><pre>I receive in real time 3 different streams of 40ms opus packets. As it</pre><pre>would be consuming too much CPU if I decode each packets and then sum</pre><pre>them together, I would like to decode them together.</pre></blockquote><pre> </pre><pre>"sum" sounds like "mix", right?</pre><pre> </pre><blockquote style="margin-top:5.0pt;margin-bottom:5.0pt"><pre> </pre><pre> </pre><pre> </pre><pre>Best regards,</pre><pre> </pre><pre>Andrew Sonzogni</pre></blockquote><pre>_______________________________________________</pre><pre>opus mailing list</pre><pre><a href="mailto:opus@xiph.org">opus@xiph.org</a></pre><pre><a href="http://lists.xiph.org/mailman/listinfo/opus">http://lists.xiph.org/mailman/listinfo/opus</a></pre></blockquote><p class="MsoNormal"> </p></div></body></html>