<?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[save contents of array flag via message?]]></title><description><![CDATA[<p>Each time I load a sound into an array using soundfiler that array will automatically have the &quot;save-in-patch flag&quot; cleared. I know this is normal behavior, but sometimes I don't want that to happen. So is there a way of setting an array to save the contents with a message of some kind? currently to do that after loading a new sound into the array I have to:</p>
<ul>
<li>right-click</li>
<li>select &quot;properties&quot;</li>
<li>tick the checkbox for &quot;save contents&quot;</li>
<li>click OK</li>
<li>click OK again for the other array properties window</li>
</ul>
<p>this feels needlessly tedious. have I missed something obvious? maybe a flag for when I'm loading the sound in soundfiler? or is there something I can do using the [array] object?</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/13165/save-contents-of-array-flag-via-message</link><generator>RSS for Node</generator><lastBuildDate>Tue, 14 Jul 2026 22:59:21 GMT</lastBuildDate><atom:link href="http://forum.pdpatchrepo.info/topic/13165.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 03 Dec 2020 23:00:18 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to save contents of array flag via message? on Thu, 03 Dec 2020 23:00:18 GMT]]></title><description><![CDATA[<p>Each time I load a sound into an array using soundfiler that array will automatically have the &quot;save-in-patch flag&quot; cleared. I know this is normal behavior, but sometimes I don't want that to happen. So is there a way of setting an array to save the contents with a message of some kind? currently to do that after loading a new sound into the array I have to:</p>
<ul>
<li>right-click</li>
<li>select &quot;properties&quot;</li>
<li>tick the checkbox for &quot;save contents&quot;</li>
<li>click OK</li>
<li>click OK again for the other array properties window</li>
</ul>
<p>this feels needlessly tedious. have I missed something obvious? maybe a flag for when I'm loading the sound in soundfiler? or is there something I can do using the [array] object?</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/13165/save-contents-of-array-flag-via-message</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/13165/save-contents-of-array-flag-via-message</guid><dc:creator><![CDATA[yannseznec]]></dc:creator><pubDate>Thu, 03 Dec 2020 23:00:18 GMT</pubDate></item><item><title><![CDATA[Reply to save contents of array flag via message? on Sat, 05 Dec 2020 00:36:10 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/yannseznec">@yannseznec</a> just looking through the code, you can send an &quot;arraydialog&quot; message.</p>
<p>The message has the arguments:<br />
name, size, flags, delete<br />
delete is 0 or 1 (for if the array in the graph should be deleted)</p>
<p>flags is composed of:</p>
<ol>
<li>the draw &quot;pointstyle&quot;: 0 is polygon, 1 is points, 2 is bezier curve</li>
<li>the save-in patch flag (what you're interested in). 1 is save in patch, 0 is don't.</li>
</ol>
<p>flags is made by multiplying the value from step 1 by 2 and then adding it to the save-in-patch flag from step 2</p>
<p>so for instance to add the save-in-patch flag to the default array from the &quot;Put&quot; menu that has had its save-in-patch flag cleared (keeping the &quot;drawstyle&quot; as points):</p>
<pre><code>[arraydialog array1 100 3 0(
|
[send array1]
</code></pre>
]]></description><link>http://forum.pdpatchrepo.info/topic/13165/save-contents-of-array-flag-via-message/2</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/13165/save-contents-of-array-flag-via-message/2</guid><dc:creator><![CDATA[seb-harmonik.ar]]></dc:creator><pubDate>Sat, 05 Dec 2020 00:36:10 GMT</pubDate></item><item><title><![CDATA[Reply to save contents of array flag via message? on Fri, 04 Dec 2020 18:59:59 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/seb-harmonik-ar">@seb-harmonik.ar</a> that's brilliant, thanks so much! so far it's working perfectly.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/13165/save-contents-of-array-flag-via-message/3</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/13165/save-contents-of-array-flag-via-message/3</guid><dc:creator><![CDATA[yannseznec]]></dc:creator><pubDate>Fri, 04 Dec 2020 18:59:59 GMT</pubDate></item></channel></rss>