<?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>topic AMR Audio Encoding Problem in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/AMR-Audio-Encoding-Problem/m-p/876876#M9634</link>
    <description>&lt;P class="MsoNormal" style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;Im using the IPP &lt;SPAN style="mso-bidi-font-style: italic"&gt;Unified Speech Codec Interface (USCI) to encode PCM audio into AMR and then back into PCM.&lt;SPAN style="mso-spacerun: yes"&gt; &lt;/SPAN&gt;I need to get it working at all 8 AMR data rates 12.2k).&lt;SPAN style="mso-spacerun: yes"&gt; &lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-bidi-font-style: italic"&gt;With my current setup it works great at the low bit rates (4.75kb/s, 5.15kb/s), but as I increase the bit-rate I start getting more and more distorted audio.&lt;SPAN style="mso-spacerun: yes"&gt; &lt;/SPAN&gt;Most of the setup code for the encoder/decoder I lifted directly from the example in the USC spec, but that example wasnt specific to AMR, which is different from most other codecs in that it uses multiple data rates. &lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-bidi-font-style: italic"&gt;This bizarre behavior is confusing meIve removed all of my bit-ordering and packaging code and these problems are still persistent; all Im doing is setting up the encoder, feeding it a PCM, and then giving the result directly to a decoder to make a new PCMagain this works fine at lower bit-rates, so I must be doing it at least partially right.&lt;SPAN style="mso-spacerun: yes"&gt; &lt;/SPAN&gt;Any ideas what I might be leaving out or doing wrong, or a simple example of using IPP to encode an AMR packet in the 12.2kb/s mode would be greatly appreciated &lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-bidi-font-style: italic"&gt;&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-bidi-font-style: italic"&gt;Recap: Using USCI codec &lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-bidi-font-weight: bold"&gt;IPP_GSMAMR to encode/decode audio. &lt;B&gt;&lt;P&gt;&lt;/P&gt;&lt;/B&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-bidi-font-style: italic"&gt;4.75kb/s, 5.15kb/s  Work Great. &lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-bidi-font-style: italic"&gt;5.90kb/s, 6.7kb/s, 7.4kb/s  Sounds Bad. &lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-bidi-font-style: italic"&gt;7.95kb/s, 10.2kb/s, 12.2kb/s  Completely Bad. &lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-bidi-font-style: italic"&gt;&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-bidi-font-style: italic; mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"&gt;Any insights or examples greatly appreciated!! &lt;/SPAN&gt;</description>
    <pubDate>Wed, 14 Mar 2007 14:06:18 GMT</pubDate>
    <dc:creator>jhorjus</dc:creator>
    <dc:date>2007-03-14T14:06:18Z</dc:date>
    <item>
      <title>AMR Audio Encoding Problem</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/AMR-Audio-Encoding-Problem/m-p/876876#M9634</link>
      <description>&lt;P class="MsoNormal" style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;Im using the IPP &lt;SPAN style="mso-bidi-font-style: italic"&gt;Unified Speech Codec Interface (USCI) to encode PCM audio into AMR and then back into PCM.&lt;SPAN style="mso-spacerun: yes"&gt; &lt;/SPAN&gt;I need to get it working at all 8 AMR data rates 12.2k).&lt;SPAN style="mso-spacerun: yes"&gt; &lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-bidi-font-style: italic"&gt;With my current setup it works great at the low bit rates (4.75kb/s, 5.15kb/s), but as I increase the bit-rate I start getting more and more distorted audio.&lt;SPAN style="mso-spacerun: yes"&gt; &lt;/SPAN&gt;Most of the setup code for the encoder/decoder I lifted directly from the example in the USC spec, but that example wasnt specific to AMR, which is different from most other codecs in that it uses multiple data rates. &lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-bidi-font-style: italic"&gt;This bizarre behavior is confusing meIve removed all of my bit-ordering and packaging code and these problems are still persistent; all Im doing is setting up the encoder, feeding it a PCM, and then giving the result directly to a decoder to make a new PCMagain this works fine at lower bit-rates, so I must be doing it at least partially right.&lt;SPAN style="mso-spacerun: yes"&gt; &lt;/SPAN&gt;Any ideas what I might be leaving out or doing wrong, or a simple example of using IPP to encode an AMR packet in the 12.2kb/s mode would be greatly appreciated &lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-bidi-font-style: italic"&gt;&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-bidi-font-style: italic"&gt;Recap: Using USCI codec &lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-bidi-font-weight: bold"&gt;IPP_GSMAMR to encode/decode audio. &lt;B&gt;&lt;P&gt;&lt;/P&gt;&lt;/B&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-bidi-font-style: italic"&gt;4.75kb/s, 5.15kb/s  Work Great. &lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-bidi-font-style: italic"&gt;5.90kb/s, 6.7kb/s, 7.4kb/s  Sounds Bad. &lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-bidi-font-style: italic"&gt;7.95kb/s, 10.2kb/s, 12.2kb/s  Completely Bad. &lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="MsoNormal" style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-bidi-font-style: italic"&gt;&lt;P&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-bidi-font-style: italic; mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"&gt;Any insights or examples greatly appreciated!! &lt;/SPAN&gt;</description>
      <pubDate>Wed, 14 Mar 2007 14:06:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/AMR-Audio-Encoding-Problem/m-p/876876#M9634</guid>
      <dc:creator>jhorjus</dc:creator>
      <dc:date>2007-03-14T14:06:18Z</dc:date>
    </item>
    <item>
      <title>Re: AMR Audio Encoding Problem</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/AMR-Audio-Encoding-Problem/m-p/876877#M9635</link>
      <description>&lt;P&gt;
