roman, sorry i use gmail, which has a nice threaded view for mail.&nbsp; i forgot that not everyone gets this function.<br><br><br><br>derek wrote:<br><br>&quot;Time stretching is usually done one of two ways, both of which involve a
<br>kind of &quot;windowing&quot; of the array: you can use an FFT analysis (of which<br>there are examples which come with PD), or you can use granulation.<br><br>In general, FFT is more accurate, but more expensive. Granulation is
<br>used to squeeze the samples in Ableton Live into the BPMs/divisions that<br>one wants. It can also be fairly accurate, the smaller the grains, the<br>more grains are used and the the more overlaps the grains have.<br>
<br>Check my ParticleChamber abstraction for a use of windowed array<br>granulation for time domain manipulation independent of pitch.<br><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.puredata.org/Members/derek/Particlechamber.zip/" target="_blank">
http://www.puredata.org/Members/derek/Particlechamber.zip/</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.puredata.info/Members/derek/screenshot.png" target="_blank">http://www.puredata.info/Members/derek/screenshot.png
</a><span style="text-decoration: underline;"></span><br><br><br><br>and then i wrote:<br><br>&quot;i&#39;d love it if someone would actually explain the ableton process fully
or code it in pd.&nbsp; everyone always just says &#39;they do it like this,
it&#39;s easy&#39;....but no-one actually makes it as far as a patch.&quot;<br><br><br><br>to which derek replied:<br><br>&quot;ParticleChamber does it. The only thing missing is an adjustment to the<br>pointer to make the sample loop, and maybe some math to calculate
<br>divisions of BPM. It&#39;s easy ;-)&quot;<br><br><br>and then i enthusiastically said:<br><br>&quot;cool!!! Can you post a simple patch that does abelton-esue time-stretching on a loop?&quot;<br><br><br><br><br><br><br>
derek came and dashed all of my hopes with:<br><br><br>&quot;Not right now, but if you look at the subpatch connected to the [grid]<br>object in ParticleChamber, you can probably work it out yourself.<br><br>Of course, beat-analysis not included, it&#39;s just the raw timestretching.&quot;
<br><br><br>