<div dir="ltr"><div dir="ltr">On Thu, Jun 9, 2022 at 5:23 AM Ulrich Windl <<a href="mailto:Ulrich.Windl@rz.uni-regensburg.de">Ulrich.Windl@rz.uni-regensburg.de</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">>>> m b <<a href="mailto:mvetnk@email.com" target="_blank">mvetnk@email.com</a>> schrieb am 09.06.2022 um 11:02 in Nachricht<br>
<trinity-ac212bc6-5632-4a70-98a5-65076eac5566-1654765371074@3c-app-mailcom-lxa02<br>
:<br>
> I found there is some text information at the end of the wave file, that <br>
> caused the cracking sound in the opus file, now after proper processing the <br>
> raw data, the problem is sovled. Thank you Ulrich for your help!<br>
<br>
Glad that my initial suspect was correct ;-)<br></blockquote><div><br></div><div>We had the same bug in speexenc some time ago, for WAV files with comments at the end you'd hear an audible glitch. <br></div><div><br></div><div>Here's the relevant fix in case it's useful to anyone:<br><a href="https://gitlab.xiph.org/xiph/speex/-/commit/566a73a6c1e28c13979f26732e55c4f3629689e8">https://gitlab.xiph.org/xiph/speex/-/commit/566a73a6c1e28c13979f26732e55c4f3629689e8</a></div><div><br></div><div><br></div><div>Best,</div><div>-t</div><div> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
> Sent: Tuesday, June 07, 2022 at 6:30 PMFrom: "Ulrich Windl" <br>
> <<a href="mailto:Ulrich.Windl@rz.uni-regensburg.de" target="_blank">Ulrich.Windl@rz.uni-regensburg.de</a>>To: mvetnk@email.comSubject: Re: Antw: <br>
> [EXT] [opus] Glitch in the ope_encoder_drain();<br>
>>>> m b <<a href="mailto:mvetnk@email.com" target="_blank">mvetnk@email.com</a>> schrieb am 07.06.2022 um 11:25 in <br>
> Nachricht<trinity-c4b70144-339f-4410-9570-6d06a273a3c9-1654593936399@3c-app-m<br>
> ailcom-lxa10:> ALL the end part of the WAVE is audio raw data, and the end of <br>
> the decoded> Opus is cracking sound. Thank you!Well, I expected the WAV to be <br>
> RAW data; what I wanted to know or see is whether the last sample is at zero.> <br>
> Sent: Tuesday, June 07, 2022 at 2:37 PMFrom: "Ulrich Windl"> <br>
> <<a href="mailto:Ulrich.Windl@rz.uni-regensburg.de" target="_blank">Ulrich.Windl@rz.uni-regensburg.de</a>>To: <a href="mailto:mvetnk@email.com" target="_blank">mvetnk@email.com</a>, opus@xiph.orgSubject:> <br>
> Antw: [EXT] [opus] Glitch in the ope_encoder_drain();> How does the end of <br>
> your WAV look like, and how does the end of the decoded> Opus look like?(Maybe <br>
> you can show waveform displays) <br>
<br>
<br>
<br>
_______________________________________________<br>
opus mailing list<br>
<a href="mailto:opus@xiph.org" target="_blank">opus@xiph.org</a><br>
<a href="http://lists.xiph.org/mailman/listinfo/opus" rel="noreferrer" target="_blank">http://lists.xiph.org/mailman/listinfo/opus</a><br>
</blockquote></div></div>