<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>i.MX ProcessorsのトピックRe: Poor audio quality with beepdec</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Poor-audio-quality-with-beepdec/m-p/1296394#M175875</link>
    <description>&lt;P&gt;Hi Canyon&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;yes please try on NXP reference board with Demo Image from&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com/design/software/embedded-software/i-mx-software/embedded-linux-for-i-mx-applications-processors:IMXLINUX?tab=In-Depth_Tab" target="_blank"&gt;https://www.nxp.com/design/software/embedded-software/i-mx-software/embedded-linux-for-i-mx-applications-processors:IMXLINUX?tab=In-Depth_Tab&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 23 Jun 2021 00:22:47 GMT</pubDate>
    <dc:creator>igorpadykov</dc:creator>
    <dc:date>2021-06-23T00:22:47Z</dc:date>
    <item>
      <title>Poor audio quality with beepdec</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Poor-audio-quality-with-beepdec/m-p/1295509#M175797</link>
      <description>&lt;P&gt;We switched to the beepdec decoder and started getting customer complaints about audio quality.&lt;BR /&gt;While investigating the customer complaints, we decided to compare spectral output of three different decoders using the same audio sample.&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="decoder_compare.png" style="width: 964px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/147597i5D67D390973355AD/image-size/large?v=v2&amp;amp;px=999" role="button" title="decoder_compare.png" alt="decoder_compare.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;According to the debugger output, beepdec is halving the sample rate:&lt;/P&gt;&lt;PRE&gt;0:00:00.474878955 764 0x1a82e60 INFO beepdec beepdec.c:500:beep_dec_set_format: normal create sw wrapper interface&lt;BR /&gt;&lt;BR /&gt;====== BEEP: 4.5.5 build on Jun 17 2021 21:07:54. ======&lt;BR /&gt;Core: AAC decoder Wrapper build on Dec 7 2017 18:13:49&lt;BR /&gt;file: /usr/lib/imx-mm/audio-codec/wrap/lib_aacd_wrap_arm12_elinux.so.3&lt;BR /&gt;CODEC: BLN_MAD-MMCODECS_AACD_ARM_03.09.00_CORTEX-A8 build on Sep 20 2017 15:02:14.&lt;BR /&gt;0:00:00.476810965 764 0x1a82e60 INFO beepdec beepdec.c:285:beep_dec_set_init_parameter: Set rate 44100&lt;BR /&gt;0:00:00.477207967 764 0x1a82e60 INFO beepdec beepdec.c:303:beep_dec_set_init_parameter: Set channel 2&lt;BR /&gt;0:00:00.477485969 764 0x1a82e60 INFO beepdec beepdec.c:354:beep_dec_set_init_parameter: Set codec_data buffer: 0x74f03950, pts 99:99:99.999999999, dts 99:99:99.999999999, dur 99:99:99.999999999, size 5, offset none, offset_end none, flags 0x0&lt;BR /&gt;0:00:00.477605970 764 0x1a82e60 INFO beepdec beepdec.c:368:beep_dec_set_init_parameter: Set stream_type raw&lt;BR /&gt;0:00:00.477751304 764 0x1a82e60 INFO beepdec beepdec.c:403:beep_dec_set_init_parameter: Set framed true&lt;BR /&gt;/GstPipeline:pipeline0/GstBeepDec:beepdec0.GstPad:sink: caps = audio/mpeg, mpegversion=(int)4, framed=(boolean)true, stream-format=(string)raw, level=(string)1, base-profile=(string)lc, profile=(string)lc, codec_data=(buffer)139056e5a0, rate=(int)44100, channels=(int)2&lt;BR /&gt;0:00:00.480722320 764 0x1a82e60 DEBUG beepdec beepdec.c:693:beep_dec_handle_output_changed:&amp;lt;beepdec0&amp;gt; output changed channel num=2,core layout=1,2,0,0,0,0,0,0&lt;BR /&gt;0:00:00.480933321 764 0x1a82e60 DEBUG beepdec beepdec.c:725:beep_dec_handle_output_changed:&amp;lt;beepdec0&amp;gt; output changed after convert num=2,core layout=0,1,0,0,0,0,0,0&lt;BR /&gt;0:00:00.481187656 764 0x1a82e60 DEBUG beepdec beepdec.c:735:beep_dec_handle_output_changed:&amp;lt;beepdec0&amp;gt; output changed after map num=2,gstreamer layout=0,1,0,0,0,0,0,0&lt;BR /&gt;/GstPipeline:pipeline0/GstBeepDec:beepdec0.GstPad:src: caps = audio/x-raw, format=(string)S16LE, layout=(string)interleaved, rate=(int)22050, channels=(int)2, channel-mask=(bitmask)0x000000000000000&lt;/PRE&gt;&lt;P&gt;The halving of the sample rate would explain the spectral output of beepdec. In newer versions of imx-codec and imx-parser, is this issue fixed?&lt;/P&gt;</description>
      <pubDate>Mon, 21 Jun 2021 15:31:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Poor-audio-quality-with-beepdec/m-p/1295509#M175797</guid>
      <dc:creator>canyon</dc:creator>
      <dc:date>2021-06-21T15:31:42Z</dc:date>
    </item>
    <item>
      <title>Re: Poor audio quality with beepdec</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Poor-audio-quality-with-beepdec/m-p/1296003#M175838</link>
      <description>&lt;P&gt;Hi Canyon&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;gt;..beepdec. In newer versions of imx-codec and imx-parser, is this issue fixed?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;one can try latest Linux 5.10.9 version imx-gst1.0-plugin (MM_04.06.00_2012_L5.10.y):&lt;/P&gt;
