<?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: what object sends values ​​greater 0 to left and ​​below 0 to the right out ?</title>
		<atom:link href="http://cycling74.com/forums/topic/what-object-sends-values-%e2%80%8b%e2%80%8bgreater-0-to-left-and-%e2%80%8b%e2%80%8bbelow-0-to-the-right-out/feed" rel="self" type="application/rss+xml" />
		<link>http://cycling74.com/forums/topic/what-object-sends-values-%e2%80%8b%e2%80%8bgreater-0-to-left-and-%e2%80%8b%e2%80%8bbelow-0-to-the-right-out/feed</link>
		<description></description>
		<pubDate>Tue, 18 Jun 2013 15:05:27 +0000</pubDate>
		<generator>http://bbpress.org/?v=2.2.4</generator>
		<language></language>

		
														
					
				<item>
					<guid>http://cycling74.com/forums/topic/what-object-sends-values-%e2%80%8b%e2%80%8bgreater-0-to-left-and-%e2%80%8b%e2%80%8bbelow-0-to-the-right-out/#post-59348</guid>
					<title><![CDATA[what object sends values ​​greater 0 to left and ​​below 0 to the right out ?]]></title>
					<link>http://cycling74.com/forums/topic/what-object-sends-values-%e2%80%8b%e2%80%8bgreater-0-to-left-and-%e2%80%8b%e2%80%8bbelow-0-to-the-right-out/#post-59348</link>
					<pubDate>Sun, 16 Oct 2011 12:01:06 +0000</pubDate>
					<dc:creator>hgh</dc:creator>

					<description>
						<![CDATA[
						<p>Object needet that: </p>
<p>sends values ​​greater than 0 to the left and send values ​​below 0 to the right output</p>
<p>thanks,<br />
hgh</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/what-object-sends-values-%e2%80%8b%e2%80%8bgreater-0-to-left-and-%e2%80%8b%e2%80%8bbelow-0-to-the-right-out/#post-213498</guid>
					<title><![CDATA[Re: what object sends values ​​greater 0 to left and ​​below 0 to the right out ?]]></title>
					<link>http://cycling74.com/forums/topic/what-object-sends-values-%e2%80%8b%e2%80%8bgreater-0-to-left-and-%e2%80%8b%e2%80%8bbelow-0-to-the-right-out/#post-213498</link>
					<pubDate>Sun, 16 Oct 2011 12:10:06 +0000</pubDate>
					<dc:creator>Peter Castine</dc:creator>

					<description>
						<![CDATA[
						<p>Use a [gate] with one of the comparison objects. You will need to be careful about processing order.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/what-object-sends-values-%e2%80%8b%e2%80%8bgreater-0-to-left-and-%e2%80%8b%e2%80%8bbelow-0-to-the-right-out/#post-213499</guid>
					<title><![CDATA[Re: what object sends values ​​greater 0 to left and ​​below 0 to the right out ?]]></title>
					<link>http://cycling74.com/forums/topic/what-object-sends-values-%e2%80%8b%e2%80%8bgreater-0-to-left-and-%e2%80%8b%e2%80%8bbelow-0-to-the-right-out/#post-213499</link>
					<pubDate>Sun, 16 Oct 2011 12:15:33 +0000</pubDate>
					<dc:creator>Peter Castine</dc:creator>

					<description>
						<![CDATA[
						<p>For instance:</p>
<div><span id="toggle213499-0" class="patchtoggle" onmousedown="toggleMaxPatch('post213499-0', 'er213499-0');">&#8211; Pasted Max <span id="maxversion213499-0"></span> Patch, click to <span id="er213499-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----------%0A661.3oc2V0zaaCCC8ryuBBeYa.IA9iXmjgcYG28cYnnXPwlIVa1RFRxKMsn%2B%0A2GkhyGcKowMMqsXWrfHkHe78HUxc877mIuA09vGgq.Ou65444LYM30t2yuhc%0ASVIS6NlelrpBEF%2B9q8YvaLN6eS1.YLAn%2BIuFLEHXT7EKPEHm8CLy.K4lBfUW%0AqjxZEmYPnlYxJ.irVVtXE79RbtYfQNftVgAjpbTwEK9vvMYpjKvLYivktnVi%0AykBileKZsEFMLn0rKzzs%2BthR85pKZ5TxMLM09MNHxsLZX.bc6c34t5ff6fvH%0A%2B8hufU4hu%2BmIbWtwinohKJQiiUB2YT1X1XMvZ79d8re5eAn2knBgewVzf.aF%0AkGnPtDVYcvDFhHgBlHuDgaQkbH70BtFznHW6L.1KX0EG%2BNvdTqBTLD9x7cAw%0AdRMPfnlJBrbEnaT0JTqw791S8txRPfXtMaUxb97UTLo7rVKYYYjtQ7d4p9vb%0AoB3BsgIxPR80ja3JMVBAWCyPxK5fy7FEsn.pwHixCc4CJ3omgfOwpwgwNoNJ%0AdrcYxzin3AuZJNEgYnZSRVGLypZbcU3ysMCf%2BLFQLaQ9SfEBS1q7SBbaBNLI%0AL4hvAQu83fQskcG3fwudb.tj.veM3uv9TYzQoFKu7L5KBG6dUbznGiSRehbR%0Az%2BZNw.bfeptE6x42rL0QOzaGIGmWR9%2BddIM4ziKwu0FW9DD7nzx4PGItoivn%0A3S2RDdQFUB2iObYw8ag%2BweSygTq8GRRZYiJaSE21kBgawZNpMbAyvkh8NCAa%0AXW8TvyyQm6MrREOuVRzWKDfqOnf0UD8vrcXDk9zPTTZrUVBSW2sFMZ6tmIVS%0A6.Vm7hxdocPOG%2BhhnjNpmguXHJtCHJ4YvQzl668a2zVLiC%0A-----------end_max5_patcher-----------&#038;copied=copied!&#038;;copyto=copy to clipboard"  bgcolor="#ffffff"  wmode="opaque" /> </object></div>
<div id="post213499-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="pastedcode213499-0">----------begin_max5_patcher----------
661.3oc2V0zaaCCC8ryuBBeYa.IA9iXmjgcYG28cYnnXPwlIVa1RFRxKMsn+
2GkhyGcKowMMqsXWrfHkHe78HUxc877mIuA09vGgq.Ou65444LYM30t2yuhc
SVIS6NlelrpBEF+9q8YvaLN6eS1.YLAn+IuFLEHXT7EKPEHm8CLy.K4lBfUW
qjxZEmYPnlYxJ.irVVtXE79RbtYfQNftVgAjpbTwEK9vvMYpjKvLYivktnVi
ykBileKZsEFMLn0rKzzs+thR85pKZ5TxMLM09MNHxsLZX.bc6c34t5ff6fvH
+8hufU4hu+mIbWtwinohKJQiiUB2YT1X1XMvZ79d8re5eAn2knBgewVzf.aF
kGnPtDVYcvDFhHgBlHuDgaQkbH70BtFznHW6L.1KX0EG+NvdTqBTLD9x7cAw
dRMPfnlJBrbEnaT0JTqw791S8txRPfXtMaUxb97UTLo7rVKYYYjtQ7d4p9vb
oB3BsgIxPR80ja3JMVBAWCyPxK5fy7FEsn.pwHixCc4CJ3omgfOwpwgwNoNJ
drcYxzin3AuZJNEgYnZSRVGLypZbcU3ysMCf+LFQLaQ9SfEBS1q7SBbaBNLI
L4hvAQu83fQskcG3fwudb.tj.veM3uv9TYzQoFKu7L5KBG6dUbznGiSRehbR
z+ZNw.bfeptE6x42rL0QOzaGIGmWR9+ddIM4ziKwu0FW9DD7nzx4PGItoivn
3S2RDdQFUB2iObYw8ag+weSygTq8GRRZYiJaSE21kBgawZNpMbAyvkh8NCAa
XW8TvyyQm6MrREOuVRzWKDfqOnf0UD8vrcXDk9zPTTZrUVBSW2sFMZ6tmIVS
6.Vm7hxdocPOG+hhnjNpmguXHJtCHJ4YvQzl668a2zVLiC
-----------end_max5_patcher-----------</code></pre></div>
</div>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/what-object-sends-values-%e2%80%8b%e2%80%8bgreater-0-to-left-and-%e2%80%8b%e2%80%8bbelow-0-to-the-right-out/#post-213500</guid>
					<title><![CDATA[Re: what object sends values ​​greater 0 to left and ​​below 0 to the right out ?]]></title>
					<link>http://cycling74.com/forums/topic/what-object-sends-values-%e2%80%8b%e2%80%8bgreater-0-to-left-and-%e2%80%8b%e2%80%8bbelow-0-to-the-right-out/#post-213500</link>
					<pubDate>Sun, 16 Oct 2011 12:20:15 +0000</pubDate>
					<dc:creator>broc</dc:creator>

					<description>
						<![CDATA[
						<p>[if $i1>0 then $i1 else out2 $i1].</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/what-object-sends-values-%e2%80%8b%e2%80%8bgreater-0-to-left-and-%e2%80%8b%e2%80%8bbelow-0-to-the-right-out/#post-213501</guid>
					<title><![CDATA[Re: what object sends values ​​greater 0 to left and ​​below 0 to the right out ?]]></title>
					<link>http://cycling74.com/forums/topic/what-object-sends-values-%e2%80%8b%e2%80%8bgreater-0-to-left-and-%e2%80%8b%e2%80%8bbelow-0-to-the-right-out/#post-213501</link>
					<pubDate>Sun, 16 Oct 2011 12:46:02 +0000</pubDate>
					<dc:creator>hgh</dc:creator>

					<description>
						<![CDATA[
						<p>cool: my favorite is [if $i1>0 then $i1 else out2 $i1]   </p>
<p>thank you very much!!! ;)</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/what-object-sends-values-%e2%80%8b%e2%80%8bgreater-0-to-left-and-%e2%80%8b%e2%80%8bbelow-0-to-the-right-out/#post-213502</guid>
					<title><![CDATA[Re: what object sends values ​​greater 0 to left and ​​below 0 to the right out ?]]></title>
					<link>http://cycling74.com/forums/topic/what-object-sends-values-%e2%80%8b%e2%80%8bgreater-0-to-left-and-%e2%80%8b%e2%80%8bbelow-0-to-the-right-out/#post-213502</link>
					<pubDate>Sun, 16 Oct 2011 15:17:34 +0000</pubDate>
					<dc:creator>Siska Ádám</dc:creator>

					<description>
						<![CDATA[
						<p>You can also try <code>[sadam.split 0]</code> from the sadam Library, although that would send the values below 0 to the left outlet and above 0 to the right. Setting the @strict attribute will let you decide if you want to get the exact 0 values on the left or on the right.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/what-object-sends-values-%e2%80%8b%e2%80%8bgreater-0-to-left-and-%e2%80%8b%e2%80%8bbelow-0-to-the-right-out/#post-213503</guid>
					<title><![CDATA[Re: what object sends values ​​greater 0 to left and ​​below 0 to the right out ?]]></title>
					<link>http://cycling74.com/forums/topic/what-object-sends-values-%e2%80%8b%e2%80%8bgreater-0-to-left-and-%e2%80%8b%e2%80%8bbelow-0-to-the-right-out/#post-213503</link>
					<pubDate>Sun, 16 Oct 2011 23:08:53 +0000</pubDate>
					<dc:creator>Peter Castine</dc:creator>

					<description>
						<![CDATA[
						<p>Yes, [if] can be a handy shortcut. But you should be aware of the gate technique, which can be a very useful approach for a multitude of tasks.</p>
<p>BTW, being in a hurry, I made a silly mistake in the example I posted. Fixing it is left as an exercise to the reader. One way would be to replace the [gate 2] with a graphic gate, but extra points for solutions w/out UI objects.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/what-object-sends-values-%e2%80%8b%e2%80%8bgreater-0-to-left-and-%e2%80%8b%e2%80%8bbelow-0-to-the-right-out/#post-213504</guid>
					<title><![CDATA[Re: what object sends values ​​greater 0 to left and ​​below 0 to the right out ?]]></title>
					<link>http://cycling74.com/forums/topic/what-object-sends-values-%e2%80%8b%e2%80%8bgreater-0-to-left-and-%e2%80%8b%e2%80%8bbelow-0-to-the-right-out/#post-213504</link>
					<pubDate>Mon, 17 Oct 2011 02:29:20 +0000</pubDate>
					<dc:creator>ShelLuser</dc:creator>

					<description>
						<![CDATA[
						<p><a href='http://cycling74.com/forums/users/peter/' rel='nofollow' class='bbp-mention-link Peter'>@Peter</a></p>
<p>I&#8217;m always (usually) in for extra points (and interested in puzzles). It seems you forgot that the comparator (< 0) gives out 0 or 1. 0 closes the whole thing and 1 only opens the first gate.</p>
</p><p>A possible solution is adding 1 to the outcome, as such:</p>
<div><span id="toggle213504-0" class="patchtoggle" onmousedown="toggleMaxPatch('post213504-0', 'er213504-0');">&#8211; Pasted Max <span id="maxversion213504-0"></span> Patch, click to <span id="er213504-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----------%0A406.3oc2U10SCCBEF95tD%2BOP3VqKP%2Bby3M96vrXns3FlVXokFmt3%2BcA5XN%2BZ%0A8C2RS1Umz2CEd4gCb1d0DGXhXCsBBtE7.vwYqRwwnoUbrBNvBxlzbRkYfPN8%0AEQxyP2c4jzMRi90.7dwmDbYE6MpNA1aJxpyqKD0xbpzLUXqbil700zFq.Yb0%0Abt3vYiSJLIg2WxH46WHVlQTYnalCOXUXb6h3YUWSjoqX7kOVRSkMqCFGq7lM%0A36MMzE3glh.KL%2By6WMQGUA2tSm5hDZYOAg2QAgK.lP3K6MPl86.AeDfDOSCB%0AOTjNDhZ93RgGw8mGXjuo.I9DBj%2B35yRhjB7NYfRSodSnn9eEpohAGXBAAmQ.%0AIAL.6TWHMjGZBGbcTTvk36L9ClG9Am8qU2APiZWI7f6JMG2RwRiUf4L9OZga%0AlUchugrJQcYpc6rqoI.84dJiVIYbhjI3GLnnuNnUrrLpI%2BdBVvxVKT3YmON1%0A4XmsFtKVa9nXMMPvsYs3QwZgc8.EOJTqUqMaTnleWrV3ncf1ZsF9eaMsfJ7A%0AWBjoH.%0A-----------end_max5_patcher-----------&#038;copied=copied!&#038;;copyto=copy to clipboard"  bgcolor="#ffffff"  wmode="opaque" /> </object></div>
<div id="post213504-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="pastedcode213504-0">----------begin_max5_patcher----------
406.3oc2U10SCCBEF95tD+OP3VqKP+by3M96vrXns3FlVXokFmt3+cA5XN+Z
8C2RS1Umz2CEd4gCb1d0DGXhXCsBBtE7.vwYqRwwnoUbrBNvBxlzbRkYfPN8
EQxyP2c4jzMRi90.7dwmDbYE6MpNA1aJxpyqKD0xbpzLUXqbil700zFq.Yb0
bt3vYiSJLIg2WxH46WHVlQTYnalCOXUXb6h3YUWSjoqX7kOVRSkMqCFGq7lM
36MMzE3glh.KL+y6WMQGUA2tSm5hDZYOAg2QAgK.lP3K6MPl86.AeDfDOSCB
OTjNDhZ93RgGw8mGXjuo.I9DBj+35yRhjB7NYfRSodSnn9eEpohAGXBAAmQ.
IAL.6TWHMjGZBGbcTTvk36L9ClG9Am8qU2APiZWI7f6JMG2RwRiUf4L9OZga
lUchugrJQcYpc6rqoI.84dJiVIYbhjI3GLnnuNnUrrLpI+dBVvxVKT3YmON1
4XmsFtKVa9nXMMPvsYs3QwZgc8.EOJTqUqMaTnleWrV3ncf1ZsF9eaMsfJ7A
WBjoH.
-----------end_max5_patcher-----------</code></pre></div>
</div>
<p>But, as you said, this does indeed leave a little vagueness as to the 0.</p>
<p>SO, how many points did I score? ;-)</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/what-object-sends-values-%e2%80%8b%e2%80%8bgreater-0-to-left-and-%e2%80%8b%e2%80%8bbelow-0-to-the-right-out/#post-213505</guid>
					<title><![CDATA[Re: what object sends values ​​greater 0 to left and ​​below 0 to the right out ?]]></title>
					<link>http://cycling74.com/forums/topic/what-object-sends-values-%e2%80%8b%e2%80%8bgreater-0-to-left-and-%e2%80%8b%e2%80%8bbelow-0-to-the-right-out/#post-213505</link>
					<pubDate>Mon, 17 Oct 2011 15:42:51 +0000</pubDate>
					<dc:creator>Peter Castine</dc:creator>

					<description>
						<![CDATA[
						<p>The [+ 1] after the comparison was what I was after and you get full points for that!</p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

