<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>It freezes my windows machine if opening on Pd-64bit.</p>
<p>On Pd-32bit I get the console spitting multiple:</p>
<p><i>pd: resizebytes() failed -- out of memory</i></p>
<p>:(</p>
<p>Are you sure [clone ./convpartition 688 church.wav 1007] is correct?<br>
</p>
<p><br>
</p>
<pre class="moz-signature" cols="72">Mensaje telepatico asistido por maquinas.</pre>
<div class="moz-cite-prefix">On 1/8/2019 1:52 PM, Alexandre Torres Porres wrote:<br>
</div>
<blockquote type="cite" cite="mid:CAEAsFmhcLFrukt5CJrZkQTCQDyZyaqdRpAVWfTAqPxkZ2dY=dA@mail.gmail.com">
<div dir="ltr">
<div dir="ltr">oops, I hads uploaded the wrong file, here's the hopefully correct and last word on it
<div><br>
</div>
<div><a href="https://www.dropbox.com/s/05xl7ml171noyjq/convolution~.zip?dl=0" moz-do-not-send="true">https://www.dropbox.com/s/05xl7ml171noyjq/convolution~.zip?dl=0</a><br>
</div>
<div><br>
</div>
<div>and my CPU load is actually at about 57%, not 50%</div>
<div><br>
</div>
<div>The last file I uploaded was using a compiled object to perform the complex multiplication and that helped a little with the efficiency. I'm gonna use it for my non vanilla abstraction that I'm bringing into my ELSE library.</div>
<div><br>
</div>
<div>cheers</div>
<div><br>
</div>
<div><br>
</div>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr">Em ter, 8 de jan de 2019 às 14:13, Alexandre Torres Porres <<a href="mailto:porres@gmail.com" moz-do-not-send="true">porres@gmail.com</a>> escreveu:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
          0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">Ok, here's the new deal... 
<div><br>
</div>
<div><a href="https://www.dropbox.com/s/l69gzv98g3th5d1/conv.rev~.zip?dl=0" target="_blank" moz-do-not-send="true">https://www.dropbox.com/s/l69gzv98g3th5d1/conv.rev~.zip?dl=0</a><br>
</div>
<div><br>
</div>
<div>there are two subpatches for testing, one is light with a relative big window partition (1024) and a short Impulse Response (2 secs).</div>
<div><br>
</div>
<div>The other is quite heavy, it's an 8 sec long IR with a window size of 512! This one takes just a bit over 50% of my CPU power, and I'm on a last generation macbook pro (2.6Ghz processor)... but I need to increase the Delay (msec) from 5 to 10 in the audio
 settings, otherwise I get terrible clicks!</div>
<div><br>
</div>
<div>William Brent's convolve is ridiculously much more efficient, the same parameters take about 14% of my CPU power and I can use a delay of 5 ms in the audio settings.</div>
<div><br>
</div>
<div>But anyway, this is useful for teaching and apps that implement a light convolution reverb (short IR/not too short window) need pure vanilla (libpd/camomille and stuff)</div>
<div><br>
</div>
<div>Cheers!</div>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr">Em dom, 6 de jan de 2019 às 14:25, Alexandre Torres Porres <<a href="mailto:porres@gmail.com" target="_blank" moz-do-not-send="true">porres@gmail.com</a>> escreveu:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px
                    0px 0.8ex;border-left:1px solid
                    rgb(204,204,204);padding-left:1ex">
<div dir="ltr"><span style="color:rgb(29,33,41);font-family:system-ui,-apple-system,system-ui,".SFNSText-Regular",sans-serif;font-size:13px;background-color:rgb(239,241,243)">Meanwhile, </span><span style="font-family:system-ui,-apple-system,system-ui,".SFNSText-Regular",sans-serif;color:rgb(29,33,41);font-size:13px;background-color:rgb(239,241,243)"><span style="font-family:inherit"><span style="font-family:inherit"><span class="gmail-m_-2214013178776987446gmail-m_328203472186046868gmail-UFICommentBody" style="font-family:inherit"><span style="font-family:inherit">I
 deleted the original file so people can't get it anymore <span class="gmail-m_-2214013178776987446gmail-m_328203472186046868gmail-_5mfr" title="Emoticon smile" style="margin:0px
                                  1px;font-family:inherit"><span class="gmail-m_-2214013178776987446gmail-m_328203472186046868gmail-_6qdm" style="background-repeat:no-repeat;background-size:contain;color:transparent;display:inline-block;vertical-align:text-bottom;font-family:inherit;height:16px;width:16px;font-size:16px;background-image:url("https://static.xx.fbcdn.net/images/emoji.php/v9/t8a/3/16/1f642.png")">:)</span></span></span></span></span></span></span><br>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr">Em dom, 6 de jan de 2019 às 14:16, Alexandre Torres Porres <<a href="mailto:porres@gmail.com" target="_blank" moz-do-not-send="true">porres@gmail.com</a>> escreveu:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px
                        0px 0px 0.8ex;border-left:1px solid
                        rgb(204,204,204);padding-left:1ex">
<div dir="ltr">
<div class="gmail_quote">
<div>Hi, quick updates and developments over my weekend</div>
<div> </div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
                              0.8ex;border-left:1px solid
                              rgb(204,204,204);padding-left:1ex">
On Thursday, 3 January 2019, 04:19:50 GMT, Alexandre Torres Porres <<a href="mailto:porres@gmail.com" target="_blank" moz-do-not-send="true">porres@gmail.com</a>> wrote: <br>
<br>
what you think, is it working?</blockquote>
<div><br>
</div>
<div>
<div>So, the patch/algorithm was wrong and I've fixed </div>
</div>
<div> </div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
                              0.8ex;border-left:1px solid
                              rgb(204,204,204);padding-left:1ex">
Both objects on the help file take about 40% of my CPU power, but I'm on a wild machine<br>
</blockquote>
<div><br>
</div>
<div>I was able to do a few more things and make it much more efficient</div>
<div> </div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
                              0.8ex;border-left:1px solid
                              rgb(204,204,204);padding-left:1ex">
I tried the idea of having each partition work with FFT saved on tables, so we wouldn't need to perform FFTs in different instances of clone, but that doesn't seem to be possible.</blockquote>
<div><br>
</div>
<div>This is because things were wrong, like I said, now that I've fixed it, that was possible.</div>
<div><br>
</div>
<div>But my current version is not vanilla anymore, as I'm developing this object to include it in my "ELSE" library. Once I'm done I'll try to make another vanilla compatible abstraction and re share it!</div>
<div><br>
</div>
<div>Cheers</div>
</div>
</div>
</blockquote>
</div>
</blockquote>
</div>
</div>
</div>
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px 0px
                0.8ex;border-left:1px solid
                rgb(204,204,204);padding-left:1ex">
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px
                    0px 0.8ex;border-left:1px solid
                    rgb(204,204,204);padding-left:1ex">
</blockquote>
</div>
</blockquote>
</div>
</div>
</blockquote>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-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="https://lists.puredata.info/listinfo/pd-list">https://lists.puredata.info/listinfo/pd-list</a>
</pre>
</blockquote>
</body>
</html>