<?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: Newbie question &#8211; send numeric data between devices</title>
		<atom:link href="http://cycling74.com/forums/topic/newbie-question-send-numeric-data-between-devices/feed" rel="self" type="application/rss+xml" />
		<link>http://cycling74.com/forums/topic/newbie-question-send-numeric-data-between-devices/feed</link>
		<description></description>
		<pubDate>Wed, 19 Jun 2013 05:33:01 +0000</pubDate>
		<generator>http://bbpress.org/?v=2.2.4</generator>
		<language></language>

		
														
					
				<item>
					<guid>http://cycling74.com/forums/topic/newbie-question-send-numeric-data-between-devices/#post-61275</guid>
					<title><![CDATA[Newbie question &#8211; send numeric data between devices]]></title>
					<link>http://cycling74.com/forums/topic/newbie-question-send-numeric-data-between-devices/#post-61275</link>
					<pubDate>Mon, 16 Jan 2012 22:31:21 +0000</pubDate>
					<dc:creator>jpgringo</dc:creator>

					<description>
						<![CDATA[
						<p>Hello… I&#8217;m wondering if it&#8217;s possible to send numeric data generated by one Live device to another? Specifically, in this case, I would like to send calculated frequency values from a Max MIDI Effect interpreting MIDI input (<em>not</em> &#8220;mtof&#8221; values!) to a Max Instrument on the same track, built to accept that data and do something useful with it. I want to build a number of different instruments, and the effect has quite a number of user-configurable parameters which I&#8217;d rather not duplicate into every one of the instruments, if that&#8217;s avoidable.</p>
<p>If this is possible, I have no doubt it&#8217;s obvious… but I&#8217;m brand new to M4L and don&#8217;t yet have the vocabulary to even know exactly what I&#8217;m looking for.</p>
<p>Any assistance / hints are much appreciated!!</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/newbie-question-send-numeric-data-between-devices/#post-220921</guid>
					<title><![CDATA[Re: Newbie question &#8211; send numeric data between devices]]></title>
					<link>http://cycling74.com/forums/topic/newbie-question-send-numeric-data-between-devices/#post-220921</link>
					<pubDate>Mon, 16 Jan 2012 22:36:47 +0000</pubDate>
					<dc:creator>Home Surgery</dc:creator>

					<description>
						<![CDATA[
						<p>send &#038; receive &#8211; abbreviated as &#8220;s&#8221; &#038; &#8220;r&#8221; can send information between different devices.<br />
Your object could be called &#8220;s frq&#8221; and &#8220;rfrq&#8221;</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/newbie-question-send-numeric-data-between-devices/#post-220922</guid>
					<title><![CDATA[Re: Newbie question &#8211; send numeric data between devices]]></title>
					<link>http://cycling74.com/forums/topic/newbie-question-send-numeric-data-between-devices/#post-220922</link>
					<pubDate>Mon, 16 Jan 2012 22:53:57 +0000</pubDate>
					<dc:creator>jpgringo</dc:creator>

					<description>
						<![CDATA[
						<p>Thanks, Home Surgery… I&#8217;ve tried that, but the problem is that the named &#8220;send&#8221; is picked up by every &#8220;receive&#8221; with the same name — even if it&#8217;s on a different Live track with a different MIDI channel. I want to be able to use this model across multiple tracks in the same Live set without them interfering with one another. Am I missing something about narrowing the focus of &#8220;send&#8221; and &#8220;receive&#8221;?</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/newbie-question-send-numeric-data-between-devices/#post-220923</guid>
					<title><![CDATA[Re: Newbie question &#8211; send numeric data between devices]]></title>
					<link>http://cycling74.com/forums/topic/newbie-question-send-numeric-data-between-devices/#post-220923</link>
					<pubDate>Tue, 17 Jan 2012 16:14:00 +0000</pubDate>
					<dc:creator>jpgringo</dc:creator>

					<description>
						<![CDATA[
						<p>Okay, I&#8217;ve dug a little deeper and think I have a resolution to this:</p>
<div><span id="toggle220923-0" class="patchtoggle" onmousedown="toggleMaxPatch('post220923-0', 'er220923-0');">&#8211; Pasted Max <span id="maxversion220923-0"></span> Patch, click to <span id="er220923-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----------%0A1908.3oc0Z0siiaaE9ZOOEDFsX1EwwUT%2BY6dWCBPw.zf1KRPuXmEFzRz1LiL%0AoJI03YaP.xCQeFxCVdRxgGJO1yrirrbsc7t%2BXaQIYdNemuyge7H%2BS2zq%2BL0S%0AbSexek7ARud%2BzM85gC4FnW8w85uh8TVAyfWV%2BL0pUbos%2B.%2B4r7mr3322etRu%0AloyuuOQXHEhG3j66a3R2.u6NRtHWdqk7fTslXWxrjRM%2BQgpxT7o2OfveJiWZ%0AIBqgXY5EbKIiIIy3DSIOSLWvyIJIbebx7hOsYtKDRdlpRhFPb8fkLa1RgbwT%0AMOy5crvjICCFPRhG4dilDfGENLf7w5aRVsRHK3VzEo0CJxQGSM6G%2B5H5l4bt%0ARZkrUb7T%2BMsfUP9FUQd%2BseQpJ6luofctIi3%2Bh2DElc2n%2B7M23dYv%2Bmv9OX3D%0AMeA%2BoRhUAvnUyxrHP49zCDmsRX.ptVQL7RllY4jaspG3RysCHLYt6hkjJiCq%0A0Boct6KZVkn.Oy1X3JtwvVvIqE1kD1lvDFJg3ckT7ep3ta0tDNLGhsY7A9CP%0AKYybAG6rhUbKWO7MijiZNRFOAicwi2MR5N3fijgiuVijQCI%2BK3ZPPGb8kOC3%0A04UuIVE1LVkDj3PmnT7MJkNLY.IbRWvpjqUr529kekTx0.xrBvKMmSTvgLqP%0AIMDgDX5.YTlwgqq%2BdXSooNnIMx8ZHMDwowcAfBuVAnvgj%2BN2tkKolieNClQl%0AP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hMtFedzYHbKK4e6BvGeUyKeq%0A8gEDtS24i6tTB5e3MmuoZT6Hb2WHeZHpcuEk6aPDpeouzfCqxUolCSnE2%2BeS%0APUv4Jsc2IeWWIFCpQM4Hm.vedgBr18.mTOmJzKVMI3vHXMglO%2BvKlxkrYE7c%0AoR6fzG2RpgMAzfSxre9tC1Kp6an8a3umurcWOlZmXW2xknt2v8nq3EjapULe%0AqeqAOx0V2NC.scqD6asYe7Zj%2BM53NiQ6Q769KDtTjmyeAW%2BLhJXChfcO8Ofk%0AS62Zyc7aSutEOs1Rb2jjoJT5M.Zz.2KwtWgWn6b%2B6faiZgaQtyxJDYsrXhdw%0Ar1m0WfqzSOth8iqMjslfgsKa74DXS%2BhBXapxlucp6ceX9hZGqLlvqztP57bg%0A7.bbzuC5t7sSaM8Sst1RljWrOuOAC00OttzweV6mmsXmTFLcCnsQIgSPB7XJ%0AcTZxKYwuMhsPpfYERTdnoEGCafhbN7Z%2BtZBoGlaC94fm88SiyFcAcVeCohpe%0AFj9FpONsYm0GYq83SgyF2tyhyA9PSd0OmKzgbi%2BRDvnpzYaRZp2tIYqklyMV%0Ag7Y0ueXauu24h1pXXSYHnXA9v.Ma5yPMxg0F1dv1oQXbhnyaNzcnlu6gUzp8%0A61%2BCgtG6%2BDZOGf4LtEz7xZMH3bYLmvCJXM4xYONdcXaj%2BKr8zJ9L9HSFGgO6%0AlIXRIdzYHcD8.ZadP5kCQiO.6IZR2Pzjv.%2BiX0q8YLtvP7K9kkd57.5AkyDe%0AwJv8J5WC4LwWrHLM8PwmKj8Den4vzNjC6%2BQqDNAebgISF6%2BQclbdXbAGhGPu%0AbH5AXNQWUVS3QZMjOdyOeyuCm1umS%0A-----------end_max5_patcher-----------&#038;copied=copied!&#038;;copyto=copy to clipboard"  bgcolor="#ffffff"  wmode="opaque" /> </object></div>
<div id="post220923-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="pastedcode220923-0">----------begin_max5_patcher----------
1908.3oc0Z0siiaaE9ZOOEDFsX1EwwUT+Y6dWCBPw.zf1KRPuXmEFzRz1LiL
oJI03YaP.xCQeFxCVdRxgGJO1yrirrbsc7t+XaQIYdNemuyge7H+S2zq+L0S
bSexek7ARud+zM85gC4FnW8w85uh8TVAyfWV+L0pUbos+.+4r7mr3322etRu
loyuuOQXHEhG3j66a3R2.u6NRtHWdqk7fTslXWxrjRM+QgpxT7o2OfveJiWZ
IBqgXY5EbKIiIIy3DSIOSLWvyIJIbebx7hOsYtKDRdlpRhFPb8fkLa1RgbwT
MOy5crvjICCFPRhG4dilDfGENLf7w5aRVsRHK3VzEo0CJxQGSM6G+5H5l4bt
RZkrUb7T+MsfUP9FUQd+seQpJ6luofctIi3+h2DElc2n+7M23dYv+mv9OX3D
MeA+oRhUAvnUyxrHP49zCDmsRX.ptVQL7RllY4jaspG3RysCHLYt6hkjJiCq
0Boct6KZVkn.Oy1X3JtwvVvIqE1kD1lvDFJg3ckT7ep3ta0tDNLGhsY7A9CP
KYybAG6rhUbKWO7MijiZNRFOAicwi2MR5N3fijgiuVijQCI+K3ZPPGb8kOC3
04UuIVE1LVkDj3PmnT7MJkNLY.IbRWvpjqUr529kekTx0.xrBvKMmSTvgLqP
IMDgDX5.YTlwgqq+dXSooNnIMx8ZHMDwowcAfBuVAnvgj+N2tkKolieNClQl
PBvfOobG7oizpvD5NofciVEbshZzFPsJsFt75hZ2hEvbG+a+x+iHFxGNXm5s
BKbdk7X.1HOALxWaaRTmAV5Ua95+1sDiG9PwAJVNO+uTUlCqFk2RR5DbwapG
UFMoyIozq1jzu2sXnvTmYp4d9Ft.I.CbsqJ2rJqaQ0G37RfaQLhUkE3RBdVZ
ktTY3F2clyWAU+r9pfCH2c6ibxOVYrtk1ygkwWYUyuu+Px+bVsrqADQ87sFD
Hr1sPt6CKTX4AEYIqrDBafgrYg70KUvjyehqyDfdg0pJPj.HR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Xapxlucp6ceX9hZGqLlvqztP57bg
7.bbzuC5t7sSaM8Sst1RljWrOuOAC00OttzweV6mmsXmTFLcCnsQIgSPB7XJ
cTZxKYwuMhsPpfYERTdnoEGCafhbN7Z+tZBoGlaC94fm88SiyFcAcVeCohpe
Fj9FpONsYm0GYq83SgyF2tyhyA9PSd0OmKzgbi+RDvnpzYaRZp2tIYqklyMV
g7Y0ueXauu24h1pXXSYHnXA9v.Ma5yPMxg0F1dv1oQXbhnyaNzcnlu6gUzp8
61+CgtG6+DZOGf4LtEz7xZMH3bYLmvCJXM4xYONdcXaj+Kr8zJ9L9HSFGgO6
lIXRIdzYHcD8.ZadP5kCQiO.6IZR2Pzjv.+iX0q8YLtvP7K9kkd57.5AkyDe
wJv8J5WC4LwWrHLM8PwmKj8Den4vzNjC6+QqDNAebgISF6+QclbdXbAGhGPu
bH5AXNQWUVS3QZMjOdyOeyuCm1umS
-----------end_max5_patcher-----------</code></pre></div>
</div>
<p>The keys were: 1) discovering the &#8220;forward&#8221; object; 2) getting a small grip on the Live Object Model; 3) discovering the existence of the &#8220;regexp&#8221; object. (As someone whose day-job is software development, I can&#8217;t tell you how thrilled I was to discover that last one in Max.)</p>
<p>So what this patcher does is to figure out which track contains the device when it is loaded/updated, build a string consisting of {<em>patchername</em>}_tracks_{<em>tracknumber</em>}_{<em>variablename</em>}, and then ensure that the messages I want to send get sent to that target, thanks to &#8220;forward&#8221;. For testing, I&#8217;ve built a corresponding patcher (not included here) that sets up a &#8220;receive&#8221; object using exactly the same method.</p>
<p>I have yet to test this approach to see if it works with lists as well as individual bits of data (don&#8217;t see why not), and to see if there are latency issues… fingers crossed! I also need to &#8216;abstract&#8217; the messaging component, and therefore add inputs allowing the {patchername} and {variablename} bits of the &#8220;send&#8221; message to be set by the containing patcher.</p>
<p>As I said, I <em>am</em> new to Max / M4L, so I&#8217;m not sure if this is a completely messed-up way of doing something that can be accomplished more simply. Critiques are welcome… be honest!</p>
<p>And thanks again to Home Surgery for the reply. Your suggestion kept me digging in the right direction in the documentation instead of changing my approach.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/newbie-question-send-numeric-data-between-devices/#post-220924</guid>
					<title><![CDATA[Re: Newbie question &#8211; send numeric data between devices]]></title>
					<link>http://cycling74.com/forums/topic/newbie-question-send-numeric-data-between-devices/#post-220924</link>
					<pubDate>Fri, 20 Jan 2012 22:38:27 +0000</pubDate>
					<dc:creator>georghajdu@mac.com</dc:creator>

					<description>
						<![CDATA[
						<p>I use the same approach to drive a microtonal sampler device but was very disappointed with the timing.</p>
<p>There are two other options though:</p>
<p>1. Timo Rozendaal is the developer of vt and claims that communication between devices is faster with vt than with the forward/receive pairs. </p>
<p>2. I myself replaced forward/receive by udpsend/udpreceive with unique port #&#8217;s for each track and noticed a noticeable improvement in terms of timing. Sending udppackets on the localhost usually takes less than a msec.</p>
<p>Nonetheless, I hope that Ableton and/or Cycling &#8217;74 will eventually offer a latency-free method to cross device boundaries. </p>
<p>Georg</p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

