<?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: communication between Max/MSP and Pd</title>
		<atom:link href="http://cycling74.com/forums/topic/communication-between-maxmsp-and-pd/feed" rel="self" type="application/rss+xml" />
		<link>http://cycling74.com/forums/topic/communication-between-maxmsp-and-pd/feed</link>
		<description></description>
		<pubDate>Wed, 19 Jun 2013 05:41:42 +0000</pubDate>
		<generator>http://bbpress.org/?v=2.2.4</generator>
		<language></language>

		
														
					
				<item>
					<guid>http://cycling74.com/forums/topic/communication-between-maxmsp-and-pd/#post-29519</guid>
					<title><![CDATA[communication between Max/MSP and Pd]]></title>
					<link>http://cycling74.com/forums/topic/communication-between-maxmsp-and-pd/#post-29519</link>
					<pubDate>Sat, 06 Jan 2007 01:48:48 +0000</pubDate>
					<dc:creator>jaime.oliver2</dc:creator>

					<description>
						<![CDATA[
						<p>hello,</p>
<p>does anybody know of an object or any other resource to send messages<br />
as in a send/receive way from Max to Pd??</p>
<p>thanks,</p>
<p>Jaime</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/communication-between-maxmsp-and-pd/#post-92451</guid>
					<title><![CDATA[Re: communication between Max/MSP and Pd]]></title>
					<link>http://cycling74.com/forums/topic/communication-between-maxmsp-and-pd/#post-92451</link>
					<pubDate>Sat, 06 Jan 2007 01:57:56 +0000</pubDate>
					<dc:creator>jln</dc:creator>

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

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/communication-between-maxmsp-and-pd/#post-92452</guid>
					<title><![CDATA[Re: communication between Max/MSP and Pd]]></title>
					<link>http://cycling74.com/forums/topic/communication-between-maxmsp-and-pd/#post-92452</link>
					<pubDate>Sat, 06 Jan 2007 10:31:21 +0000</pubDate>
					<dc:creator>julien breval</dc:creator>

					<description>
						<![CDATA[
						<p>besides OSC you have netsend / netreceive (external in Max)</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/communication-between-maxmsp-and-pd/#post-92453</guid>
					<title><![CDATA[Re: communication between Max/MSP and Pd]]></title>
					<link>http://cycling74.com/forums/topic/communication-between-maxmsp-and-pd/#post-92453</link>
					<pubDate>Sat, 06 Jan 2007 20:57:33 +0000</pubDate>
					<dc:creator>jaime.oliver2</dc:creator>

					<description>
						<![CDATA[
						<p>Hello again and thanks for the answers. I am trying netsend/netreceive<br />
and info seems to be passing ok from max to pd, but i get messages<br />
like these:</p>
<p>netsend: warning: blocked 17 msec</p>
<p>several times with variable msec values?<br />
Does this mean that the data is not passing continuously? that it is<br />
being blocked every once in a while??</p>
<p>thanks again,</p>
<p>J</p>
<p>On 1/6/07, julienbreval <julienbreval @free.fr> wrote:<br />
><br />
> besides OSC you have netsend / netreceive (external in Max)<br />
></julienbreval></p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/communication-between-maxmsp-and-pd/#post-92454</guid>
					<title><![CDATA[Re: communication between Max/MSP and Pd]]></title>
					<link>http://cycling74.com/forums/topic/communication-between-maxmsp-and-pd/#post-92454</link>
					<pubDate>Sat, 06 Jan 2007 21:37:18 +0000</pubDate>
					<dc:creator>Olaf Matthes</dc:creator>

					<description>
						<![CDATA[
						<p>Jaime Oliver wrote:<br />
> Hello again and thanks for the answers. I am trying netsend/netreceive<br />
> and info seems to be passing ok from max to pd, but i get messages<br />
> like these:<br />
> <br />
> netsend: warning: blocked 17 msec<br />
> <br />
> several times with variable msec values?<br />
> Does this mean that the data is not passing continuously? that it is<br />
> being blocked every once in a while??</p>
<p>Right. It just means that delivering the messages took 17 milliseconds. <br />
You get a waring for every attept to send that takes longer than 5 ms. <br />
However, the data gets through anyway, if not you&#8217;d get a warning <br />
telling you so.<br />
I will probably update netsend ibn a few days because I think it uses <br />
the wrong time functio (systime_ms()) to figure out how long sending <br />
takes. I will change this to clock_getftime() because I have the slight <br />
feeling that ntsend is complaining far too often.</p>
<p>But until then, don&#8217;t worry, 17 ms is not that bad at all. Just run a <br />
ping to your destinations IP, ping times are probably also several ms.</p>
<p>Olaf</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/communication-between-maxmsp-and-pd/#post-92455</guid>
					<title><![CDATA[Re: communication between Max/MSP and Pd]]></title>
					<link>http://cycling74.com/forums/topic/communication-between-maxmsp-and-pd/#post-92455</link>
					<pubDate>Sun, 07 Jan 2007 00:15:56 +0000</pubDate>
					<dc:creator>jaime.oliver2</dc:creator>

					<description>
						<![CDATA[
						<p>Dear Olaf,</p>
<p>yes, 17ms is ok, but I have gotten messages up to 282ms. this<br />
behaviour is quite erratic, sometimes it is 16-17 for a while and then<br />
suddenly 85, 156, 256, etc.</p>
<p>i am sending 18 streams of numbers (every 100ms) through netsend from<br />
max to pd through localhost 3001. would it be advisable to use several<br />
ports??</p>
<p>thanks again,</p>
<p>j</p>
<p>On 1/6/07, Olaf Matthes
<olaf .matthes@gmx.de> wrote:<br />
> Jaime Oliver wrote:<br />
> > Hello again and thanks for the answers. I am trying netsend/netreceive<br />
> > and info seems to be passing ok from max to pd, but i get messages<br />
> > like these:<br />
> ><br />
> > netsend: warning: blocked 17 msec<br />
> ><br />
> > several times with variable msec values?<br />
> > Does this mean that the data is not passing continuously? that it is<br />
> > being blocked every once in a while??<br />
><br />
> Right. It just means that delivering the messages took 17 milliseconds.<br />
> You get a waring for every attept to send that takes longer than 5 ms.<br />
> However, the data gets through anyway, if not you&#8217;d get a warning<br />
> telling you so.<br />
> I will probably update netsend ibn a few days because I think it uses<br />
> the wrong time functio (systime_ms()) to figure out how long sending<br />
> takes. I will change this to clock_getftime() because I have the slight<br />
> feeling that ntsend is complaining far too often.<br />
><br />
> But until then, don&#8217;t worry, 17 ms is not that bad at all. Just run a<br />
> ping to your destinations IP, ping times are probably also several ms.<br />
><br />
> Olaf<br />
></olaf></p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/communication-between-maxmsp-and-pd/#post-92456</guid>
					<title><![CDATA[Re: communication between Max/MSP and Pd]]></title>
					<link>http://cycling74.com/forums/topic/communication-between-maxmsp-and-pd/#post-92456</link>
					<pubDate>Sun, 07 Jan 2007 13:16:31 +0000</pubDate>
					<dc:creator>Olaf Matthes</dc:creator>

					<description>
						<![CDATA[
						<p>Jaime Oliver wrote:<br />
> Dear Olaf,<br />
> <br />
> yes, 17ms is ok, but I have gotten messages up to 282ms. this<br />
> behaviour is quite erratic, sometimes it is 16-17 for a while and then<br />
> suddenly 85, 156, 256, etc.</p>
<p>Uh, that&#8217;s a lot for a localhost connection.</p>
<p>> i am sending 18 streams of numbers (every 100ms) through netsend from<br />
> max to pd through localhost 3001. would it be advisable to use several<br />
> ports??</p>
<p>No, using one port is okay (or probably even better than using 2 or <br />
more). What does &#8220;18 streams of numbers (every 100ms)&#8221; mean exactly? <br />
Like every 100ms you send 18 integers?<br />
And it seems you&#8217;re running Max and Pd in parallel on the same machine? <br />
What&#8217;s the CPU load with this setup? Pd is not threaded, so receiving <br />
the network data has to happen inbetween the audio processing. This <br />
could delay the reception of the numbers you send. If the Pd GUI starts <br />
to run jerky then receieing any network data will also block for short <br />
moments.<br />
An option could be to use UDP instead of TCP, because then send doesn&#8217;t <br />
have to wait for response from the receiver and just dumps the data into <br />
the network.</p>
<p>Olaf</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/communication-between-maxmsp-and-pd/#post-92457</guid>
					<title><![CDATA[Re: communication between Max/MSP and Pd]]></title>
					<link>http://cycling74.com/forums/topic/communication-between-maxmsp-and-pd/#post-92457</link>
					<pubDate>Wed, 10 Jan 2007 09:19:21 +0000</pubDate>
					<dc:creator>jaime.oliver2</dc:creator>

					<description>
						<![CDATA[
						<p>Hi Olaf,</p>
<p>so if I have both programs runinng with a video patch in jitter to<br />
track variables, then send the variables to pd (not doing any audio,<br />
just testing the communication) and CPU goes approx from 45-55% and in<br />
UDP it is much better with 35-45%, and mostly 17-34ms block, but still<br />
with outbursts of 60%cpu and 200ms block.</p>
<p>i think i will have to use two machines&#8230;</p>
<p>Let me know if you update the objects and thank you very much for your help.</p>
<p>Jaime</p>
<p>On 1/7/07, Olaf Matthes
<olaf .matthes@gmx.de> wrote:<br />
> Jaime Oliver wrote:<br />
> > Dear Olaf,<br />
> ><br />
> > yes, 17ms is ok, but I have gotten messages up to 282ms. this<br />
> > behaviour is quite erratic, sometimes it is 16-17 for a while and then<br />
> > suddenly 85, 156, 256, etc.<br />
><br />
> Uh, that&#8217;s a lot for a localhost connection.<br />
><br />
> > i am sending 18 streams of numbers (every 100ms) through netsend from<br />
> > max to pd through localhost 3001. would it be advisable to use several<br />
> > ports??<br />
><br />
> No, using one port is okay (or probably even better than using 2 or<br />
> more). What does &#8220;18 streams of numbers (every 100ms)&#8221; mean exactly?<br />
> Like every 100ms you send 18 integers?<br />
> And it seems you&#8217;re running Max and Pd in parallel on the same machine?<br />
> What&#8217;s the CPU load with this setup? Pd is not threaded, so receiving<br />
> the network data has to happen inbetween the audio processing. This<br />
> could delay the reception of the numbers you send. If the Pd GUI starts<br />
> to run jerky then receieing any network data will also block for short<br />
> moments.<br />
> An option could be to use UDP instead of TCP, because then send doesn&#8217;t<br />
> have to wait for response from the receiver and just dumps the data into<br />
> the network.<br />
><br />
> Olaf<br />
></olaf></p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

