<?xml version="1.0" encoding="UTF-8"?>
	<rss version="2.0"
		xmlns:content="http://purl.org/rss/1.0/modules/content/"
		xmlns:wfw="http://wellformedweb.org/CommentAPI/"
		xmlns:dc="http://purl.org/dc/elements/1.1/"
		xmlns:atom="http://www.w3.org/2005/Atom"

			>

	<channel>
		<title>Cycling 74  &#187;  Topic: SWOD restoring a patch using pattrstorage</title>
		<atom:link href="http://cycling74.com/forums/topic/swod-restoring-a-patch-using-pattrstorage/feed" rel="self" type="application/rss+xml" />
		<link>http://cycling74.com/forums/topic/swod-restoring-a-patch-using-pattrstorage/feed</link>
		<description></description>
		<pubDate>Wed, 19 Jun 2013 00:22:31 +0000</pubDate>
		<generator>http://bbpress.org/?v=2.2.4</generator>
		<language></language>

		
														
					
				<item>
					<guid>http://cycling74.com/forums/topic/swod-restoring-a-patch-using-pattrstorage/#post-35481</guid>
					<title><![CDATA[SWOD restoring a patch using pattrstorage]]></title>
					<link>http://cycling74.com/forums/topic/swod-restoring-a-patch-using-pattrstorage/#post-35481</link>
					<pubDate>Tue, 22 Jan 2008 00:34:14 +0000</pubDate>
					<dc:creator>Paul Greyson</dc:creator>

					<description>
						<![CDATA[
						<p>In a large patch with many controls, I get a SWOD of variable length (up to 30 seconds) when restoring control values using pattrstorage.</p>
<p>Shark shows that a large amount of time is being spent in sched_purgeqelems.</p>
<p>The patch is driven by a qmetro.</p>
<p>This is a somewhat old version of Max (v4.5)</p>
<p>Any help would be appreciated.</p>
<p>- Paul</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/swod-restoring-a-patch-using-pattrstorage/#post-121030</guid>
					<title><![CDATA[Re: SWOD restoring a patch using pattrstorage]]></title>
					<link>http://cycling74.com/forums/topic/swod-restoring-a-patch-using-pattrstorage/#post-121030</link>
					<pubDate>Tue, 22 Jan 2008 01:30:54 +0000</pubDate>
					<dc:creator>(karrrlo)</dc:creator>

					<description>
						<![CDATA[
						<p>for starters : check the priority message for pattrstorage ;<br />
you can decide the order in which messages are sent to your pattred elements.</p>
<p>turn interpolations OFF for any GUI that doesnt need any</p>
<p>maybe you can split your UI in several bpatchers having all there own pattrstorage and recalling them one after the other , instead of using one single pattrstorage that stores/recalls everything&#8230;&#8230;</p>
<p>Quote: Paul Greyson wrote on Tue, 22 January 2008 01:34<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
> In a large patch with many controls, I get a SWOD of variable length (up to 30 seconds) when restoring control values using pattrstorage.<br />
> <br />
> Shark shows that a large amount of time is being spent in sched_purgeqelems.<br />
> <br />
> The patch is driven by a qmetro.<br />
> <br />
> This is a somewhat old version of Max (v4.5)<br />
> <br />
> Any help would be appreciated.<br />
> <br />
> &#8211; Paul<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/swod-restoring-a-patch-using-pattrstorage/#post-121031</guid>
					<title><![CDATA[Re: SWOD restoring a patch using pattrstorage]]></title>
					<link>http://cycling74.com/forums/topic/swod-restoring-a-patch-using-pattrstorage/#post-121031</link>
					<pubDate>Tue, 22 Jan 2008 03:32:04 +0000</pubDate>
					<dc:creator>Paul Greyson</dc:creator>

					<description>
						<![CDATA[
						<p>I could probably rework the use of pattrstorage. But 30 seconds to restore the patch seems like a bug. </p>
<p>Oh forgot to mention: the problem seems to get worse over time. i.e., when I first start the patch, restore will take maybe 1/2 second. After several hours, I&#8217;m at 30 seconds.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/swod-restoring-a-patch-using-pattrstorage/#post-121032</guid>
					<title><![CDATA[Re: SWOD restoring a patch using pattrstorage]]></title>
					<link>http://cycling74.com/forums/topic/swod-restoring-a-patch-using-pattrstorage/#post-121032</link>
					<pubDate>Tue, 22 Jan 2008 08:57:11 +0000</pubDate>
					<dc:creator>Rocky G</dc:creator>

					<description>
						<![CDATA[
						<p>Make sure changemode is enabled.</p>
<p>Consider upgrading to 4.6.3 as there have been several bug fixes in the pattrstorage system since 4.5.</p>
<p>I agree with karrrlo, having one pattrstorage for a complex patch is inadvisable. It doesn&#8217;t have to be heinous, you can create multiple pattrstorages and control certain operations such as read and write like so:</p>
<p>#P button 170 46 15 0;<br />
#P newex 206 248 97 196617 s toPattrstorage01;<br />
#P newex 206 227 90 196617 sprintf %s01.xml;<br />
#P newex 105 198 51 196617 tosymbol;<br />
#P newex 105 169 75 196617 sprintf %s %s;<br />
#P newex 165 370 90 196617 sprintf %s04.xml;<br />
#P newex 186 320 90 196617 sprintf %s03.xml;<br />
#P newex 165 392 97 196617 s toPattrstorage04;<br />
#P newex 186 341 97 196617 s toPattrstorage03;<br />
#P newex 204 298 97 196617 s toPattrstorage02;<br />
#P newex 203 278 90 196617 sprintf %s02.xml;<br />
#P message 170 120 44 196617 filepath;<br />
#P newex 170 88 62 196617 prepend set;<br />
#P newex 170 66 76 196617 opendialog fold;<br />
#P message 66 125 35 196617 write;<br />
#P message 35 125 30 196617 read;<br />
#P connect 1 0 11 0;<br />
#P connect 0 0 11 0;<br />
#P connect 11 0 12 0;<br />
#P connect 15 0 2 0;<br />
#P connect 2 0 3 0;<br />
#P connect 4 0 11 1;<br />
#P connect 3 0 4 0;<br />
#P connect 13 0 14 0;<br />
#P connect 5 0 6 0;<br />
#P connect 9 0 7 0;<br />
#P connect 10 0 8 0;<br />
#P connect 12 0 13 0;<br />
#P connect 12 0 5 0;<br />
#P connect 12 0 9 0;<br />
#P connect 12 0 10 0;</p>
<p>Just don&#8217;t do a recall on all of them at once! You&#8217;ll get slowdowns, lost data etc. as you have already discovered.</p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