&lt;TABLE class="CAMultiPage" id="_ctl0__ctl1_bcr_PostForm___EditorPages_table" cellspacing="0" cellpadding="0"&gt;

&lt;TBODY&gt;&lt;TR&gt;
&lt;TD style="VERTICAL-ALIGN: top"&gt;
&lt;TABLE class="CAPageContent" id="_ctl0__ctl1_bcr_PostForm___ComposePage" style="DISPLAY: block; WIDTH: 100%; HEIGHT: 100%" cellspacing="0" cellpadding="0"&gt;

&lt;TBODY&gt;&lt;TR&gt;
&lt;TD style="VERTICAL-ALIGN: top"&gt;
&lt;DIV id="_ctl0__ctl1_bcr_PostForm___Reply"&gt;&lt;STRONG&gt;Hi jhorjus&lt;/STRONG&gt;&lt;/DIV&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/P&gt;
&lt;P&gt;Did you try exactly the usc speech codec sample on your pcm input? Was quality of uncompressed wav file acceptable? Just to recall an intemediatebitstreamformat isnot comply anystandard other thanRIFF. So, you need just to feedoutput bitstream RIFF file after encoder directly to decoder.Actually, the USC GSMAMRhigh qualitywas verifiedbesides std vectors on huge additional test vectors for all possible bitrates and modes. &lt;/P&gt;
&lt;P&gt;You may also try&lt;B&gt;&lt;FONT face="Verdana,Bold" color="#0860a9" size="1"&gt;Example B-1 Processing a Raw PCM with USC Codec&lt;/FONT&gt;&lt;/B&gt;&lt;FONT&gt;&lt;/FONT&gt;from USC manual.&lt;/P&gt;
&lt;P&gt;Would you attach your pcm, we will check it in our environment.&lt;/P&gt;
&lt;P&gt;Thx, Slava&lt;B&gt;&lt;FONT face="Verdana,Bold" color="#0860a9" size="1"&gt;&lt;/FONT&gt;&lt;/B&gt;&lt;/P&gt;
&lt;P align="left"&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Mar 2007 08:20:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/AMR-Audio-Encoding-Problem/m-p/876877#M9635</guid>
      <dc:creator>Vyacheslav_Baranniko</dc:creator>
      <dc:date>2007-03-21T08:20:07Z</dc:date>
    </item>
  </channel>
</rss>

