<?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: [funnel] bug?</title>
		<atom:link href="http://cycling74.com/forums/topic/funnel-bug/feed" rel="self" type="application/rss+xml" />
		<link>http://cycling74.com/forums/topic/funnel-bug/feed</link>
		<description></description>
		<pubDate>Wed, 19 Jun 2013 23:56:21 +0000</pubDate>
		<generator>http://bbpress.org/?v=2.2.4</generator>
		<language></language>

		
														
					
				<item>
					<guid>http://cycling74.com/forums/topic/funnel-bug/#post-24829</guid>
					<title><![CDATA[[funnel] bug?]]></title>
					<link>http://cycling74.com/forums/topic/funnel-bug/#post-24829</link>
					<pubDate>Sat, 11 Mar 2006 00:05:46 +0000</pubDate>
					<dc:creator>David Stanford</dc:creator>

					<description>
						<![CDATA[
						<p>Summary: Under certain circumstances, [funnel] doesn&#8217;t correctly report <br />
the inlet number when the lowest numbered inlet receives a number.</p>
<p>Steps To Reproduce: See patch below &#8211; Click on any [led] other than the <br />
leftmost in the top tier, and notice that the corresponding [led] in <br />
the second tier does not light up. Check out the messages in the Max <br />
window to verify that [funnel] isn&#8217;t correctly mapping its input.</p>
<p>Expected result: When a number is received by inlet 0, the outlet <br />
reports that a number was received by inlet 0.</p>
<p>Actual result: When a number is received by inlet 0, the outlet reports <br />
a message received in another inlet.</p>
<p>Discussion: I see that inserting [deferlow] into the patch is a viable <br />
workaround, and normally I would think that I am simply missing <br />
something about message order, however, I just can&#8217;t figure out where <br />
[funnel] is pulling the wrong info from. Can anybody tell me if this is <br />
a bug or if it&#8217;s a problem with my brain?</p>
<p>Thanks,</p>
<p>David</p>
<p>max v2;<br />
#N vpatcher 44 52 489 384;<br />
#P window setfont &#8220;Sans Serif&#8221; 9.;<br />
#P window linecount 2;<br />
#P comment 84 203 100 196617 unless deferlow saves the day.;<br />
#P window linecount 3;<br />
#P comment 232 133 100 196617 the corresponding led here will not lght <br />
up&#8230;;<br />
#P window linecount 1;<br />
#P newex 33 299 55 196617 print pack;<br />
#P newex 223 111 62 196617 print funnel;<br />
#P newex 122 111 79 196617 spray 6;<br />
#P user led 212 136 17 17 0 150;<br />
#P user led 194 136 17 17 0 150;<br />
#P user led 176 136 17 17 0 150;<br />
#P user led 158 136 17 17 0 150;<br />
#P user led 140 136 17 17 0 150;<br />
#P user led 122 136 17 17 0 150;<br />
#P user gswitch2 4 172 39 32 0 0;<br />
#P newex 33 208 50 196617 deferlow;<br />
#P newex 3 30 79 196617 spray 6;<br />
#P newex 33 270 30 196617 pack;<br />
#P newex 3 131 22 196617 b 1;<br />
#P newex 33 231 27 196617 +;<br />
#P newex 33 251 27 196617 % 6;<br />
#P newex 3 150 40 196617 uzi 5;<br />
#P newex 3 110 99 196617 if $i2 == 1 then $i1;<br />
#P newex 3 82 79 196617 funnel 6;<br />
#P user led 93 55 17 17 0 150;<br />
#P user led 75 55 17 17 0 150;<br />
#P user led 57 55 17 17 0 150;<br />
#P user led 39 55 17 17 0 150;<br />
#P user led 21 55 17 17 0 150;<br />
#P user led 3 55 17 17 0 150;<br />
#P window linecount 3;<br />
#P comment 117 49 100 196617 Click on any of these , other than the <br />
leftmost and&#8230;;<br />
#P fasten 13 0 14 0 38 293 111 293 111 26 8 26;<br />
#P connect 14 0 1 0;<br />
#P connect 1 0 7 0;<br />
#P connect 7 0 8 0;<br />
#P connect 8 0 12 0;<br />
#P connect 12 0 9 0;<br />
#P connect 2 0 7 1;<br />
#P connect 14 1 2 0;<br />
#P connect 3 0 7 2;<br />
#P connect 9 2 16 1;<br />
#P connect 16 1 15 0;<br />
#P fasten 16 0 11 0 9 228 38 228;<br />
#P connect 15 0 11 0;<br />
#P connect 11 0 10 0;<br />
#P connect 10 0 13 0;<br />
#P connect 13 0 25 0;<br />
#P connect 14 2 3 0;<br />
#P connect 4 0 7 3;<br />
#P fasten 8 0 11 1 8 129 55 129;<br />
#P connect 5 0 7 4;<br />
#P connect 14 3 4 0;<br />
#P connect 6 0 7 5;<br />
#P connect 14 4 5 0;<br />
#P connect 14 5 6 0;<br />
#P fasten 7 0 23 0 8 104 127 104;<br />
#P connect 23 0 17 0;<br />
#P connect 23 1 18 0;<br />
#P connect 23 2 19 0;<br />
#P connect 23 3 20 0;<br />
#P connect 23 4 21 0;<br />
#P connect 23 5 22 0;<br />
#P fasten 7 0 24 0 8 104 228 104;<br />
#P pop;</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/funnel-bug/#post-72377</guid>
					<title><![CDATA[Re: [funnel] bug?]]></title>
					<link>http://cycling74.com/forums/topic/funnel-bug/#post-72377</link>
					<pubDate>Sat, 11 Mar 2006 00:18:25 +0000</pubDate>
					<dc:creator>David Stanford</dc:creator>

					<description>
						<![CDATA[
						<p>System info was omitted from my previous post, apologies:</p>
<p>MaxMSP 4.5.7, Jitter1.5.2, OSX.3.9</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/funnel-bug/#post-72378</guid>
					<title><![CDATA[Re: [funnel] bug?]]></title>
					<link>http://cycling74.com/forums/topic/funnel-bug/#post-72378</link>
					<pubDate>Wed, 15 Mar 2006 20:58:08 +0000</pubDate>
					<dc:creator>Stefan Tiedje</dc:creator>

					<description>
						<![CDATA[
						<p>Asking if its a bug or your brain is dangerous, because in this case its <br />
not a bug&#8230;;-)<br />
In general, if deferlow fixes it, the bug is in the patch, not in the <br />
objects. Try trace to figure out whats going on. Beside that I think <br />
there are easier solutions as you might expect&#8230;</p>
<p>Look at the patch below for a completely different approach&#8230;</p>
<p>Stefan</p>
<p>#P user led 240 67 17 17 0 150;<br />
#P user led 222 67 17 17 0 150;<br />
#P user led 204 67 17 17 0 150;<br />
#P user led 186 67 17 17 0 150;<br />
#P user led 168 67 17 17 0 150;<br />
#P user led 150 67 17 17 0 150;<br />
#P window setfont &#8220;Sans Serif&#8221; 9.;<br />
#P window linecount 1;<br />
#N vpatcher 10 59 610 459;<br />
#P outlet 543 150 15 0;<br />
#P outlet 499 150 15 0;<br />
#P outlet 455 150 15 0;<br />
#P outlet 411 150 15 0;<br />
#P outlet 367 150 15 0;<br />
#P outlet 323 150 15 0;<br />
#P window setfont &#8220;Sans Serif&#8221; 9.;<br />
#P window linecount 1;<br />
#P newex 270 84 42 196617 == 5;<br />
#P window linecount 2;<br />
#P newex 270 114 42 196617 prepend set;<br />
#P outlet 270 150 15 0;<br />
#P window linecount 1;<br />
#P newex 226 84 42 196617 == 4;<br />
#P window linecount 2;<br />
#P newex 226 114 42 196617 prepend set;<br />
#P outlet 226 150 15 0;<br />
#P window linecount 1;<br />
#P newex 182 84 42 196617 == 3;<br />
#P window linecount 2;<br />
#P newex 182 114 42 196617 prepend set;<br />
#P outlet 182 150 15 0;<br />
#P window linecount 1;<br />
#P newex 138 84 42 196617 == 2;<br />
#P window linecount 2;<br />
#P newex 138 114 42 196617 prepend set;<br />
#P outlet 138 150 15 0;<br />
#P window linecount 1;<br />
#P newex 94 84 42 196617 == 1;<br />
#P window linecount 2;<br />
#P newex 94 114 42 196617 prepend set;<br />
#P outlet 94 150 15 0;<br />
#P window linecount 0;<br />
#P newex 50 49 50 196617 zl slice 1;<br />
#P window linecount 1;<br />
#P newex 50 84 42 196617 == 0;<br />
#P window linecount 2;<br />
#P newex 50 114 42 196617 prepend set;<br />
#P inlet 50 30 15 0;<br />
#P outlet 50 150 15 0;<br />
#P connect 1 0 4 0;<br />
#P connect 4 0 3 0;<br />
#P connect 3 0 2 0;<br />
#P connect 2 0 0 0;<br />
#P connect 4 0 7 0;<br />
#P connect 7 0 6 0;<br />
#P connect 6 0 5 0;<br />
#P connect 4 0 10 0;<br />
#P connect 10 0 9 0;<br />
#P connect 9 0 8 0;<br />
#P connect 4 0 13 0;<br />
#P connect 13 0 12 0;<br />
#P connect 12 0 11 0;<br />
#P connect 4 0 16 0;<br />
#P connect 16 0 15 0;<br />
#P connect 15 0 14 0;<br />
#P connect 4 0 19 0;<br />
#P connect 19 0 18 0;<br />
#P connect 18 0 17 0;<br />
#P connect 3 0 20 0;<br />
#P connect 7 0 21 0;<br />
#P connect 10 0 22 0;<br />
#P connect 13 0 23 0;<br />
#P connect 16 0 24 0;<br />
#P connect 19 0 25 0;<br />
#P pop;<br />
#P newobj 32 42 208 196617 p secret easyness;<br />
#P newex 32 92 100 196617 funnel 6;<br />
#P user led 122 67 17 17 0 150;<br />
#P user led 104 67 17 17 0 150;<br />
#P user led 86 67 17 17 0 150;<br />
#P user led 68 67 17 17 0 150;<br />
#P user led 50 67 17 17 0 150;<br />
#P user led 32 67 17 17 0 150;<br />
#P connect 7 11 13 0;<br />
#P connect 7 10 12 0;<br />
#P connect 7 9 11 0;<br />
#P connect 7 8 10 0;<br />
#P connect 7 7 9 0;<br />
#P connect 7 6 8 0;<br />
#P fasten 6 0 7 0 37 114 25 114 25 34 37 34;<br />
#P connect 7 5 5 0;<br />
#P connect 7 4 4 0;<br />
#P connect 7 3 3 0;<br />
#P connect 7 2 2 0;<br />
#P connect 7 1 1 0;<br />
#P connect 7 0 0 0;<br />
#P connect 0 0 6 0;<br />
#P connect 1 0 6 1;<br />
#P connect 2 0 6 2;<br />
#P connect 3 0 6 3;<br />
#P connect 4 0 6 4;<br />
#P connect 5 0 6 5;<br />
#P window clipboard copycount 14;</p>
<p>
&#8211; </p>
<p>  [][]  [][][]  [][]  [][][]<br />
[][][][][][][][][][][][][][][]</p>
<p>         Stefan Tiedje<br />
         Klanggestalter<br />
     Electronic Composition<br />
               &#038;<br />
         Improvisation</p>
<p>            /~~~~~<br />
     \   /|() ()|<br />
     ))))) )|  |  |( \<br />
     ///     _/)/ )))))<br />
             ___/   ///</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-x&#8212;-<br />
&#8211;_____&#8212;&#8212;&#8212;&#8211;|&#8212;&#8212;&#8212;&#8211;<br />
&#8211;(_|_ &#8212;-|&#8212;&#8211;|&#8212;&#8211;()&#8212;-<br />
&#8211; _|_)&#8212;-|&#8212;&#8211;()&#8212;&#8212;&#8212;&#8211;<br />
&#8212;&#8212;&#8212;-()&#8212;&#8212;&#8212;&#8212;x&#8212;&#8211;</p>
<p>14, Av. Pr. Franklin Roosevelt,<br />
94320 Thiais, France<br />
Phone at CCMIX +33-1-57 42 91 09</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/funnel-bug/#post-72379</guid>
					<title><![CDATA[Re: [funnel] bug?]]></title>
					<link>http://cycling74.com/forums/topic/funnel-bug/#post-72379</link>
					<pubDate>Wed, 15 Mar 2006 21:26:33 +0000</pubDate>
					<dc:creator>David Stanford</dc:creator>

					<description>
						<![CDATA[
						<p>Stefan &#8211; Thanks so much for your reply.</p>
<p>Yeah &#8211; trace is where I&#8217;m having issues figuring out what&#8217;s wrong. When <br />
I run a trace everything happens as I expect it, until [funnel] <br />
receives a &#8220;0&#8243; message passed through [led] from the leftmost outlet of <br />
[spray]. What happens then is that [funnel] seems to mis-report which <br />
inlet has just received a message &#8211; it substitutes the last inlet that <br />
received a &#8220;1&#8243; message. Did you run this patch through a trace? If you <br />
did, could you tell me *exactly* where the problem is? If you didn&#8217;t, I <br />
would greatly appreciate it if you could. I just can&#8217;t wrap my head <br />
around how jumbled message order would cause an object to report a <br />
message that it has never, ever received.<br />
I realize that there are many, many easier, and much more efficient <br />
ways to do this: jasch&#8217;s [mtx], [matrixctrl], and many others . I came <br />
this convoluted (but, I think legal) solution as one of 6 that I <br />
thought of as an exercise in trying to find as many ways as I could <br />
think of to accomplish a single task. My interest is not in <br />
accomplishing the task that this patch seems to be attempting to <br />
accomplish, but rather to figure out what my brain isn&#8217;t seeing about <br />
the message order with the patch itself. I would appreciate your help <br />
in that department greatly.</p>
<p>-David</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/funnel-bug/#post-72380</guid>
					<title><![CDATA[Re: [funnel] bug?]]></title>
					<link>http://cycling74.com/forums/topic/funnel-bug/#post-72380</link>
					<pubDate>Thu, 16 Mar 2006 19:29:49 +0000</pubDate>
					<dc:creator>Stefan Tiedje</dc:creator>

					<description>
						<![CDATA[
						<p>Well, I didn&#8217;t, but looking at the patch with the fact that a deferlow<br />
creates the expected result, I just assume its because the order of<br />
execution is changed. You might have overwritten something in the mean time.<br />
You don&#8217;t even need trace to find out, your patch prints all the<br />
information in the Max window. You don&#8217;t see the corresponding LED<br />
because after you switch it on, you switch it off again. Too short to<br />
see it. Deferlow just moves the on switch to the end of the execution queue.</p>
<p>Stefan</p>
<p>
&#8211; </p>
<p>  [][]  [][][]  [][]  [][][]<br />
[][][][][][][][][][][][][][][]</p>
<p>         Stefan Tiedje<br />
         Klanggestalter<br />
     Electronic Composition<br />
               &#038;<br />
         Improvisation</p>
<p>            /~~~~~<br />
     \   /|() ()|<br />
     ))))) )|  |  |( \<br />
     ///     _/)/ )))))<br />
             ___/   ///</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-x&#8212;-<br />
&#8211;_____&#8212;&#8212;&#8212;&#8211;|&#8212;&#8212;&#8212;&#8211;<br />
&#8211;(_|_ &#8212;-|&#8212;&#8211;|&#8212;&#8211;()&#8212;-<br />
&#8211; _|_)&#8212;-|&#8212;&#8211;()&#8212;&#8212;&#8212;&#8211;<br />
&#8212;&#8212;&#8212;-()&#8212;&#8212;&#8212;&#8212;x&#8212;&#8211;</p>
<p>14, Av. Pr. Franklin Roosevelt,<br />
94320 Thiais, France<br />
Phone at CCMIX +33-1-57 42 91 09</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/funnel-bug/#post-72381</guid>
					<title><![CDATA[Re: [funnel] bug?]]></title>
					<link>http://cycling74.com/forums/topic/funnel-bug/#post-72381</link>
					<pubDate>Thu, 16 Mar 2006 21:31:36 +0000</pubDate>
					<dc:creator>David Stanford</dc:creator>

					<description>
						<![CDATA[
						<p>Yes, I&#8217;m aware that it&#8217;s switched on and then off again ;)</p>
<p>Here&#8217;s the issue: If you look carefully at the messages that print, <br />
you&#8217;ll see that at some point [pack] passes &#8220;0 0&#8243; to [spray] which <br />
passes a &#8220;0&#8243; through an [led] to inlet 0 of [funnel]. The very next <br />
message that is passed is &#8220;n 0&#8243; from funnel, where n = whichever <br />
[funnel] inlet<br />
most recently received a value of one. So if you turn on the [led] <br />
connected to inlet 4 of [funnel] you&#8217;ll see:</p>
<p>funnel: 4 1<br />
pack: 5 0<br />
funnel: 5 0<br />
pack: 0 0<br />
funnel: 4 0<br />
pack: 1 0<br />
funnel: 1 0<br />
pack: 2 0<br />
funnel: 2 0<br />
pack: 3 0<br />
funnel: 3 0</p>
<p>Hey! Where&#8217;d that &#8220;4 0&#8243; message come from? The last perceivable message <br />
that was sent to [funnel] was &#8220;0&#8243; to inlet 0, which should&#8217;ve resulted <br />
in &#8220;0 0&#8243; being reported, but didn&#8217;t!</p>
<p>with [deferlow], this becomes:</p>
<p>funnel: 4 1<br />
pack: 5 0<br />
funnel: 5 0<br />
pack: 0 0<br />
funnel: 0 0<br />
pack: 1 0<br />
funnel: 1 0<br />
pack: 2 0<br />
funnel: 2 0<br />
pack: 3 0<br />
funnel: 3 0</p>
<p>So happy, but still puzzled why this fixes it&#8230;</p>
<p>So &#8211; it&#8217;s not just a matter of the &#8220;switch on&#8221; message being moved to <br />
the end. The &#8220;0 0&#8243; message that is passed to inlet 0 of [funnel] is <br />
changed in substance, not order. Note that the &#8220;4 0&#8243; message doesn&#8217;t <br />
appear *anywhere* in the [deferlow] version. So &#8211; order of execution <br />
certainly is changing, but it&#8217;s not changing in a place that you can <br />
see in the workings of the patch, not by trace or any other method I <br />
know of (seriously &#8211; try it! :)). The only way I can tell is by seeing <br />
the end result, which is what prompted the question in the first place.</p>
<p>At any rate, I have an e-mail into c74 support about it.</p>
<p>Thanks again,</p>
<p>David</p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

