<?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: Optimizing patch by pre-reading and storing path Id&#039;s &#8211; waddayathink?</title>
		<atom:link href="http://cycling74.com/forums/topic/optimizing-patch-by-pre-reading-and-storing-path-ids-waddayathink/feed" rel="self" type="application/rss+xml" />
		<link>http://cycling74.com/forums/topic/optimizing-patch-by-pre-reading-and-storing-path-ids-waddayathink/feed</link>
		<description></description>
		<pubDate>Wed, 19 Jun 2013 10:59:09 +0000</pubDate>
		<generator>http://bbpress.org/?v=2.2.4</generator>
		<language></language>

		
														
					
				<item>
					<guid>http://cycling74.com/forums/topic/optimizing-patch-by-pre-reading-and-storing-path-ids-waddayathink/#post-62296</guid>
					<title><![CDATA[Optimizing patch by pre-reading and storing path Id&#039;s &#8211; waddayathink?]]></title>
					<link>http://cycling74.com/forums/topic/optimizing-patch-by-pre-reading-and-storing-path-ids-waddayathink/#post-62296</link>
					<pubDate>Sun, 11 Mar 2012 03:23:23 +0000</pubDate>
					<dc:creator>basvlk</dc:creator>

					<description>
						<![CDATA[
						<p>I think I know I have to do this, but wondering where to start. Much of my work so far has been creating a better remote control interface into Live using Max and TouchOSC. I want to have flexibility so everything is dynamic. When I select a different track, a lot of settings are dynamically queried, especially track, device, and parameter names.</p>
<p>I think I can optimize my patch by quering all path Id&#8217;s, tracknames, device names and parameter names on all tracks at when I launch a set. I rarely change devices mid-set and I am intending on adding an &#8216;update&#8217; button which will re-query all the settings. But now I need to store the list of path Id&#8217;s and names, and retrieve them. </p>
<p>what would you use for storing track, device, and paramater path id&#8217;s and names> Coll, pattr, dict&#8230; Preferrably something that is future-proof so I don&#8217;t have to learn a new tool when I get more ambitious in the future..</p>
<p>Also as this is max for live.. should I keep whatever I use &#8216;local&#8217; and access it all from within the same device? Or maybe use a file to read/write?</p>
<p>as always, your responses are much appreciated!</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/optimizing-patch-by-pre-reading-and-storing-path-ids-waddayathink/#post-225039</guid>
					<title><![CDATA[Re: Optimizing patch by pre-reading and storing path Id&#039;s &#8211; waddayathink?]]></title>
					<link>http://cycling74.com/forums/topic/optimizing-patch-by-pre-reading-and-storing-path-ids-waddayathink/#post-225039</link>
					<pubDate>Tue, 13 Mar 2012 12:18:44 +0000</pubDate>
					<dc:creator>Lee</dc:creator>

					<description>
						<![CDATA[
						<p>Hi, I do something similar here for my controller. I use a coll to store a mapping from a name to a live id.</p>
<p>i construct the name from trackid-device-parameter which gives a unique name across the set, e.g.</p>
<p>track1-rack1-locut -> id 51<br />
senda-rack2-delay1 -> id 99<br />
master-rack1-hicut -> id 137</p>
<p>L</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/optimizing-patch-by-pre-reading-and-storing-path-ids-waddayathink/#post-225041</guid>
					<title><![CDATA[Re: Optimizing patch by pre-reading and storing path Id&#039;s &#8211; waddayathink?]]></title>
					<link>http://cycling74.com/forums/topic/optimizing-patch-by-pre-reading-and-storing-path-ids-waddayathink/#post-225041</link>
					<pubDate>Sun, 18 Mar 2012 17:21:57 +0000</pubDate>
					<dc:creator>basvlk</dc:creator>

					<description>
						<![CDATA[
						<p>Thanks leehu: I&#8217;m actually going the other way round, I want to store all the names in a file so I can display them on my Ipad when selected, without having to querie live every time I select something different</p>
<p>I&#8217;m looking for something that is kind of like a tree diagram that is easy to navigate. I want to store 16 tracks (name, ID) x 4 devices per track (path IDs, names) x 8 parameters per device (path IDs, names)<br />
Once I built the coll with names I need to easily retrieve, say, the name of parameter 5 on device 2 on track 12. Some kind of coordinate system would be ideal (eg 12, 2, 5 for the above example)</p>
<p>Anyone any ideas?</p>
<p>*track1 ID, track name<br />
 -Device1 ID, name<br />
   &#8211;Parameter1 ID, name<br />
   &#8211;Parameter2 ID, name<br />
   &#8211;(etc&#8230;.)<br />
   &#8211;Parameter8 ID, name<br />
 -Device2 ID, name<br />
   &#8211;Parameter1 ID, name<br />
   &#8211;Parameter2 ID, name<br />
   &#8211;(etc&#8230;.)<br />
   &#8211;Parameter8 ID, name<br />
-Device.. (etc until Device 4)<br />
*track2 ID, track name<br />
 -Device1 ID, name<br />
   &#8211;Parameter1 ID, name<br />
   &#8211;Parameter2 ID, name<br />
   &#8211;(etc&#8230;.)<br />
   &#8211;Parameter8 ID, name<br />
 -Device2 ID, name<br />
   &#8211;Parameter1 ID, name<br />
   &#8211;Parameter2 ID, name<br />
   &#8211;(etc&#8230;.)<br />
   &#8211;Parameter8 ID, name<br />
-Device.. (etc until Device 4)</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/optimizing-patch-by-pre-reading-and-storing-path-ids-waddayathink/#post-225042</guid>
					<title><![CDATA[Re: Optimizing patch by pre-reading and storing path Id&#039;s &#8211; waddayathink?]]></title>
					<link>http://cycling74.com/forums/topic/optimizing-patch-by-pre-reading-and-storing-path-ids-waddayathink/#post-225042</link>
					<pubDate>Sun, 18 Mar 2012 20:00:04 +0000</pubDate>
					<dc:creator>basvlk</dc:creator>

					<description>
						<![CDATA[
						<p>Ok I decided to go for a linear system: all path Ids and names are stored in one big coll, the index number being the key to what info is stored. I&#8217;m seriously thinking I&#8217;m overcomplicating this&#8230;. Any suggestions welcome!<br />
Here&#8217;s my system for indexing data in my coll:</p>
<p>TRACK numbers are *1000<br />
DEVICE numbers are *100+1<br />
PARAMETER numbers are *10+1<br />
Final digit 0=Id 1=Name string</p>
<p>if the 100&#8242;s and 10&#8242;s are &#8217;0&#8242; you&#8217;re retreiving TRACK info<br />
If the 100&#8242;s are >0 and the 10&#8242;s are &#8217;0&#8242; you&#8217;re retrieving DEVICE info<br />
If the 100&#8242;s and 10&#8243;s are >0 you&#8217;re retrieving PARAMETER info</p>
<p>EG<br />
12001 = track 12 name<br />
12000 = track 12 Id</p>
<p>09500 = track 5 device 0 Id<br />
09501 = track 5 device 1 Name</p>
<p>03680 = track 3 device 6 parameter 8 Id<br />
03681 = track 3 device 6 parameter 8 name</p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

