<?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: How do I acheive the following? (Logic question using buttons)</title>
		<atom:link href="http://cycling74.com/forums/topic/how-do-i-acheive-the-following-logic-question-using-buttons/feed" rel="self" type="application/rss+xml" />
		<link>http://cycling74.com/forums/topic/how-do-i-acheive-the-following-logic-question-using-buttons/feed</link>
		<description></description>
		<pubDate>Wed, 19 Jun 2013 13:30:34 +0000</pubDate>
		<generator>http://bbpress.org/?v=2.2.4</generator>
		<language></language>

		
														
					
				<item>
					<guid>http://cycling74.com/forums/topic/how-do-i-acheive-the-following-logic-question-using-buttons/#post-35753</guid>
					<title><![CDATA[How do I acheive the following? (Logic question using buttons)]]></title>
					<link>http://cycling74.com/forums/topic/how-do-i-acheive-the-following-logic-question-using-buttons/#post-35753</link>
					<pubDate>Mon, 11 Feb 2008 12:07:12 +0000</pubDate>
					<dc:creator>Dr. Spankenstein</dc:creator>

					<description>
						<![CDATA[
						<p>I can&#8217;t figure out the logic behind this using the available max objects.  </p>
<p>[3 buttons]</p>
<p>Button 1 will bang button A ONLY<br />
Button 2 will bang button B ONLY<br />
Button 1 &#038; Button 2 (at the same time) will bang button C ONLY</p>
<p>Can someone please help me?</p>
<p>max v2;<br />
#N vpatcher 308 160 831 520;<br />
#P window setfont &#8220;Sans Serif&#8221; 14.;<br />
#P window linecount 3;<br />
#P comment 12 174 194 196622 Bang on Button1 &#038; Button2 (at the same time) goes to C ONLY;<br />
#P window linecount 2;<br />
#P comment 13 131 194 196622 Bang on Button2 goes to B ONLY;<br />
#P comment 13 91 194 196622 Bang on Button1 goes to A ONLY;<br />
#P window setfont &#8220;Sans Serif&#8221; 9.;<br />
#P window linecount 1;<br />
#P comment 310 89 16 196617 2;<br />
#P comment 217 89 16 196617 1;<br />
#P button 160 264 15 0;<br />
#P button 71 264 15 0;<br />
#P comment 284 290 17 196617 C;<br />
#P comment 160 292 17 196617 B;<br />
#P newex 328 152 37 196617 pipe 5;<br />
#P newex 284 152 37 196617 pipe 5;<br />
#P button 261 43 15 0;<br />
#P button 284 264 15 0;<br />
#P newex 284 233 46 196617 select 1;<br />
#P newex 284 205 54 196617 &#038;;<br />
#P toggle 328 182 15 0;<br />
#P toggle 284 182 15 0;<br />
#P button 286 78 15 0;<br />
#P newex 286 111 32 196617 t 0 1;<br />
#P button 242 76 15 0;<br />
#P newex 242 111 32 196617 t 0 1;<br />
#P window setfont &#8220;Sans Serif&#8221; 14.;<br />
#P comment 11 37 194 196622 How can I set this up ?;<br />
#P window setfont &#8220;Sans Serif&#8221; 9.;<br />
#P comment 71 289 16 196617 A;<br />
#P connect 3 0 16 0;<br />
#P connect 5 0 17 0;<br />
#P connect 11 0 3 0;<br />
#P connect 3 0 2 0;<br />
#P connect 2 0 12 0;<br />
#P connect 2 1 6 0;<br />
#P connect 12 0 6 0;<br />
#P connect 6 0 8 0;<br />
#P connect 8 0 9 0;<br />
#P connect 9 0 10 0;<br />
#P connect 11 0 5 0;<br />
#P connect 5 0 4 0;<br />
#P connect 4 0 13 0;<br />
#P connect 4 1 7 0;<br />
#P connect 13 0 7 0;<br />
#P connect 7 0 8 1;<br />
#P pop;</p>
<p>Thanks again,</p>
<p>Rhys</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/how-do-i-acheive-the-following-logic-question-using-buttons/#post-122255</guid>
					<title><![CDATA[Re: How do I acheive the following? (Logic question using buttons)]]></title>
					<link>http://cycling74.com/forums/topic/how-do-i-acheive-the-following-logic-question-using-buttons/#post-122255</link>
					<pubDate>Mon, 11 Feb 2008 13:55:05 +0000</pubDate>
					<dc:creator>Emmanuel Jourdan</dc:creator>

					<description>
						<![CDATA[
						<p></p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/how-do-i-acheive-the-following-logic-question-using-buttons/#post-122256</guid>
					<title><![CDATA[Re: How do I acheive the following? (Logic question using buttons)]]></title>
					<link>http://cycling74.com/forums/topic/how-do-i-acheive-the-following-logic-question-using-buttons/#post-122256</link>
					<pubDate>Mon, 11 Feb 2008 14:17:27 +0000</pubDate>
					<dc:creator>robin</dc:creator>

					<description>
						<![CDATA[
						<p>it depends if you&#8217;ll be using a third button to trigger the other two as in your example, but if not, this works. its not very elegant though, and like i said, it wouldn&#8217;t work if someone were triggering the two buttons seperately</p>
<p>#P window setfont &#8220;Sans Serif&#8221; 9.;<br />
#P window linecount 1;<br />
#P newex 337 260 60 196617 loadmess 1;<br />
#P comment 203 124 65 196617 buttons 1+2;<br />
#P comment 148 124 42 196617 button 2;<br />
#P newex 217 164 89 196617 t b 3 b;<br />
#P button 313 430 15 0;<br />
#P button 331 430 15 0;<br />
#P button 295 430 15 0;<br />
#P newex 295 397 66 196617 sel 1 2 3;<br />
#P button 384 365 15 0;<br />
#P newex 323 331 55 196617 zl group 3;<br />
#P message 314 261 14 196617 1;<br />
#P message 295 261 14 196617 2;<br />
#P newex 295 298 38 196617 gate 2;<br />
#P button 295 232 15 0;<br />
#P newex 295 202 45 196617 onebang;<br />
#P message 256 200 14 196617 3;<br />
#P message 95 200 14 196617 1;<br />
#P message 156 200 14 196617 2;<br />
#P button 217 142 15 0;<br />
#P newex 323 365 44 196617 zl nth 1;<br />
#P button 156 142 15 0;<br />
#P button 95 142 15 0;<br />
#P comment 83 124 42 196617 button 1;<br />
#P connect 2 0 5 0;<br />
#P connect 1 0 6 0;<br />
#P connect 13 0 3 0;<br />
#P connect 13 0 14 0;<br />
#P connect 15 2 17 0;<br />
#P connect 19 2 8 0;<br />
#P fasten 19 2 8 1 300 195 335 195;<br />
#P connect 10 1 13 0;<br />
#P fasten 6 0 10 1 100 289 328 289;<br />
#P fasten 5 0 10 1 161 289 328 289;<br />
#P fasten 7 0 10 1 261 289 328 289;<br />
#P fasten 14 0 12 0 389 394 406 394 406 253 319 253;<br />
#P connect 15 1 18 0;<br />
#P connect 15 0 16 0;<br />
#P connect 3 0 15 0;<br />
#P connect 10 0 15 0;<br />
#P connect 22 0 10 0;<br />
#P connect 12 0 10 0;<br />
#P connect 11 0 10 0;<br />
#P connect 9 0 11 0;<br />
#P connect 8 0 9 0;<br />
#P connect 19 1 7 0;<br />
#P connect 4 0 19 0;<br />
#P fasten 19 0 1 0 222 185 210 185 210 138 100 138;<br />
#P fasten 19 0 2 0 222 185 210 185 210 138 161 138;<br />
#P window clipboard copycount 23;</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/how-do-i-acheive-the-following-logic-question-using-buttons/#post-122257</guid>
					<title><![CDATA[Re: How do I acheive the following? (Logic question using buttons)]]></title>
					<link>http://cycling74.com/forums/topic/how-do-i-acheive-the-following-logic-question-using-buttons/#post-122257</link>
					<pubDate>Mon, 11 Feb 2008 15:13:10 +0000</pubDate>
					<dc:creator>Bas van der Graaff</dc:creator>

					<description>
						<![CDATA[
						<p>robin, what&#8217;s the point in allowing actions to be added before you actually trigger the 1 and 2 buttons? Defeats the purpose imo. Then you could just as easily add this:</p>
<p>#P window setfont &#8220;Sans Serif&#8221; 9.;<br />
#P window linecount 1;<br />
#P comment 210 131 65 196617 buttons 1+2;<br />
#P comment 155 131 42 196617 button 2;<br />
#P newex 224 171 89 196617 t b 3 b;<br />
#P button 320 437 15 0;<br />
#P button 338 437 15 0;<br />
#P button 302 437 15 0;<br />
#P newex 302 404 66 196617 sel 1 2 3;<br />
#P button 391 372 15 0;<br />
#P newex 330 338 55 196617 zl group 3;<br />
#P message 329 268 14 196617 1;<br />
#P message 302 268 20 196617 17;<br />
#P newex 302 305 47 196617 gate 2 1;<br />
#P message 263 207 14 196617 3;<br />
#P message 102 207 14 196617 1;<br />
#P message 163 207 14 196617 2;<br />
#P button 224 149 15 0;<br />
#P newex 330 372 44 196617 zl nth 1;<br />
#P button 163 149 15 0;<br />
#P button 102 149 15 0;<br />
#P comment 90 131 42 196617 button 1;<br />
#P connect 17 2 9 0;<br />
#P fasten 17 0 1 0 229 192 217 192 217 145 107 145;<br />
#P fasten 17 0 2 0 229 192 217 192 217 145 168 145;<br />
#P connect 17 0 15 0;<br />
#P connect 11 0 3 0;<br />
#P connect 11 0 12 0;<br />
#P connect 4 0 17 0;<br />
#P connect 8 1 11 0;<br />
#P fasten 6 0 8 1 107 296 344 296;<br />
#P fasten 5 0 8 1 168 296 344 296;<br />
#P fasten 7 0 8 1 268 296 344 296;<br />
#P connect 8 0 13 0;<br />
#P connect 10 0 8 0;<br />
#P connect 9 0 8 0;<br />
#P connect 17 1 7 0;<br />
#P connect 3 0 13 0;<br />
#P connect 13 0 14 0;<br />
#P connect 13 1 16 0;<br />
#P fasten 12 0 10 0 396 401 413 401 413 260 334 260;<br />
#P connect 13 2 15 0;<br />
#P connect 1 0 6 0;<br />
#P connect 2 0 5 0;<br />
#P window clipboard copycount 20;</p>
<p>I made one using keyup, may come in handy when you&#8217;re using something with on/off and you don&#8217;t need the thresh. Props really go to ej for his beaut.</p>
<p>#P button 161 256 15 0;<br />
#P button 145 256 15 0;<br />
#P button 129 256 15 0;<br />
#P window setfont &#8220;Sans Serif&#8221; 9.;<br />
#P window linecount 1;<br />
#P newex 129 198 27 196617 i;<br />
#P newex 129 224 59 196617 sel 1 2 3;<br />
#P newex 128 162 27 196617 +;<br />
#P newex 174 105 31 196617 t 0 b;<br />
#P newex 128 105 31 196617 t b 2;<br />
#P newex 100 105 21 196617 t 1;<br />
#P newex 174 73 67 196617 select 49 50;<br />
#P newex 174 46 40 196617 keyup;<br />
#P newex 100 46 40 196617 key;<br />
#P newex 100 73 67 196617 select 49 50;<br />
#P comment 236 49 100 196617 keys 1 and 2;<br />
#P connect 7 1 10 0;<br />
#P connect 7 0 8 0;<br />
#P connect 7 0 8 1;<br />
#P connect 4 0 7 0;<br />
#P connect 4 1 7 0;<br />
#P connect 3 0 4 0;<br />
#P connect 2 0 1 0;<br />
#P connect 1 0 5 0;<br />
#P connect 1 1 6 0;<br />
#P connect 10 0 9 0;<br />
#P connect 9 2 13 0;<br />
#P connect 9 1 12 0;<br />
#P connect 9 0 11 0;<br />
#P connect 8 0 10 1;<br />
#P connect 6 0 8 0;<br />
#P connect 6 1 8 1;<br />
#P connect 5 0 8 0;<br />
#P window clipboard copycount 14;</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/how-do-i-acheive-the-following-logic-question-using-buttons/#post-122258</guid>
					<title><![CDATA[Re: How do I acheive the following? (Logic question using buttons)]]></title>
					<link>http://cycling74.com/forums/topic/how-do-i-acheive-the-following-logic-question-using-buttons/#post-122258</link>
					<pubDate>Mon, 11 Feb 2008 15:13:28 +0000</pubDate>
					<dc:creator>Dr. Spankenstein</dc:creator>

					<description>
						<![CDATA[
						<p>I tried a gate method Robin and it didn&#8217;t work out as planned with my setup but thats cool.  The summing of lists works out to be ideal.</p>
<p>Many thanks for your help both of you,</p>
<p>Rhys</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/how-do-i-acheive-the-following-logic-question-using-buttons/#post-122259</guid>
					<title><![CDATA[Re: How do I acheive the following? (Logic question using buttons)]]></title>
					<link>http://cycling74.com/forums/topic/how-do-i-acheive-the-following-logic-question-using-buttons/#post-122259</link>
					<pubDate>Mon, 11 Feb 2008 17:08:13 +0000</pubDate>
					<dc:creator>robin</dc:creator>

					<description>
						<![CDATA[
						<p>Quote: Bas van der Graaff wrote on Mon, 11 February 2008 08:13<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
> robin, what&#8217;s the point in allowing actions to be added before you actually trigger the 1 and 2 buttons? Defeats the purpose imo. Then you could just as easily add this:</p>
<p>
i was concentrating my efforts on excluding the results of the individual buttons when both were pressed at once. so yeah, you could do that, but if both 1 + 2 were pressed at once you&#8217;d still get a result from the all three. but yeah, i know it was shit.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/how-do-i-acheive-the-following-logic-question-using-buttons/#post-122260</guid>
					<title><![CDATA[Re: How do I acheive the following? (Logic question using buttons)]]></title>
					<link>http://cycling74.com/forums/topic/how-do-i-acheive-the-following-logic-question-using-buttons/#post-122260</link>
					<pubDate>Mon, 11 Feb 2008 17:50:25 +0000</pubDate>
					<dc:creator>Dr. Spankenstein</dc:creator>

					<description>
						<![CDATA[
						<p>Haha!  I never said or implied that.  It&#8217;s just what I was using it for, required the thresh method, that&#8217;s all.</p>
<p>At least you could do it, which is more than I could!</p>
<p>Rhys</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/how-do-i-acheive-the-following-logic-question-using-buttons/#post-122261</guid>
					<title><![CDATA[Re: How do I acheive the following? (Logic question using buttons)]]></title>
					<link>http://cycling74.com/forums/topic/how-do-i-acheive-the-following-logic-question-using-buttons/#post-122261</link>
					<pubDate>Wed, 13 Feb 2008 07:13:42 +0000</pubDate>
					<dc:creator>Stefan Tiedje</dc:creator>

					<description>
						<![CDATA[
						<p>Rhys Perkins schrieb:<br />
> Button 1 will bang button A ONLY<br />
> Button 2 will bang button B ONLY<br />
> Button 1 &#038; Button 2 (at the same time) will bang button C ONLY</p>
<p>The trick is to define the meaning of &#8220;at the same time&#8221; as this doesn&#8217;t <br />
exist in the digital world. There is always an order. The suggestion of <br />
Emmanuel is the only way to go an it will introduce some latency, as you <br />
can&#8217;t look into the future&#8230;</p>
<p>&#8211; <br />
Stefan Tiedje&#8212;&#8212;&#8212;&#8212;x&#8212;&#8212;-<br />
&#8211;_____&#8212;&#8212;&#8212;&#8211;|&#8212;&#8212;&#8212;&#8212;&#8211;<br />
&#8211;(_|_ &#8212;-|&#8212;&#8211;|&#8212;&#8211;()&#8212;&#8212;-<br />
&#8211; _|_)&#8212;-|&#8212;&#8211;()&#8212;&#8212;&#8212;&#8212;&#8211;<br />
&#8212;&#8212;&#8212;-()&#8212;&#8212;&#8211;www.ccmix.com</p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

