<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Changing block size freezes PD]]></title><description><![CDATA[<p>Hello!<br />
I'm running into some issues with a relatively intensive granular patch I've been working on, and I'm wondering whether increasing my block size would be a good thing to try.</p>
<p>However I am unable to successfully change the block size from 64, either by using block~ or in the audio settings dialog. If I do it via block~ the size is unchanged. If I attempt to change the block size in my audio settings the window freezes - I'm unable to close it, PD becomes unresponsive, and I have to force quit and restart the application (at which point the block size is back to 64).</p>
<p>I have two Macs, and the behaviour is the same on both. One is a slightly older MacBook Pro running OS 10.13.3 and PD 0.48.0. The other is a new MacBook Pro running OS 10.13.4 and PD 0.48.0 (386). The behaviour is also the same both when I'm using my built-in audio card and when I'm using my RME Fireface UCX (over USB).</p>
<p>I have two interrelated questions - is changing the block size advisable as a method for trying to improve performance? I've always assumed it's similar to the &quot;vector size&quot; in Max/MSP, is that right? I'm not entirely certain that the problems I'm having will be fixed by changing the block size, but I'd like to try.</p>
<p>Secondly - is my inability to change the block size a known bug, or something I am doing wrong?</p>
<p>I'll be posting this on a few other PD forums, apologies if you read them all. Thanks!</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/11365/changing-block-size-freezes-pd</link><generator>RSS for Node</generator><lastBuildDate>Tue, 14 Jul 2026 21:34:18 GMT</lastBuildDate><atom:link href="http://forum.pdpatchrepo.info/topic/11365.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 09 May 2018 08:34:26 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Changing block size freezes PD on Wed, 09 May 2018 08:34:26 GMT]]></title><description><![CDATA[<p>Hello!<br />
I'm running into some issues with a relatively intensive granular patch I've been working on, and I'm wondering whether increasing my block size would be a good thing to try.</p>
<p>However I am unable to successfully change the block size from 64, either by using block~ or in the audio settings dialog. If I do it via block~ the size is unchanged. If I attempt to change the block size in my audio settings the window freezes - I'm unable to close it, PD becomes unresponsive, and I have to force quit and restart the application (at which point the block size is back to 64).</p>
<p>I have two Macs, and the behaviour is the same on both. One is a slightly older MacBook Pro running OS 10.13.3 and PD 0.48.0. The other is a new MacBook Pro running OS 10.13.4 and PD 0.48.0 (386). The behaviour is also the same both when I'm using my built-in audio card and when I'm using my RME Fireface UCX (over USB).</p>
<p>I have two interrelated questions - is changing the block size advisable as a method for trying to improve performance? I've always assumed it's similar to the &quot;vector size&quot; in Max/MSP, is that right? I'm not entirely certain that the problems I'm having will be fixed by changing the block size, but I'd like to try.</p>
<p>Secondly - is my inability to change the block size a known bug, or something I am doing wrong?</p>
<p>I'll be posting this on a few other PD forums, apologies if you read them all. Thanks!</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/11365/changing-block-size-freezes-pd</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/11365/changing-block-size-freezes-pd</guid><dc:creator><![CDATA[yannseznec]]></dc:creator><pubDate>Wed, 09 May 2018 08:34:26 GMT</pubDate></item><item><title><![CDATA[Reply to Changing block size freezes PD on Wed, 09 May 2018 08:54:46 GMT]]></title><description><![CDATA[<p>I should also say that I've found another forum post that seems to be similar from about two years ago: <a href="https://forum.pdpatchrepo.info/topic/10180/mac-cannot-change-blocksize/2" rel="nofollow">https://forum.pdpatchrepo.info/topic/10180/mac-cannot-change-blocksize/2</a></p>
<p>The solution there was to install and use Jack - I've done this to no effect (and I'd rather not do that anyway).</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/11365/changing-block-size-freezes-pd/2</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/11365/changing-block-size-freezes-pd/2</guid><dc:creator><![CDATA[yannseznec]]></dc:creator><pubDate>Wed, 09 May 2018 08:54:46 GMT</pubDate></item><item><title><![CDATA[Reply to Changing block size freezes PD on Sat, 07 Jul 2018 19:33:22 GMT]]></title><description><![CDATA[<p>I wanted to chime in a say I am experiencing this problem as well. To recreate:</p>
<ol>
<li>Launch pd</li>
<li>Open audio settings</li>
<li>Change block size from 64 to 256 or higher</li>
<li>Audio settings window doesn't close. All other windows stop responding.</li>
</ol>
<p>I'm running:<br />
MBP, MacOS 10.13.4, pd 0.48-0</p>
<p>Any help with this would be fantastic!</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/11365/changing-block-size-freezes-pd/3</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/11365/changing-block-size-freezes-pd/3</guid><dc:creator><![CDATA[realshafer]]></dc:creator><pubDate>Sat, 07 Jul 2018 19:33:22 GMT</pubDate></item><item><title><![CDATA[Reply to Changing block size freezes PD on Sat, 07 Jul 2018 20:25:17 GMT]]></title><description><![CDATA[<p>@amazingrolo The audio settings dialog changes how Pd talks to the soundcard driver.  If the souncard doesn't like the settings that will hang Pd (Pd will be waiting for the soundcard to say &quot;ok thanks&quot; and the soundcard will be saying &quot;eh..!&quot;..).<br />
If you want to change the block size you will have to do it for the soundcard as well. &quot;64&quot; is standard.</p>
<p>Pd schedules audio processing ticks in 64 sample chunks anyway, so I am not sure there is an advantage to using [block~] in a heavy patch.  In fact I would think that changing block sizes would have a cost.<br />
If your patch is not &quot;live&quot;..... you have no connection from adc to dac..... increasing the Delay (mSec) wil help more.  It will increase the latency by using a bigger buffer.</p>
<p>A few mistakes are possible using [block~] or [switch~]..... with [throw~] for example......<br />
<a href="http://puredata.info/docs/manuals/pd/x2.htm" rel="nofollow">http://puredata.info/docs/manuals/pd/x2.htm</a> chapter 2.4.4 onwards.</p>
<p>I have had trouble while changing [block~] parameters ..... but once it is set in the patch (patch saved and re-opened or audio toggled on/off) it is fine.  That is painful when you are experimenting though.<br />
David.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/11365/changing-block-size-freezes-pd/4</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/11365/changing-block-size-freezes-pd/4</guid><dc:creator><![CDATA[whale-av]]></dc:creator><pubDate>Sat, 07 Jul 2018 20:25:17 GMT</pubDate></item><item><title><![CDATA[Reply to Changing block size freezes PD on Sat, 07 Jul 2018 20:20:59 GMT]]></title><description><![CDATA[<p>@amazingrolo One thing worth trying is to use a [switch~] object inside each grain abstraction to turn off the dsp for that abstraction when the grains are not active. So you'd send a 1 to [switch~] just before the grain starts, and then schedule a zero after a delay time as long as the grain length in milliseconds.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/11365/changing-block-size-freezes-pd/5</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/11365/changing-block-size-freezes-pd/5</guid><dc:creator><![CDATA[weightless]]></dc:creator><pubDate>Sat, 07 Jul 2018 20:20:59 GMT</pubDate></item></channel></rss>