<?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: Erratic sample interval from snapshot object</title>
		<atom:link href="http://cycling74.com/forums/topic/erratic-sample-interval-from-snapshot-object/feed" rel="self" type="application/rss+xml" />
		<link>http://cycling74.com/forums/topic/erratic-sample-interval-from-snapshot-object/feed</link>
		<description></description>
		<pubDate>Tue, 18 Jun 2013 18:47:12 +0000</pubDate>
		<generator>http://bbpress.org/?v=2.2.4</generator>
		<language></language>

		
														
					
				<item>
					<guid>http://cycling74.com/forums/topic/erratic-sample-interval-from-snapshot-object/#post-54562</guid>
					<title><![CDATA[Erratic sample interval from snapshot object]]></title>
					<link>http://cycling74.com/forums/topic/erratic-sample-interval-from-snapshot-object/#post-54562</link>
					<pubDate>Sun, 23 Jan 2011 21:30:24 +0000</pubDate>
					<dc:creator>newdendrite</dc:creator>

					<description>
						<![CDATA[
						<p>I&#8217;m trying to sample the output of a low frequency [cycle~] object using [snapshot~].  The sample interval produced by the internal timer of the [snapshot~] object is showing a great deal of variation.  For some settings between 130 and 500 msec, the sample interval varies as much as 60 msec.  I wonder if anyone else is seeing this behavior. </p>
<p>I&#8217;m running Max 5.1.7 under Windows XP on a moderately fast dual core Thinkpad.  No other app&#8217;s are running, but undoubtedly other processes are active in the background.  The Max CPU utilization is very low.</p>
<p>I notice others using [snapshot~] at a 10 msec. interval, but this is not even possible on my system.  The minimum sample interval seems to be around 40 msec.</p>
<p>Here is the patch I used for testing.  Any comments would be appreciated.</p>
<div><span id="toggle54562-0" class="patchtoggle" onmousedown="toggleMaxPatch('post54562-0', 'er54562-0');">&#8211; Pasted Max <span id="maxversion54562-0"></span> Patch, click to <span id="er54562-0">expand</span>. &#8211;</span> <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"  width="110" height="14" class="clippy" ><param name="allowScriptAccess" value="always" /><param name="quality" value="high" /><param name="scale" value="noscale" /><param NAME="FlashVars" value="copied=copied!&#038;copyto=copy to clipboard"/><param name="bgcolor" value="#FFFFFF"/><param name="wmode" value="opaque"/><embed src="/wp-content/plugins/bbpress-copy-compressed/clippy.swf"  width="110" height="14"   name="clippy"  quality="high"  allowScriptAccess="always"  type="application/x-shockwave-flash"  pluginspage="http://www.macromedia.com/go/getflashplayer"  FlashVars="text=----------begin_max5_patcher----------%0A987.3oc0YsrbhiCEcMcU8%2BfJusITVxO.5cyrX9.lrr6TSILJflxRhxRjWc04%0AaezCahCwtQIiA4dCBt9Z4y8n6S7O97mlDsR7.QFA9J3afIS9gVxDqLijIMBl%0ADwvOTThkVEitsTv2yhlVeM5ZqTwp%2B8pjjCR0ZH1qJIJ68fZDeqfqjzmHFgPz%0Ar3F4NcUOti3vh4gfUQSAQqv7MQfaZTbGVUrkx27OUjBkSWDJSuQfTTrYIy9o%0A46ubSlmJGyr6czeTQwkswIk2.SnU3O%2B7mLq5kodyIEBFivUG1VE4AK5h9aM7%0AI.ws.Ilsqj.nbEo5Nbo9K.ljTLCbqnBn2GE.FWqjb1g8ojxIEh8b0qXw1TNp%0AGJO9TTdWL4h1LIbYtYII8xRkbx8ZC6sL4Uf3Yc5zE2CC.%2BfNc93rkrzRQInY%0AYeTmMzfyPOUBjpJBlock5hoPKGrvSSj4IHJnigRrKyy%2B3QkCOQo2bJaOqGGJ%0AzhgOKFkeJ%2BpLmeUtitRFUzE9geEcMO.zEL%2BUzUP7t5Mm%2B0D0wo66h3fyG9T2%0AvX2xHqJ3eoqw8MIGuStUnd9lo.8ZkBn4F1aJLdGVCMEUvklxl4wewVmDfqzk%0AQWIM5rRqtopoT67nYAqdvzXfRnq9G6Jq9c924%2BIoTbu8JFQSApsj2VFVBzfr%0AhvHkOBHUU5mr6lu9HEw61QvURyCYK9NB.CzaNQW5lxnJCBvqzGgfTn642cE7%0Akc4FjOftA0oagKstAnrE1ek.GGkv2UQa4czlCxFxPg4NmeWDgo8kKej.4o03%0Ahm6zTSOko1ewz5n6zCe9hIclKAT7XQI44d5q.lLXcfIoa35SCe5rntDPNJD4%0A9UhMaJIcRFnSQFuwnOcyANKN%2BPR8iM3ybbKinpD5GYm16v098oG0Kuc1MWxs%0AwRSRGpt0COs7hNkBrMQsHHcStZuRI3cQE4u6HDe8LpmN6bFhrmshT0kUMbsA%0AaKR9NLZWgtvzxWegCJJqaZ5LLbkWjT87UyGWgBYmgPg5f%2BPFKjd4iEZF.JOf%0AACxR55VDRiApGJ4EKr8%2Bb069v2OJHwsj5lJFdQO4QA3jG9aXZP3kNMXCKM74%0AAc6fcP2ieSBVbXtvQbmTrupnw.p6NBzBJqIR8j81%2BEfVJk8Zk1RWulve0nSL%0A55cBsiSMN.2z%2BAp2PagOPadPfVtOPaw3FZvKNzx7AZvfvZdCsKOqk5CzVNdg%0AlYN0.fMyam5zfy7hSCf6VhOXKMHPC4UEAzhwL3BSQAjWErRBS3vwbxu.bAf4%0A75TcYPvFLw27uA.adQbvzwL3BiGGzqpC4gAadEMLdgF7%2B%2B3BFA5k%2BC.mW6Tl%0A-----------end_max5_patcher-----------&#038;copied=copied!&#038;;copyto=copy to clipboard"  bgcolor="#ffffff"  wmode="opaque" /> </object></div>
<div id="post54562-0" style="display:none;visibility:hidden;" >
<div class="patchtoggleInfo"><small>Copy <b>all</b> of the following text.Then, in Max, select <em>New From Clipboard</em>.</small></div>
<div class="patchtogglediv">
<pre><code id="pastedcode54562-0">----------begin_max5_patcher----------
987.3oc0YsrbhiCEcMcU8+fJusITVxO.5cyrX9.lrr6TSILJflxRhxRjWc04
aezCahCwtQIiA4dCBt9Z4y8n6S7O97mlDsR7.QFA9J3afIS9gVxDqLijIMBl
DwvOTThkVEitsTv2yhlVeM5ZqTwp+8pjjCR0ZH1qJIJ68fZDeqfqjzmHFgPz
r3F4NcUOti3vh4gfUQSAQqv7MQf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4
75TcYPvFLw27uA.adQbvzwL3BiGGzqpC4gAadEMLdgF7++3BFA5k+C.mW6Tl
-----------end_max5_patcher-----------</code></pre></div>
</div>
<p>Thanks,<br />
Michael</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/erratic-sample-interval-from-snapshot-object/#post-196509</guid>
					<title><![CDATA[Re: Erratic sample interval from snapshot object]]></title>
					<link>http://cycling74.com/forums/topic/erratic-sample-interval-from-snapshot-object/#post-196509</link>
					<pubDate>Sun, 23 Jan 2011 22:22:20 +0000</pubDate>
					<dc:creator>Emmanuel Jourdan</dc:creator>

					<description>
						<![CDATA[
						<p>If you want tight control timing you need to make sure that <strong>overdrive</strong>, and <strong>scheduler in audio interrupt</strong> are on (in the <em>DSP Status</em> window). Also make sure the signal vector size is small enough.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/erratic-sample-interval-from-snapshot-object/#post-196510</guid>
					<title><![CDATA[Re: Erratic sample interval from snapshot object]]></title>
					<link>http://cycling74.com/forums/topic/erratic-sample-interval-from-snapshot-object/#post-196510</link>
					<pubDate>Sun, 23 Jan 2011 22:43:34 +0000</pubDate>
					<dc:creator>newdendrite</dc:creator>

					<description>
						<![CDATA[
						<p>Emmanuel,</p>
<p>Thanks for the help.  Turning on overdrive and scheduler in audio interrupt, and reducing the vector size to 512 did help considerably.  However, even with these settings, there are two problems.</p>
<p>When [snapshot~] is set to 20 msec., there is still a 12 msec. range between the shortest and longest interval.</p>
<p>Also, when the interval is reset externally through the right inlet, the object sometimes fails to recognized the change and remains at the previous setting.  You can see this in the test patch, where the [metro} used as a reference interval generator changes immediately and [snapshot~] does not.</p>
<p>Thanks,<br />
Michael</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/erratic-sample-interval-from-snapshot-object/#post-196511</guid>
					<title><![CDATA[Re: Erratic sample interval from snapshot object]]></title>
					<link>http://cycling74.com/forums/topic/erratic-sample-interval-from-snapshot-object/#post-196511</link>
					<pubDate>Mon, 24 Jan 2011 11:35:27 +0000</pubDate>
					<dc:creator>Emmanuel Jourdan</dc:creator>

					<description>
						<![CDATA[
						<p>With a signal vector size of 64 samples, I see a variation of about 2 ms.</p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

