<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 17/01/2015 13:54, IOhannes m zmölnig
      wrote:<br>
    </div>
    <blockquote cite="mid:54BA5B8B.9090308@iem.at" type="cite">
      <pre wrap="">On 01/17/2015 01:25 PM, Alessio Degani wrote:
</pre>
      <blockquote type="cite">
        <pre wrap="">On 16/01/2015 19:33, IOhannes m zmölnig wrote:
</pre>
        <blockquote type="cite">
          <pre wrap="">i hope you are aware that this is a simplification on your side, and not
how Pd handles audio streams (when it comes to overlapping)
</pre>
        </blockquote>
        <pre wrap="">
Humm... I didn't know that there are different way to handle audio
stream in PD. Can PD directly manage overlapp and stuff like that?
Where I can read something about that? 
</pre>
      </blockquote>
      <pre wrap="">
putting a [block~ 128 2] anywhere in your canvas will make it use signal
vectors of 128 samples length with an overlap factor of 2 (read: the
last 64 samples of the old signal vector are the same as the first 64
samples of the new one).

the objects themselves are not notified of this, they just get 128
sample chunks to process. inspecting the signal-vector's samplerate
(sic!, it's really a data-rate) will reveal that it has now the double
samplerate as when using [block~ 128].</pre>
    </blockquote>
    <br>
    Just to be sure: using [block~ 128 2] means that the dsp routine of
    the external is called each 64 samples, and a vector of 128 samples
    is passed to the dsp routine? And plus, the first half of the vector
    si the same as the second half of the previous buffer?<br>
    <br>
    Now... another question is coming up. Your output is 64 or 128
    samples? If 128, Pd will use the overlap-add policy (second half of
    the previous ouput buffer + first half of the actual)? If so, the
    programmer of the external needs to know how to deal with that! For
    example, if I have no need of overlap-add, I've to set second half
    of my output buffer to zero! It's not a good practice :) so I think
    that I've missed something hehehe :)<br>
    <br>
    Thank you<br>
    <br>
    <blockquote cite="mid:54BA5B8B.9090308@iem.at" type="cite">
      <pre wrap="">


fgmsar
IOhannes

</pre>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
<a class="moz-txt-link-abbreviated" href="mailto:Pd-list@lists.iem.at">Pd-list@lists.iem.at</a> mailing list
UNSUBSCRIBE and account-management -> <a class="moz-txt-link-freetext" href="http://lists.puredata.info/listinfo/pd-list">http://lists.puredata.info/listinfo/pd-list</a>
</pre>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
a.</pre>
  </body>
</html>