<?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: Directly sending messages to inlets of other maxobjects?</title>
		<atom:link href="http://cycling74.com/forums/topic/directly-sending-messages-to-inlets-of-other-maxobjects/feed" rel="self" type="application/rss+xml" />
		<link>http://cycling74.com/forums/topic/directly-sending-messages-to-inlets-of-other-maxobjects/feed</link>
		<description></description>
		<pubDate>Tue, 18 Jun 2013 21:34:36 +0000</pubDate>
		<generator>http://bbpress.org/?v=2.2.4</generator>
		<language></language>

		
														
					
				<item>
					<guid>http://cycling74.com/forums/topic/directly-sending-messages-to-inlets-of-other-maxobjects/#post-46031</guid>
					<title><![CDATA[Directly sending messages to inlets of other maxobjects?]]></title>
					<link>http://cycling74.com/forums/topic/directly-sending-messages-to-inlets-of-other-maxobjects/#post-46031</link>
					<pubDate>Fri, 23 Oct 2009 17:10:43 +0000</pubDate>
					<dc:creator>tom@swirly.com</dc:creator>

					<description>
						<![CDATA[
						<p>Hello!  My js code is creating a lot of Max boxes and I&#8217;d much rather directly send messages to the inlets of these boxes than have to create a route and a lot of connections.</p>
<p>I initially thought MaxObj.message was the way, but experimentation and reading there seems to indicate that it isn&#8217;t.</p>
<p>
Here&#8217;s the specifics (there&#8217;s far too much code to attach unfortunately).</p>
<p>I have a js program creating Max objects.</p>
<p>These are of type tmidiin and timidiout that are my own flavours of midiin and midiout.</p>
<p>I keep track of them in the js program and I want to send messages to their inlet 0s.</p>
<p>But I keep getting errors like:</p>
<p>
<div class="pre"></div></p>
<pre>patcher: doesn't understand ccmap</pre>
<p>where my tmidiin definitely does understand that message if it receives it directly!</p>
<p>I&#8217;m about to send all this data to an outlet of the js box, then create three &#8220;route&#8221; boxes and connect it to all the the midiins and midiiouts &#8211; or create TWO outlets from my JS box, but only have two route boxes.</p>
<p>But that&#8217;s bleh.  And I expect to do a lot of this.</p>
<p>Is there a way just to send a specific message to an inlet of a Max object &#8211; and in fact one that I have created with a JS program?</p>
<p>Thanks in advance!</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/directly-sending-messages-to-inlets-of-other-maxobjects/#post-165842</guid>
					<title><![CDATA[Re: Directly sending messages to inlets of other maxobjects?]]></title>
					<link>http://cycling74.com/forums/topic/directly-sending-messages-to-inlets-of-other-maxobjects/#post-165842</link>
					<pubDate>Sun, 01 May 2011 07:44:01 +0000</pubDate>
					<dc:creator>amounra</dc:creator>

					<description>
						<![CDATA[
						<p>Anybody?  I can&#8217;t seem to find a way to do this either&#8230;.</p>
<p>Are there methods to send messages directly, or do I have to resort to secondary objects connected to those inlets?</p>
<p>Basically:</p>
<p>blah = this.patcher.getnamed(&#8216;blah&#8217;);<br />
blah.message(&#8216;inlet&#8217;, 2, &#8216;int&#8217;, whatever);</p>
<p>something like that.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/directly-sending-messages-to-inlets-of-other-maxobjects/#post-165843</guid>
					<title><![CDATA[Re: Directly sending messages to inlets of other maxobjects?]]></title>
					<link>http://cycling74.com/forums/topic/directly-sending-messages-to-inlets-of-other-maxobjects/#post-165843</link>
					<pubDate>Tue, 03 May 2011 08:15:26 +0000</pubDate>
					<dc:creator>Emmanuel Jourdan</dc:creator>

					<description>
						<![CDATA[
						<p>This might work:<br />
<code>blah.message("in2", whatever);</code></p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/directly-sending-messages-to-inlets-of-other-maxobjects/#post-165844</guid>
					<title><![CDATA[Re: Directly sending messages to inlets of other maxobjects?]]></title>
					<link>http://cycling74.com/forums/topic/directly-sending-messages-to-inlets-of-other-maxobjects/#post-165844</link>
					<pubDate>Wed, 04 May 2011 04:53:15 +0000</pubDate>
					<dc:creator>amounra</dc:creator>

					<description>
						<![CDATA[
						<p>Thanks for the reply Emmanuel,</p>
<p>No dice.  &#8216;in1&#8242; works as expected with some objects and not others, but not &#8216;in2&#8242;.  Wierd&#8230;.</p>
<p>&#8216;Shoore wood b nise&#8230;.&#8217;</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/directly-sending-messages-to-inlets-of-other-maxobjects/#post-165845</guid>
					<title><![CDATA[Re: Directly sending messages to inlets of other maxobjects?]]></title>
					<link>http://cycling74.com/forums/topic/directly-sending-messages-to-inlets-of-other-maxobjects/#post-165845</link>
					<pubDate>Thu, 05 May 2011 00:26:27 +0000</pubDate>
					<dc:creator>Emmanuel Jourdan</dc:creator>

					<description>
						<![CDATA[
						<p>Sorry I meant &#8220;in1&#8243; indeed. Sometimes you&#8217;ll have to make connections ;-)</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/directly-sending-messages-to-inlets-of-other-maxobjects/#post-165846</guid>
					<title><![CDATA[Re: Directly sending messages to inlets of other maxobjects?]]></title>
					<link>http://cycling74.com/forums/topic/directly-sending-messages-to-inlets-of-other-maxobjects/#post-165846</link>
					<pubDate>Thu, 05 May 2011 16:30:20 +0000</pubDate>
					<dc:creator>Griotspeak</dc:creator>

					<description>
						<![CDATA[
						<p>you could use a route object connected to each of the inlets. prepend a number indicating which inlet and Bobs your uncle.</p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

