<?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: Dynamic inlets / outlets</title>
		<atom:link href="http://cycling74.com/forums/topic/dynamic-inlets-outlets/feed" rel="self" type="application/rss+xml" />
		<link>http://cycling74.com/forums/topic/dynamic-inlets-outlets/feed</link>
		<description></description>
		<pubDate>Tue, 18 Jun 2013 19:06:49 +0000</pubDate>
		<generator>http://bbpress.org/?v=2.2.4</generator>
		<language></language>

		
														
					
				<item>
					<guid>http://cycling74.com/forums/topic/dynamic-inlets-outlets/#post-62073</guid>
					<title><![CDATA[Dynamic inlets / outlets]]></title>
					<link>http://cycling74.com/forums/topic/dynamic-inlets-outlets/#post-62073</link>
					<pubDate>Thu, 01 Mar 2012 14:28:58 +0000</pubDate>
					<dc:creator>Dirollo.martin</dc:creator>

					<description>
						<![CDATA[
						<p>I saw in the Max SDK that it was possible to dynamically create inlets using the inlet_append, inlet_delete, inlet_count, same for outlets, however these functions are not documented.<br />
I saw in another post from 4 months ago that Cycling did not officially support yet these functions, but has this changed since the Max 6 release ? They could prove really useful.<br />
However, the arguments described in the prototypes are not very explicit. Does anyone have any documentation on this set of functions, or code excerpts using them ?</p>
<p>Greetings<br />
Martin Di Rollo</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/dynamic-inlets-outlets/#post-224206</guid>
					<title><![CDATA[Re: Dynamic inlets / outlets]]></title>
					<link>http://cycling74.com/forums/topic/dynamic-inlets-outlets/#post-224206</link>
					<pubDate>Thu, 01 Mar 2012 15:29:45 +0000</pubDate>
					<dc:creator>Timothy Place</dc:creator>

					<description>
						<![CDATA[
						<p>Here&#8217;s an example from the plot~ object when you change the attribute for the number of plots:</p>
<pre>object_method(&#038;x->p_box, gensym("dynlet_begin"));
	dsp_resize((t_pxobject*)x, numplots);
	object_method(&#038;x->p_box, gensym("dynlet_end"));</pre><p>This assumes you have an audio object.  I&#8217;d need to dig a little more to find out what happens for dynamic inlets in a plain Max object.</p>
<p>Cheers,<br />
  Tim</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/dynamic-inlets-outlets/#post-224207</guid>
					<title><![CDATA[Re: Dynamic inlets / outlets]]></title>
					<link>http://cycling74.com/forums/topic/dynamic-inlets-outlets/#post-224207</link>
					<pubDate>Fri, 16 Mar 2012 09:44:44 +0000</pubDate>
					<dc:creator>Dirollo.martin</dc:creator>

					<description>
						<![CDATA[
						<p>Thanks a lot ! I&#8217;ve been testing around with it, and it works !</p>
<p>Do you know if there is a similar way of dealing with outlets ? dsp_resize only allows for inlet creation, not outlets.<br />
This would be for audio objects, (MSP object with signals).</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/dynamic-inlets-outlets/#post-224208</guid>
					<title><![CDATA[Re: Dynamic inlets / outlets]]></title>
					<link>http://cycling74.com/forums/topic/dynamic-inlets-outlets/#post-224208</link>
					<pubDate>Tue, 01 May 2012 18:19:25 +0000</pubDate>
					<dc:creator>Timothy Place</dc:creator>

					<description>
						<![CDATA[
						<p>This is untested code, which should be documented made into an example at some point, but it should get you going:</p>
<pre>// start the transaction with the box
t_object *b = NULL;
object_obex_lookup(x, _sym_pound_B, (t_object **)&#038;b);
object_method(b, gensym("dynlet_begin"));

// update outlets with one or both of these calls
//outlet_delete(outlet_nth((t_object*)x, i));
//outlet_append((t_object*)x, NULL, gensym("signal"));

// end the transaction with the box
object_method(b, gensym("dynlet_end"));</pre>						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/dynamic-inlets-outlets/#post-224209</guid>
					<title><![CDATA[Re: Dynamic inlets / outlets]]></title>
					<link>http://cycling74.com/forums/topic/dynamic-inlets-outlets/#post-224209</link>
					<pubDate>Wed, 02 May 2012 15:13:30 +0000</pubDate>
					<dc:creator>Dirollo.martin</dc:creator>

					<description>
						<![CDATA[
						<p>Thanks ! This is exactly what I was looking for, it works just fine.<br />
I&#8217;d have a final question about this which could simplify my code :<br />
Do you have an example of how inlet_append is used ? I guess it must be quite similar to outlet_append, but I&#8217;m having trouble with the void* who argument, which I don&#8217;t know what it actually refers to.<br />
Thanks again !</p>
<p>Martin</p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

