<?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: list filter</title>
		<atom:link href="http://cycling74.com/forums/topic/list-filter/feed" rel="self" type="application/rss+xml" />
		<link>http://cycling74.com/forums/topic/list-filter/feed</link>
		<description></description>
		<pubDate>Tue, 18 Jun 2013 23:56:36 +0000</pubDate>
		<generator>http://bbpress.org/?v=2.2.4</generator>
		<language></language>

		
														
					
				<item>
					<guid>http://cycling74.com/forums/topic/list-filter/#post-25413</guid>
					<title><![CDATA[list filter]]></title>
					<link>http://cycling74.com/forums/topic/list-filter/#post-25413</link>
					<pubDate>Thu, 13 Apr 2006 23:20:25 +0000</pubDate>
					<dc:creator>geoffkrug@yahoo.com</dc:creator>

					<description>
						<![CDATA[
						<p>i am using matrices to route data. i just need an object that acts like &#8220;sel&#8221; but for lists instead of just ints and floats etc. i have tried the match object but to no avail. any ideas? anyone?</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/list-filter/#post-74764</guid>
					<title><![CDATA[Re: list filter]]></title>
					<link>http://cycling74.com/forums/topic/list-filter/#post-74764</link>
					<pubDate>Thu, 13 Apr 2006 23:32:39 +0000</pubDate>
					<dc:creator>Osborne Frit</dc:creator>

					<description>
						<![CDATA[
						<p>match didn&#8217;t work? in what context?</p>
<p>&#8211;<br />
robin</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/list-filter/#post-74765</guid>
					<title><![CDATA[Re: list filter]]></title>
					<link>http://cycling74.com/forums/topic/list-filter/#post-74765</link>
					<pubDate>Thu, 13 Apr 2006 23:44:19 +0000</pubDate>
					<dc:creator>geoffkrug@yahoo.com</dc:creator>

					<description>
						<![CDATA[
						<p>i connect match to the left outlet of matrix and set match to bang on &#8220;0 0 0&#8243; but it also bangs on 0 1 0. it seems as if it isnt filtering properly.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/list-filter/#post-74766</guid>
					<title><![CDATA[Re: list filter]]></title>
					<link>http://cycling74.com/forums/topic/list-filter/#post-74766</link>
					<pubDate>Thu, 13 Apr 2006 23:56:56 +0000</pubDate>
					<dc:creator>geoffkrug@yahoo.com</dc:creator>

					<description>
						<![CDATA[
						<p>max v2;<br />
#N vpatcher 10 59 1056 480;<br />
#P button 581 245 15 0;<br />
#P window setfont &#8220;Sans Serif&#8221; 9.;<br />
#P window linecount 1;<br />
#P newex 581 180 64 196617 match 0 1 0;<br />
#P button 503 245 15 0;<br />
#P newex 503 180 64 196617 match 0 0 0;<br />
#P user matrixctrl 503 99 130 66 MatrixDefaultCell.pct MatrixDefaultBkgnd.pct 130 66 16 16 8 4 16 16 1 1 48 2 5120 0;<br />
#P window linecount 3;<br />
#P comment 670 94 100 196617 if i click on cell 0 , 0 it will bang both match objects.;<br />
#P comment 670 241 100 196617 perhaps it doesnt match the numbers in order?;<br />
#P connect 2 0 3 0;<br />
#P connect 3 0 4 0;<br />
#P connect 2 0 5 0;<br />
#P connect 5 0 6 0;<br />
#P pop;</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/list-filter/#post-74767</guid>
					<title><![CDATA[Re: list filter]]></title>
					<link>http://cycling74.com/forums/topic/list-filter/#post-74767</link>
					<pubDate>Thu, 13 Apr 2006 23:59:32 +0000</pubDate>
					<dc:creator>Osborne Frit</dc:creator>

					<description>
						<![CDATA[
						<p>hmm. souns like im gonna have to leave this someone more experienced than<br />
me. sorry</p>
<p>&#8211;<br />
robin</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/list-filter/#post-74768</guid>
					<title><![CDATA[Re: list filter]]></title>
					<link>http://cycling74.com/forums/topic/list-filter/#post-74768</link>
					<pubDate>Fri, 14 Apr 2006 00:14:00 +0000</pubDate>
					<dc:creator>Osborne Frit</dc:creator>

					<description>
						<![CDATA[
						<p>i get that error (assuming it is an error) too. i cant think of any reason<br />
it should do this.<br />
but like i said, im no expert</p>
<p>good luck with that</p>
<p>&#8211;<br />
robin</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/list-filter/#post-74769</guid>
					<title><![CDATA[Re: list filter]]></title>
					<link>http://cycling74.com/forums/topic/list-filter/#post-74769</link>
					<pubDate>Fri, 14 Apr 2006 00:15:31 +0000</pubDate>
					<dc:creator>Osborne Frit</dc:creator>

					<description>
						<![CDATA[
						<p>a quick fix would be [unpack 0 0 0] into three selects, but its disgustingly<br />
brute force</p>
<p>&#8211;<br />
robin</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/list-filter/#post-74770</guid>
					<title><![CDATA[Re: list filter]]></title>
					<link>http://cycling74.com/forums/topic/list-filter/#post-74770</link>
					<pubDate>Fri, 14 Apr 2006 00:20:08 +0000</pubDate>
					<dc:creator>geoffkrug@yahoo.com</dc:creator>

					<description>
						<![CDATA[
						<p>i dont follow. what do i set sel to?</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/list-filter/#post-74771</guid>
					<title><![CDATA[Re: list filter]]></title>
					<link>http://cycling74.com/forums/topic/list-filter/#post-74771</link>
					<pubDate>Fri, 14 Apr 2006 00:37:44 +0000</pubDate>
					<dc:creator>Osborne Frit</dc:creator>

					<description>
						<![CDATA[
						<p>ignore that, you don&#8217;t need select</p>
<p>you want 0 0 0 to be reported? try:</p>
<p>max v2;<br />
#N vpatcher 10 59 351 454;<br />
#P user matrixctrl 98 49 130 66 MatrixDefaultCell.pct<br />
MatrixDefaultBkgnd.pct130 66 16 16 8 4 16 16 1 1 48 2 5120 0;<br />
#P toggle 167 225 15 0;<br />
#P toggle 120 226 15 0;<br />
#P toggle 73 226 15 0;<br />
#P window setfont &#8220;Sans Serif&#8221; 9.;<br />
#P window linecount 1;<br />
#P newex 98 139 55 196617 unpack i i i;<br />
#P toggle 88 304 15 0;<br />
#P newex 88 278 27 196617 &#038;&#038;;<br />
#P newex 88 249 27 196617 &#038;&#038;;<br />
#P newex 167 192 31 196617 == 0;<br />
#P newex 120 192 31 196617 == 0;<br />
#P newex 73 192 31 196617 == 0;<br />
#P connect 6 0 0 0;<br />
#P connect 0 0 7 0;<br />
#P connect 7 0 3 0;<br />
#P connect 3 0 4 0;<br />
#P connect 4 0 5 0;<br />
#P connect 10 0 6 0;<br />
#P connect 8 0 3 1;<br />
#P connect 9 0 4 1;<br />
#P connect 6 1 1 0;<br />
#P connect 1 0 8 0;<br />
#P connect 6 2 2 0;<br />
#P connect 2 0 9 0;<br />
#P pop;</p>
<p>&#8211;<br />
robin</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/list-filter/#post-74772</guid>
					<title><![CDATA[Re: list filter]]></title>
					<link>http://cycling74.com/forums/topic/list-filter/#post-74772</link>
					<pubDate>Fri, 14 Apr 2006 10:11:21 +0000</pubDate>
					<dc:creator>Stefan Tiedje</dc:creator>

					<description>
						<![CDATA[
						<p>Rob wrote:<br />
> i am using matrices to route data. i just need an object that acts<br />
> like &#8220;sel&#8221; but for lists instead of just ints and floats etc. i have<br />
> tried the match object but to no avail. any ideas? anyone? </p>
<p>Does this work for you?</p>
<p>#P window setfont &#8220;Sans Serif&#8221; 9.;<br />
#P window linecount 1;<br />
#P message 188 72 52 196617 1 2 3;<br />
#P button 139 183 15 0;<br />
#P newex 202 183 41 196617 print;<br />
#P button 76 185 15 0;<br />
#P message 132 71 52 196617 45 67 90;<br />
#P newex 76 157 137 196617 sel &#8220;45 67 89&#8243; &#8220;1 2 3&#8243;;<br />
#P message 76 71 52 196617 45 67 89;<br />
#P newex 76 109 51 196617 tosymbol;<br />
#P fasten 7 0 0 0 193 95 81 95;<br />
#P connect 2 1 6 0;<br />
#P connect 2 2 5 0;<br />
#P connect 2 0 4 0;<br />
#P connect 0 0 2 0;<br />
#P fasten 3 0 0 0 137 96 81 96;<br />
#P connect 1 0 0 0;<br />
#P window clipboard copycount 8;</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/list-filter/#post-74773</guid>
					<title><![CDATA[Re: list filter]]></title>
					<link>http://cycling74.com/forums/topic/list-filter/#post-74773</link>
					<pubDate>Fri, 14 Apr 2006 11:30:54 +0000</pubDate>
					<dc:creator>Stefan Tiedje</dc:creator>

					<description>
						<![CDATA[
						<p>Rob wrote:<br />
> i connect match to the left outlet of matrix and set match to bang on<br />
> &#8220;0 0 0&#8243; but it also bangs on 0 1 0. it seems as if it isnt filtering<br />
> properly.</p>
<p>I can confirm, I think its a bug.<br />
I just looked at the solution I used in my St.==. And there I convert it <br />
to a string before I compare. As shown before this technique would also <br />
work with select and route&#8230;</p>
<p>Stefan</p>
<p>St.== for further studies&#8230; (this is newer than the version on <br />
c74/share and accepts also lists as arguments.)</p>
<p>#P window setfont &#8220;Sans Serif&#8221; 9.;<br />
#P window linecount 1;<br />
#P newex 142 26 62 196617 patcherargs;<br />
#P newex 15 69 57 196617 zl reg;<br />
#N comlet bang if different;<br />
#P outlet 111 234 15 0;<br />
#N comlet bang if equal;<br />
#P outlet 94 234 15 0;<br />
#P newex 94 212 44 196617 sel 1 0;<br />
#P newex 77 188 36 196617 int;<br />
#P newex 15 45 73 196617 route bang set;<br />
#P newex 77 97 47 196617 tosymbol;<br />
#P newex 125 97 47 196617 tosymbol;<br />
#N comlet 1 if equal , 0 if different;<br />
#P outlet 77 234 15 0;<br />
#P newex 90 164 34 196617 t 1;<br />
#P newex 77 118 36 196617 t b l 0;<br />
#P inlet 15 26 15 0;<br />
#P inlet 125 26 15 0;<br />
#P newex 125 118 60 196617 prepend set;<br />
#P newex 90 143 34 196617 match;<br />
#P connect 7 0 1 0;<br />
#P connect 2 0 7 0;<br />
#P fasten 15 0 7 0 147 48 130 48;<br />
#P connect 9 1 14 1;<br />
#P fasten 9 1 7 0 51 65 130 65;<br />
#P connect 11 1 13 0;<br />
#P connect 4 2 10 1;<br />
#P connect 5 0 10 1;<br />
#P connect 11 0 12 0;<br />
#P connect 10 0 6 0;<br />
#P fasten 10 0 11 0 82 208 99 208;<br />
#P connect 0 0 5 0;<br />
#P connect 4 1 0 0;<br />
#P fasten 1 0 0 0 130 139 95 139;<br />
#P connect 4 0 10 0;<br />
#P connect 8 0 4 0;<br />
#P fasten 14 0 8 0 20 90 82 90;<br />
#P connect 9 2 8 0;<br />
#P connect 9 2 14 1;<br />
#P connect 9 0 14 0;<br />
#P connect 3 0 9 0;<br />
#P window clipboard copycount 16;</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/list-filter/#post-74774</guid>
					<title><![CDATA[Re: list filter]]></title>
					<link>http://cycling74.com/forums/topic/list-filter/#post-74774</link>
					<pubDate>Fri, 14 Apr 2006 16:55:43 +0000</pubDate>
					<dc:creator>Osborne Frit</dc:creator>

					<description>
						<![CDATA[
						<p>i take it one of those worked for you then?</p>
<p>&#8211;<br />
robin</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/list-filter/#post-74775</guid>
					<title><![CDATA[Re: list filter]]></title>
					<link>http://cycling74.com/forums/topic/list-filter/#post-74775</link>
					<pubDate>Fri, 14 Apr 2006 17:19:12 +0000</pubDate>
					<dc:creator>geoffkrug@yahoo.com</dc:creator>

					<description>
						<![CDATA[
						<p>stefan, thanks! i am just going to use tosymbol and sel. i cant figure out what that other patch you gave me does. but the using sel with tosymbol works fine.</p>
<p>thanks again.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/list-filter/#post-74776</guid>
					<title><![CDATA[Re: list filter]]></title>
					<link>http://cycling74.com/forums/topic/list-filter/#post-74776</link>
					<pubDate>Fri, 14 Apr 2006 19:39:37 +0000</pubDate>
					<dc:creator>Roman Thilenius</dc:creator>

					<description>
						<![CDATA[
						<p>yes of course; [match] does not know where your <br />
list (= the matrix output) begins.<br />
match _accepts list input, but i can not _tell a <br />
list from many numbers.</p>
<p>connect a [print] to the matrix and you will see.<br />
when you click the first knob twice you send:<br />
&#8220;0 0 1, 0 0 0&#8243;, and 0 0 1 0 0 0 contains 0 1 0 &#8230;</p>
<p>i think you want to [unpack 0 0 0] the lists to <br />
get matrix knob status.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/list-filter/#post-74777</guid>
					<title><![CDATA[Re: list filter]]></title>
					<link>http://cycling74.com/forums/topic/list-filter/#post-74777</link>
					<pubDate>Fri, 14 Apr 2006 19:55:56 +0000</pubDate>
					<dc:creator>Roman Thilenius</dc:creator>

					<description>
						<![CDATA[
						<p>
> i think you want to [unpack 0 0 0] the lists to <br />
> get matrix knob status.</p>
<p>
actually, what i meant was this.</p>
<p>use [route] to route. [route] routes lists just <br />
fine. (it just cuts off the first element, which <br />
we dont need anyway here.)</p>
<p>then you can use [unpack 0 0] make the on/off item<br />
in the list a bang:</p>
<p>max v2;<br />
#N vpatcher 80 532 752 897;<br />
#P button 381 234 15 0;<br />
#P newex 381 205 79 196617 select 1;<br />
#P newex 312 177 79 196617 unpack 0 0;<br />
#P newex 87 130 198 196617 route 0 1 2 3 4 5;<br />
#P button 239 233 15 0;<br />
#P newex 239 204 79 196617 select 1;<br />
#P newex 170 176 79 196617 unpack 0 0;<br />
#P button 89 234 15 0;<br />
#P newex 89 205 79 196617 select 1;<br />
#P newex 20 177 79 196617 unpack 0 0;<br />
#P user matrixctrl 112 40 130 66 MatrixDefaultCell.pct MatrixDefaultBkgnd.pct 130 66 16 16 8 4 16 16 1 1 48 2 0 0;<br />
#P connect 7 0 1 0;<br />
#P connect 0 0 7 0;<br />
#P connect 1 1 2 0;<br />
#P connect 2 0 3 0;<br />
#P connect 7 1 4 0;<br />
#P connect 4 1 5 0;<br />
#P connect 5 0 6 0;<br />
#P connect 7 2 8 0;<br />
#P connect 8 1 9 0;<br />
#P connect 9 0 10 0;<br />
#P pop;</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/list-filter/#post-74778</guid>
					<title><![CDATA[Re: list filter]]></title>
					<link>http://cycling74.com/forums/topic/list-filter/#post-74778</link>
					<pubDate>Fri, 14 Apr 2006 20:14:29 +0000</pubDate>
					<dc:creator>Osborne Frit</dc:creator>

					<description>
						<![CDATA[
						<p>rob</p>
<p>glad to know you appreciated the effort i went to for you.</p>
<p>not one word of acknowledgment for the patch that i took time to prepare as a solution to your problem. <br />
hardly inspires faith in helping others on the list</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/list-filter/#post-74779</guid>
					<title><![CDATA[Re: list filter]]></title>
					<link>http://cycling74.com/forums/topic/list-filter/#post-74779</link>
					<pubDate>Fri, 14 Apr 2006 21:52:19 +0000</pubDate>
					<dc:creator>geoffkrug@yahoo.com</dc:creator>

					<description>
						<![CDATA[
						<p>sorry, i really do appreciate every one who helps by posting solutions. even though i didnt end up using your solution it is great to know that there are those out in cyber space who care about helping novice programmers. </p>
<p>so to you all&#8230;</p>
<p>much thanks and best regards </p>
<p>
rob</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/list-filter/#post-74780</guid>
					<title><![CDATA[Re: list filter]]></title>
					<link>http://cycling74.com/forums/topic/list-filter/#post-74780</link>
					<pubDate>Sat, 15 Apr 2006 07:57:09 +0000</pubDate>
					<dc:creator>jasch</dc:creator>

					<description>
						<![CDATA[
						<p>ok,<br />
let me advertise my checklist external that does what your looking  <br />
for: it compares lists (mixed types).</p>
<p>stephan: your approach to convert any list into a symbol before using  <br />
match is dangerous performancewise. imagine having a stream of  <br />
numbers coming from a sensor at relatively high speed (~ 10 ms):  <br />
you&#8217;ll have a symbol generation and symboltable lookup for *every*  <br />
item you&#8217;re trying to match, do this in an installation that runs for  <br />
months without reboot and your dead.</p>
<p>in the attached patch i&#8217;m doing the comparison of the matrix  <br />
selection using route like roman proposed, then i&#8217;m showing the usage  <br />
of the checklist external and i also added a commented abstraction  <br />
that will compare two lists item by item iterating through them in  <br />
parallel with an uzi.</p>
<p>the last thing i would like to comment on is that these kinds of  <br />
things are much easier to do in javascript/java where looping and  <br />
comparison functionalities are more comfortable to use.</p>
<p>hth</p>
<p>/*j</p>
<p>> i am using matrices to route data. i just need an object that acts  <br />
> like &#8220;sel&#8221; but for lists instead of just ints and floats etc. i  <br />
> have tried the match object but to no avail. any ideas? anyone?</p>
<p>
max v2;<br />
#N vpatcher 10 59 939 616;<br />
#P window setfont &#8220;Sans Serif&#8221; 9.;<br />
#P window linecount 1;<br />
#P comment 364 240 103 196617 external available at;<br />
#P comment 757 43 85 196617 jasch 20060415;<br />
#N vpatcher 10 59 588 599;<br />
#P origin 0 -1;<br />
#P window setfont &#8220;Sans Serif&#8221; 9.;<br />
#P newex 462 49 51 196617 zl slice 1;<br />
#P newex 462 30 64 196617 patcherargs;<br />
#P outlet 50 464 15 0;<br />
#P comment 106 349 120 196617 pass only failed matches;<br />
#P window linecount 2;<br />
#P comment 109 427 94 196617 if any match fails: entire match fails;<br />
#P window linecount 1;<br />
#P comment 268 400 88 196617 defaultresult is 1;<br />
#P newex 233 397 27 196617 1;<br />
#P newex 72 374 27 196617 0;<br />
#P newex 72 348 32 196617 sel 0;<br />
#P newex 72 325 27 196617 i;<br />
#P newex 72 267 22 196617 b 1;<br />
#P newex 100 289 21 196617 t 1;<br />
#P comment 245 303 74 196617 yes match = 1;<br />
#P comment 245 291 110 196617 no match = 0 (default);<br />
#P comment 245 266 89 196617 compare anything;<br />
#P comment 245 211 152 196617 extract nth element of each list;<br />
#P comment 245 190 57 196617 store lists;<br />
#P comment 245 156 64 196617 loop n times;<br />
#P comment 245 124 221 196617 use the shorter list for number of  <br />
comparisons;<br />
#P newex 163 236 62 196617 prepend set;<br />
#P newex 50 51 77 196617 t b b l b;<br />
#P newex 106 124 50 196617 minimum;<br />
#P newex 146 96 34 196617 zl len;<br />
#P newex 163 212 45 196617 zl nth;<br />
#P newex 72 190 32 196617 zl reg;<br />
#P newex 72 212 44 196617 zl nth;<br />
#P newex 106 96 34 196617 zl len;<br />
#P newex 72 156 44 196617 uzi;<br />
#P newex 50 423 32 196617 i;<br />
#P newex 163 289 21 196617 t 0;<br />
#P newex 100 267 37 196617 match;<br />
#P newex 163 190 36 196617 zl reg;<br />
#P comment 245 97 107 196617 get length of each list;<br />
#P inlet 189 21 15 0;<br />
#P inlet 50 21 15 0;<br />
#P connect 0 0 14 0;<br />
#P connect 14 0 6 0;<br />
#P connect 6 0 32 0;<br />
#P connect 14 1 7 0;<br />
#P connect 7 0 10 0;<br />
#P connect 10 0 9 0;<br />
#P connect 9 0 24 0;<br />
#P connect 24 0 25 0;<br />
#P connect 25 0 26 0;<br />
#P connect 26 0 27 0;<br />
#P connect 27 0 6 1;<br />
#P fasten 28 0 6 1 238 418 77 418;<br />
#P connect 5 0 25 1;<br />
#P connect 23 0 25 1;<br />
#P connect 14 2 10 1;<br />
#P connect 15 0 4 0;<br />
#P connect 9 0 4 0;<br />
#P connect 4 0 23 0;<br />
#P connect 14 2 8 0;<br />
#P connect 8 0 13 0;<br />
#P connect 13 0 7 1;<br />
#P connect 7 2 9 1;<br />
#P fasten 34 1 12 0 508 84 151 84;<br />
#P lcolor 1;<br />
#P connect 1 0 12 0;<br />
#P connect 12 0 13 1;<br />
#P fasten 7 0 3 0 77 181 168 181;<br />
#P connect 3 0 11 0;<br />
#P connect 11 0 15 0;<br />
#P connect 15 0 5 0;<br />
#P connect 1 0 3 1;<br />
#P fasten 34 1 3 1 508 186 194 186;<br />
#P lcolor 1;<br />
#P fasten 7 2 11 1 111 177 203 177;<br />
#P fasten 14 3 28 0 121 79 238 79;<br />
#P connect 33 0 34 0;<br />
#P pop 1;<br />
#P newobj 680 171 104 196617 p list_compare 1 1 1;<br />
#P hidden message 721 394 87 196617 patcherargs bang;<br />
#P hidden newex 721 414 64 196617 universal 1;<br />
#N vpatcher 10 59 588 599;<br />
#P origin 0 -1;<br />
#P window setfont &#8220;Sans Serif&#8221; 9.;<br />
#P newex 462 49 51 196617 zl slice 1;<br />
#P newex 462 30 64 196617 patcherargs;<br />
#P outlet 50 505 15 0;<br />
#P comment 106 349 120 196617 pass only failed matches;<br />
#P window linecount 2;<br />
#P comment 109 427 94 196617 if any match fails: entire match fails;<br />
#P window linecount 1;<br />
#P comment 268 400 88 196617 defaultresult is 1;<br />
#P newex 233 397 27 196617 1;<br />
#P newex 72 374 27 196617 0;<br />
#P newex 72 348 32 196617 sel 0;<br />
#P newex 72 325 27 196617 i;<br />
#P newex 72 267 22 196617 b 1;<br />
#P newex 100 289 21 196617 t 1;<br />
#P comment 245 303 74 196617 yes match = 1;<br />
#P comment 245 291 110 196617 no match = 0 (default);<br />
#P comment 245 266 89 196617 compare anything;<br />
#P comment 245 211 152 196617 extract nth element of each list;<br />
#P comment 245 190 57 196617 store lists;<br />
#P comment 245 156 64 196617 loop n times;<br />
#P comment 245 124 221 196617 use the shorter list for number of  <br />
comparisons;<br />
#P newex 163 236 62 196617 prepend set;<br />
#P newex 50 51 77 196617 t b b l b;<br />
#P newex 106 124 50 196617 minimum;<br />
#P newex 146 96 34 196617 zl len;<br />
#P newex 163 212 45 196617 zl nth;<br />
#P newex 72 190 32 196617 zl reg;<br />
#P newex 72 212 44 196617 zl nth;<br />
#P newex 106 96 34 196617 zl len;<br />
#P newex 72 156 44 196617 uzi;<br />
#P newex 50 423 32 196617 i;<br />
#P newex 163 289 21 196617 t 0;<br />
#P newex 100 267 37 196617 match;<br />
#P newex 163 190 36 196617 zl reg;<br />
#P comment 245 97 107 196617 get length of each list;<br />
#P inlet 189 21 15 0;<br />
#P inlet 50 21 15 0;<br />
#P connect 0 0 14 0;<br />
#P connect 14 0 6 0;<br />
#P connect 6 0 32 0;<br />
#P connect 14 1 7 0;<br />
#P connect 7 0 10 0;<br />
#P connect 10 0 9 0;<br />
#P connect 9 0 24 0;<br />
#P connect 24 0 25 0;<br />
#P connect 25 0 26 0;<br />
#P connect 26 0 27 0;<br />
#P fasten 28 0 6 1 238 418 77 418;<br />
#P connect 27 0 6 1;<br />
#P connect 23 0 25 1;<br />
#P connect 5 0 25 1;<br />
#P connect 14 2 10 1;<br />
#P connect 15 0 4 0;<br />
#P connect 9 0 4 0;<br />
#P connect 4 0 23 0;<br />
#P connect 14 2 8 0;<br />
#P connect 8 0 13 0;<br />
#P connect 13 0 7 1;<br />
#P connect 7 2 9 1;<br />
#P fasten 34 1 12 0 508 84 151 84;<br />
#P lcolor 1;<br />
#P connect 1 0 12 0;<br />
#P connect 12 0 13 1;<br />
#P fasten 7 0 3 0 77 181 168 181;<br />
#P connect 3 0 11 0;<br />
#P connect 11 0 15 0;<br />
#P connect 15 0 5 0;<br />
#P fasten 34 1 3 1 508 186 194 186;<br />
#P lcolor 1;<br />
#P connect 1 0 3 1;<br />
#P fasten 7 2 11 1 111 177 203 177;<br />
#P fasten 14 3 28 0 121 79 238 79;<br />
#P connect 33 0 34 0;<br />
#P pop;<br />
#P newobj 575 171 104 196617 p list_compare 1 0 1;<br />
#P message 576 271 91 196617 0 1 0 2 0 3 0 4;<br />
#P message 668 271 61 196617 0 1 0 2 0 3;<br />
#P message 576 290 91 196617 0 1 0 alpha omega;<br />
#P toggle 576 376 15 0;<br />
#P message 668 290 81 196617 0 1 0 alpha zulu;<br />
#P message 576 310 91 196617 0 1 0 alpha zulu;<br />
#N vpatcher 10 59 588 599;<br />
#P outlet 50 504 15 0;<br />
#P window setfont &#8220;Sans Serif&#8221; 9.;<br />
#P comment 106 348 120 196617 pass only failed matches;<br />
#P window linecount 2;<br />
#P comment 109 426 94 196617 if any match fails: entire match fails;<br />
#P window linecount 1;<br />
#P comment 268 399 88 196617 defaultresult is 1;<br />
#P newex 233 396 27 196617 1;<br />
#P newex 72 373 27 196617 0;<br />
#P newex 72 347 32 196617 sel 0;<br />
#P newex 72 324 27 196617 i;<br />
#P newex 72 266 22 196617 b 1;<br />
#P newex 100 288 21 196617 t 1;<br />
#P comment 245 302 74 196617 yes match = 1;<br />
#P comment 245 290 110 196617 no match = 0 (default);<br />
#P comment 245 265 89 196617 compare anything;<br />
#P comment 245 210 152 196617 extract nth element of each list;<br />
#P comment 245 189 57 196617 store lists;<br />
#P comment 245 155 64 196617 loop n times;<br />
#P comment 245 123 221 196617 use the shorter list for number of  <br />
comparisons;<br />
#P newex 163 235 62 196617 prepend set;<br />
#P newex 50 50 77 196617 t b b l b;<br />
#P newex 106 123 50 196617 minimum;<br />
#P newex 146 95 34 196617 zl len;<br />
#P newex 163 211 45 196617 zl nth;<br />
#P newex 72 189 32 196617 zl reg;<br />
#P newex 72 211 44 196617 zl nth;<br />
#P newex 106 95 34 196617 zl len;<br />
#P newex 72 155 44 196617 uzi;<br />
#P newex 50 422 32 196617 i;<br />
#P newex 163 288 21 196617 t 0;<br />
#P newex 100 266 37 196617 match;<br />
#P newex 163 189 36 196617 zl reg;<br />
#P comment 245 96 107 196617 get length of each list;<br />
#P inlet 189 20 15 0;<br />
#P inlet 50 20 15 0;<br />
#P connect 0 0 14 0;<br />
#P connect 14 0 6 0;<br />
#P connect 6 0 32 0;<br />
#P connect 14 1 7 0;<br />
#P connect 7 0 10 0;<br />
#P connect 10 0 9 0;<br />
#P connect 9 0 24 0;<br />
#P connect 24 0 25 0;<br />
#P connect 25 0 26 0;<br />
#P connect 26 0 27 0;<br />
#P connect 27 0 6 1;<br />
#P fasten 28 0 6 1 238 417 77 417;<br />
#P connect 5 0 25 1;<br />
#P connect 23 0 25 1;<br />
#P connect 14 2 10 1;<br />
#P connect 15 0 4 0;<br />
#P connect 9 0 4 0;<br />
#P connect 4 0 23 0;<br />
#P connect 14 2 8 0;<br />
#P connect 8 0 13 0;<br />
#P connect 13 0 7 1;<br />
#P connect 7 2 9 1;<br />
#P connect 1 0 12 0;<br />
#P connect 12 0 13 1;<br />
#P fasten 7 0 3 0 77 180 168 180;<br />
#P connect 3 0 11 0;<br />
#P connect 11 0 15 0;<br />
#P connect 15 0 5 0;<br />
#P connect 1 0 3 1;<br />
#P fasten 7 2 11 1 111 176 203 176;<br />
#P fasten 14 3 28 0 121 78 238 78;<br />
#P pop;<br />
#P newobj 576 344 102 196617 p list_compare;<br />
#P button 680 214 15 0;<br />
#P button 575 213 15 0;<br />
#P newex 680 193 32 196617 sel 1;<br />
#P newex 575 192 32 196617 sel 1;<br />
#P button 288 235 15 0;<br />
#P button 240 235 15 0;<br />
#P button 224 235 15 0;<br />
#P button 272 235 15 0;<br />
#P newex 272 213 43 196617 sel 0 1;<br />
#P newex 272 192 43 196617 route 1;<br />
#P newex 272 171 43 196617 route 1;<br />
#P newex 224 213 43 196617 sel 0 1;<br />
#P newex 224 192 43 196617 route 0;<br />
#P newex 224 171 43 196617 route 1;<br />
#P comment 177 213 39 196617 on/off;<br />
#P comment 177 192 41 196617 row;<br />
#P button 147 235 15 0;<br />
#P button 99 235 15 0;<br />
#P button 83 235 15 0;<br />
#P button 131 235 15 0;<br />
#P newex 131 213 43 196617 sel 0 1;<br />
#P newex 131 192 43 196617 route 1;<br />
#P newex 131 171 43 196617 route 0;<br />
#P newex 83 213 43 196617 sel 0 1;<br />
#P newex 83 192 43 196617 route 0;<br />
#P newex 83 171 43 196617 route 0;<br />
#P button 444 213 15 0;<br />
#P button 365 213 15 0;<br />
#P newex 444 192 32 196617 sel 1;<br />
#P newex 444 171 77 196617 checklist 0 1 0;<br />
#P newex 365 192 32 196617 sel 1;<br />
#P newex 365 171 77 196617 checklist 0 0 0;<br />
#P user matrixctrl 83 97 34 34 MatrixDefaultCell.pct  <br />
MatrixDefaultBkgnd.pct 34 34 16 16 2 2 16 16 1 1 48 2 5120 0;<br />
#P comment 177 171 41 196617 column;<br />
#P hidden comment 721 378 91 196617 reset patcherargs;<br />
#P comment 364 255 130 196617 <a href="http://wwww.jasch.ch/dl" rel="nofollow">http://wwww.jasch.ch/dl</a>;<br />
#P comment 663 43 79 196617 list comparison;<br />
#P fasten 4 0 11 0 88 151 88 151;<br />
#P connect 11 0 12 0;<br />
#P connect 12 0 13 0;<br />
#P connect 13 0 18 0;<br />
#P connect 13 1 19 0;<br />
#P fasten 4 0 14 0 88 151 136 151;<br />
#P connect 14 0 15 0;<br />
#P connect 15 0 16 0;<br />
#P connect 16 0 17 0;<br />
#P connect 16 1 20 0;<br />
#P fasten 4 0 23 0 88 151 229 151;<br />
#P connect 23 0 24 0;<br />
#P connect 24 0 25 0;<br />
#P connect 25 0 30 0;<br />
#P connect 25 1 31 0;<br />
#P fasten 4 0 26 0 88 151 277 151;<br />
#P connect 26 0 27 0;<br />
#P connect 27 0 28 0;<br />
#P connect 28 0 29 0;<br />
#P connect 28 1 32 0;<br />
#P fasten 4 0 5 0 88 151 370 151;<br />
#P connect 5 0 6 0;<br />
#P connect 6 0 9 0;<br />
#P fasten 4 0 7 0 88 151 449 151;<br />
#P connect 7 0 8 0;<br />
#P connect 8 0 10 0;<br />
#P fasten 4 0 44 0 88 151 580 151;<br />
#P connect 44 0 33 0;<br />
#P connect 33 0 35 0;<br />
#P connect 43 0 37 0;<br />
#P connect 41 0 37 0;<br />
#P connect 38 0 37 0;<br />
#P connect 37 0 40 0;<br />
#P connect 42 0 37 1;<br />
#P connect 39 0 37 1;<br />
#P fasten 4 0 47 0 88 151 685 151;<br />
#P connect 47 0 34 0;<br />
#P connect 34 0 36 0;<br />
#P hidden connect 46 0 45 0;<br />
#P pop;</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/list-filter/#post-74781</guid>
					<title><![CDATA[Re: list filter]]></title>
					<link>http://cycling74.com/forums/topic/list-filter/#post-74781</link>
					<pubDate>Sat, 15 Apr 2006 16:50:30 +0000</pubDate>
					<dc:creator>geoffkrug@yahoo.com</dc:creator>

					<description>
						<![CDATA[
						<p>jasch, you&#8217;re saying that if i use stefans tosymbol idea then my cpu will be running too hard. or at least there is an easier way to filter lists? </p>
<p>thanks </p>
<p>rob</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/list-filter/#post-74782</guid>
					<title><![CDATA[Re: list filter]]></title>
					<link>http://cycling74.com/forums/topic/list-filter/#post-74782</link>
					<pubDate>Sat, 15 Apr 2006 17:41:36 +0000</pubDate>
					<dc:creator>jasch</dc:creator>

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

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/list-filter/#post-74783</guid>
					<title><![CDATA[Re: list filter]]></title>
					<link>http://cycling74.com/forums/topic/list-filter/#post-74783</link>
					<pubDate>Sat, 15 Apr 2006 18:58:37 +0000</pubDate>
					<dc:creator>Stefan Tiedje</dc:creator>

					<description>
						<![CDATA[
						<p>/*j wrote:<br />
> stephan: your approach to convert any list into a symbol before using  <br />
> match is dangerous performancewise. imagine having a stream of  numbers <br />
> coming from a sensor at relatively high speed (~ 10 ms):  you&#8217;ll have a <br />
> symbol generation and symboltable lookup for *every*  item you&#8217;re trying <br />
> to match, do this in an installation that runs for  months without <br />
> reboot and your dead.</p>
<p>Thanks for the hint, best would be cycling acknowledges the behaviour of <br />
match as bug and fixes it&#8230;<br />
For my needs of comparisons though the symbol creation is most likely no <br />
issue</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/list-filter/#post-74784</guid>
					<title><![CDATA[Re: list filter]]></title>
					<link>http://cycling74.com/forums/topic/list-filter/#post-74784</link>
					<pubDate>Sat, 15 Apr 2006 19:39:33 +0000</pubDate>
					<dc:creator>Roman Thilenius</dc:creator>

					<description>
						<![CDATA[
						<p>jan is in dialectic trouble anyway with this<br />
idea since he had been taking java solutions <br />
into account :)</p>
<p>i am big fan of the zl objects &#8230; there should <br />
be a few more of them &#8230; like funnel and spray!</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/list-filter/#post-74785</guid>
					<title><![CDATA[Re: list filter]]></title>
					<link>http://cycling74.com/forums/topic/list-filter/#post-74785</link>
					<pubDate>Sat, 15 Apr 2006 20:00:59 +0000</pubDate>
					<dc:creator>Stefan Tiedje</dc:creator>

					<description>
						<![CDATA[
						<p>Rob wrote:<br />
> jasch, you&#8217;re saying that if i use stefans tosymbol idea then my cpu<br />
> will be running too hard. or at least there is an easier way to<br />
> filter lists?</p>
<p>If you use it in the context you want to, its no problem, as there is <br />
only a limited number of combination possibilties, each one would create <br />
a symbol which will be stored somewhere in the memory, but its small. If <br />
you want to compare ever changing values and keep doing so over months <br />
this is an issue. No problem for your problem I guess&#8230;</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/list-filter/#post-74786</guid>
					<title><![CDATA[Re: list filter]]></title>
					<link>http://cycling74.com/forums/topic/list-filter/#post-74786</link>
					<pubDate>Sun, 16 Apr 2006 06:17:30 +0000</pubDate>
					<dc:creator>jasch</dc:creator>

					<description>
						<![CDATA[
						<p>
and there&#8217;s also L== by peter elsea,</p>
<p>how&#8217;s that for dialectic&#8230;.</p>
<p>>> Thanks for the hint, best would be cycling acknowledges the  <br />
>> behaviour of<br />
>> match as bug and fixes it&#8230;<br />
>> For my needs of comparisons though the symbol creation is most  <br />
>> likely no<br />
>> issue<br />
>><br />
>> Stefan<br />
><br />
><br />
> jan is in dialectic trouble anyway with this<br />
> idea since he had been taking java solutions<br />
> into account :)<br />
><br />
> i am big fan of the zl objects &#8230; there should<br />
> be a few more of them &#8230; like funnel and spray!</p>
<p>or the whole python-suite in single max objects</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/list-filter/#post-74787</guid>
					<title><![CDATA[Re: list filter]]></title>
					<link>http://cycling74.com/forums/topic/list-filter/#post-74787</link>
					<pubDate>Sun, 16 Apr 2006 11:34:03 +0000</pubDate>
					<dc:creator>Roman Thilenius</dc:creator>

					<description>
						<![CDATA[
						<p>Quote: jasch wrote on Sun, 16 April 2006 00:17<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
> <br />
> and there&#8217;s also L== by peter elsea,</p>
<p>
there is also Y== by Yvonne Catterfeld but <br />
that is OS 9 only.</p>
<p>no i dont think i like comparing lists as<br />
a solution for routing them. you will have <br />
to type a lot of lists when you have to <br />
route data from 25&#215;25 matrix, while the use <br />
of [route] enables you to copy most parts <br />
of the code.</p>
<p>
-110 (in trouble as usual)</p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

