<?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 Ipp FIR Filtering issue in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/Ipp-FIR-Filtering-issue/m-p/1106482#M25295</link>
    <description>&lt;P&gt;&lt;SPAN id="yui_3_16_0_ym19_1_1494835487544_6230" style="-webkit-padding-start: 0px; color: rgb(0, 0, 0); font-family: &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, &amp;quot;Lucida Grande&amp;quot;, sans-serif; font-size: 13px;"&gt;hello, &lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 0); font-family: &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, &amp;quot;Lucida Grande&amp;quot;, sans-serif; font-size: 13px;"&gt;I need to use the IPP package for audio data filtering purposes.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 0); font-family: &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, &amp;quot;Lucida Grande&amp;quot;, sans-serif; font-size: 13px;"&gt;In particular i need to use IIR and FIR filtering on 16s (short) data arrays.&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 0); font-family: &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, &amp;quot;Lucida Grande&amp;quot;, sans-serif; font-size: 13px;"&gt;In my evaluation project the IIR filtering functions behaves correctly.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 0); font-family: &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, &amp;quot;Lucida Grande&amp;quot;, sans-serif; font-size: 13px;"&gt;The FIR functions instead do not produce the expected results, and in particular I wanted to ask:&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="color: rgb(0, 0, 0); font-family: &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, &amp;quot;Lucida Grande&amp;quot;, sans-serif; font-size: 13px;"&gt;- I need to continuously filter portions of sampled data (e.g., arrays of 1.000 samples), and need to preserve the filter's state. I'm using the:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 0); font-family: &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, &amp;quot;Lucida Grande&amp;quot;, sans-serif; font-size: 13px;"&gt;ippsFIRGenLowpass_64f, to compute filter coefficients (taps);&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 0); font-family: &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, &amp;quot;Lucida Grande&amp;quot;, sans-serif; font-size: 13px;"&gt;ippsFIRSRGetSize, ippsFIRSRInit_32f, to initialize the filter state (firSpec),&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 0); font-family: &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, &amp;quot;Lucida Grande&amp;quot;, sans-serif; font-size: 13px;"&gt;and the: ippsFIRSR_16s, to continuously (in cycle) filter portios of data (arrays of 1.000 saples per step).&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="color: rgb(0, 0, 0); font-family: &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, &amp;quot;Lucida Grande&amp;quot;, sans-serif; font-size: 13px;"&gt;The problem is that I obtain a filtered signal with a visible filter initialization effect (signal approaching much higher values) every time the filtering function is called.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 0); font-family: &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, &amp;quot;Lucida Grande&amp;quot;, sans-serif; font-size: 13px;"&gt;I wanted to know how it is possible to modulate (suppress) the effect of the filter initialization every time the filtering function is called, in order to obtain a continuously filtered signal. Is it necessary to del with the: *pDlyDst and *pDlySrc pointers to dest/source delay lines? and in which way it can be done? (at the moment i'm setting NULL values).&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="color: rgb(0, 0, 0); font-family: &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, &amp;quot;Lucida Grande&amp;quot;, sans-serif; font-size: 13px;"&gt;- The result of the FIR HighPass filter is not correctly behaving as expected: the resulting signal is not coherent with the input one, and generates a random behaving signal shape even for low cutoff frequencies. Is it necessary to set some other parameter or to use different functions for a correct initialization and filtering?&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="color: rgb(0, 0, 0); font-family: &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, &amp;quot;Lucida Grande&amp;quot;, sans-serif; font-size: 13px;"&gt;- Is it possible to have some complete example on FIR filtering functions usage on data arrays, while preserving the filter state for subsequent filtering function calls?&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="color: rgb(0, 0, 0); font-family: &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, &amp;quot;Lucida Grande&amp;quot;, sans-serif; font-size: 13px;"&gt;Thanx in advance,&lt;/SPAN&gt;&lt;/P&gt;

&lt;DIV id="yui_3_16_0_ym19_1_1494835487544_5620" style="-webkit-padding-start: 0px; color: rgb(0, 0, 0); font-family: &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, &amp;quot;Lucida Grande&amp;quot;, sans-serif; font-size: 13px;"&gt;Alex&lt;/DIV&gt;</description>
    <pubDate>Mon, 15 May 2017 08:09:44 GMT</pubDate>
    <dc:creator>Aleks_G_</dc:creator>
    <dc:date>2017-05-15T08:09:44Z</dc:date>
    <item>
      <title>Ipp FIR Filtering issue</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Ipp-FIR-Filtering-issue/m-p/1106482#M25295</link>
      <description>&lt;P&gt;&lt;SPAN id="yui_3_16_0_ym19_1_1494835487544_6230" style="-webkit-padding-start: 0px; color: rgb(0, 0, 0); font-family: &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, &amp;quot;Lucida Grande&amp;quot;, sans-serif; font-size: 13px;"&gt;hello, &lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 0); font-family: &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, &amp;quot;Lucida Grande&amp;quot;, sans-serif; font-size: 13px;"&gt;I need to use the IPP package for audio data filtering purposes.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 0); font-family: &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, &amp;quot;Lucida Grande&amp;quot;, sans-serif; font-size: 13px;"&gt;In particular i need to use IIR and FIR filtering on 16s (short) data arrays.&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 0); font-family: &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, &amp;quot;Lucida Grande&amp;quot;, sans-serif; font-size: 13px;"&gt;In my evaluation project the IIR filtering functions behaves correctly.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 0); font-family: &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, &amp;quot;Lucida Grande&amp;quot;, sans-serif; font-size: 13px;"&gt;The FIR functions instead do not produce the expected results, and in particular I wanted to ask:&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="color: rgb(0, 0, 0); font-family: &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, &amp;quot;Lucida Grande&amp;quot;, sans-serif; font-size: 13px;"&gt;- I need to continuously filter portions of sampled data (e.g., arrays of 1.000 samples), and need to preserve the filter's state. I'm using the:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 0); font-family: &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, &amp;quot;Lucida Grande&amp;quot;, sans-serif; font-size: 13px;"&gt;ippsFIRGenLowpass_64f, to compute filter coefficients (taps);&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 0); font-family: &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, &amp;quot;Lucida Grande&amp;quot;, sans-serif; font-size: 13px;"&gt;ippsFIRSRGetSize, ippsFIRSRInit_32f, to initialize the filter state (firSpec),&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 0); font-family: &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, &amp;quot;Lucida Grande&amp;quot;, sans-serif; font-size: 13px;"&gt;and the: ippsFIRSR_16s, to continuously (in cycle) filter portios of data (arrays of 1.000 saples per step).&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="color: rgb(0, 0, 0); font-family: &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, &amp;quot;Lucida Grande&amp;quot;, sans-serif; font-size: 13px;"&gt;The problem is that I obtain a filtered signal with a visible filter initialization effect (signal approaching much higher values) every time the filtering function is called.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: rgb(0, 0, 0); font-family: &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, &amp;quot;Lucida Grande&amp;quot;, sans-serif; font-size: 13px;"&gt;I wanted to know how it is possible to modulate (suppress) the effect of the filter initialization every time the filtering function is called, in order to obtain a continuously filtered signal. Is it necessary to del with the: *pDlyDst and *pDlySrc pointers to dest/source delay lines? and in which way it can be done? (at the moment i'm setting NULL values).&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="color: rgb(0, 0, 0); font-family: &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, &amp;quot;Lucida Grande&amp;quot;, sans-serif; font-size: 13px;"&gt;- The result of the FIR HighPass filter is not correctly behaving as expected: the resulting signal is not coherent with the input one, and generates a random behaving signal shape even for low cutoff frequencies. Is it necessary to set some other parameter or to use different functions for a correct initialization and filtering?&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="color: rgb(0, 0, 0); font-family: &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, &amp;quot;Lucida Grande&amp;quot;, sans-serif; font-size: 13px;"&gt;- Is it possible to have some complete example on FIR filtering functions usage on data arrays, while preserving the filter state for subsequent filtering function calls?&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="color: rgb(0, 0, 0); font-family: &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, &amp;quot;Lucida Grande&amp;quot;, sans-serif; font-size: 13px;"&gt;Thanx in advance,&lt;/SPAN&gt;&lt;/P&gt;

&lt;DIV id="yui_3_16_0_ym19_1_1494835487544_5620" style="-webkit-padding-start: 0px; color: rgb(0, 0, 0); font-family: &amp;quot;Helvetica Neue&amp;quot;, &amp;quot;Segoe UI&amp;quot;, Helvetica, Arial, &amp;quot;Lucida Grande&amp;quot;, sans-serif; font-size: 13px;"&gt;Alex&lt;/DIV&gt;</description>
      <pubDate>Mon, 15 May 2017 08:09:44 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Ipp-FIR-Filtering-issue/m-p/1106482#M25295</guid>
      <dc:creator>Aleks_G_</dc:creator>
      <dc:date>2017-05-15T08:09:44Z</dc:date>
    </item>
    <item>
      <title>Hi Alex.</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Ipp-FIR-Filtering-issue/m-p/1106483#M25296</link>
      <description>&lt;P&gt;Hi Alex.&lt;/P&gt;

&lt;P&gt;As&amp;nbsp; I understand you pass NULL pointer to ippsFIRSR? Actually to process continuous signal you should use next pseudoalgorithm&lt;/P&gt;

&lt;P&gt;chunkLen =&amp;nbsp; totalLen / num of chunks;&lt;/P&gt;

&lt;P&gt;delayLine&amp;nbsp;= malloc(tapsLen)&lt;/P&gt;

&lt;P&gt;ippsFIR(src, dst, chunkLen, spec, NULL, delayLine, workBuf)&lt;/P&gt;

&lt;P&gt;for(;;){&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp; ippsFIR(src+chunk_offset, dst+chunk_offset, chunkLen, spec, delayLine, delayLine, workBuf)&lt;/P&gt;

&lt;P&gt;}&lt;/P&gt;

&lt;P&gt;NULL as input delay lines means that all values are "0" and you see incorrect result in you case.&lt;/P&gt;

&lt;P&gt;Thanks.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 15 May 2017 15:16:52 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Ipp-FIR-Filtering-issue/m-p/1106483#M25296</guid>
      <dc:creator>Andrey_B_Intel</dc:creator>
      <dc:date>2017-05-15T15:16:52Z</dc:date>
    </item>
  </channel>
</rss>