&lt;P&gt;&lt;A href="https://source.codeaurora.org/external/imx/imx-gst1.0-plugin/tree/plugins/beepdec?h=MM_04.06.00_2012_L5.10.y" target="_blank" rel="noopener"&gt;https://source.codeaurora.org/external/imx/imx-gst1.0-plugin/tree/plugins/beepdec?h=MM_04.06.00_2012_L5.10.y&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Usage is described in Chapter 8 Audio &lt;A style="box-sizing: border-box; background-color: transparent; color: #215bd6; text-decoration: none; cursor: pointer;" href="https://www.nxp.com/docs/en/user-guide/IMX_LINUX_USERS_GUIDE.pdf" target="_blank" rel="noopener"&gt;i.MX Linux User’s Guide​&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;All documentation&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com/design/software/embedded-software/i-mx-software/embedded-linux-for-i-mx-applications-processors:IMXLINUX?tab=In-Depth_Tab" target="_blank" rel="noopener"&gt;https://www.nxp.com/design/software/embedded-software/i-mx-software/embedded-linux-for-i-mx-applications-processors:IMXLINUX?tab=In-Depth_Tab&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jun 2021 08:30:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Poor-audio-quality-with-beepdec/m-p/1296003#M175838</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2021-06-22T08:30:55Z</dc:date>
    </item>
    <item>
      <title>Re: Poor audio quality with beepdec</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Poor-audio-quality-with-beepdec/m-p/1296142#M175848</link>
      <description>&lt;P&gt;Igor:&lt;BR /&gt;&lt;BR /&gt;It would be nice if NXP could confirm beepdec is fixed because I only see three newer commits with the version you posted and the version we are using. Perhaps, there are some internal commit comments or change logs you have access too. Otherwise, I will try to get my hands on an EVK and test the latest image.&lt;BR /&gt;&lt;BR /&gt;We are aware of the Linux User's Guide. Using beepdec according to that document has the same results: poor audio quality.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Canyon&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jun 2021 11:50:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Poor-audio-quality-with-beepdec/m-p/1296142#M175848</guid>
      <dc:creator>canyon</dc:creator>
      <dc:date>2021-06-22T11:50:52Z</dc:date>
    </item>
    <item>
      <title>Re: Poor audio quality with beepdec</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Poor-audio-quality-with-beepdec/m-p/1296394#M175875</link>
      <description>&lt;P&gt;Hi Canyon&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;yes please try on NXP reference board with Demo Image from&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com/design/software/embedded-software/i-mx-software/embedded-linux-for-i-mx-applications-processors:IMXLINUX?tab=In-Depth_Tab" target="_blank"&gt;https://www.nxp.com/design/software/embedded-software/i-mx-software/embedded-linux-for-i-mx-applications-processors:IMXLINUX?tab=In-Depth_Tab&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jun 2021 00:22:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Poor-audio-quality-with-beepdec/m-p/1296394#M175875</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2021-06-23T00:22:47Z</dc:date>
    </item>
    <item>
      <title>Re: Poor audio quality with beepdec</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Poor-audio-quality-with-beepdec/m-p/1297858#M176023</link>
      <description>&lt;P&gt;Igor:&lt;BR /&gt;&lt;BR /&gt;The newer version has no changes in the secret sauce for the codecs—binaries have the same sha1sum as previous release. Therefore, it was not a surprise it did not solve the issue.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Canyon&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jun 2021 16:04:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Poor-audio-quality-with-beepdec/m-p/1297858#M176023</guid>
      <dc:creator>canyon</dc:creator>
      <dc:date>2021-06-24T16:04:28Z</dc:date>
    </item>
    <item>
      <title>Re: Poor audio quality with beepdec</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Poor-audio-quality-with-beepdec/m-p/1298020#M176031</link>
      <description>&lt;P&gt;Hi Canyon&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;it may depend on hardware, so please try on NXP reference board with Demo Image.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jun 2021 01:09:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Poor-audio-quality-with-beepdec/m-p/1298020#M176031</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2021-06-25T01:09:21Z</dc:date>
    </item>
  </channel>
</rss>

