<?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: code translation? max/msp-&gt; java or C</title>
		<atom:link href="http://cycling74.com/forums/topic/code-translation-maxmsp-java-or-c/feed" rel="self" type="application/rss+xml" />
		<link>http://cycling74.com/forums/topic/code-translation-maxmsp-java-or-c/feed</link>
		<description></description>
		<pubDate>Tue, 18 Jun 2013 21:09:15 +0000</pubDate>
		<generator>http://bbpress.org/?v=2.2.4</generator>
		<language></language>

		
														
					
				<item>
					<guid>http://cycling74.com/forums/topic/code-translation-maxmsp-java-or-c/#post-33520</guid>
					<title><![CDATA[code translation? max/msp-&gt; java or C]]></title>
					<link>http://cycling74.com/forums/topic/code-translation-maxmsp-java-or-c/#post-33520</link>
					<pubDate>Tue, 04 Sep 2007 02:21:42 +0000</pubDate>
					<dc:creator>xenakis</dc:creator>

					<description>
						<![CDATA[
						<p>Hi everyone,</p>
<p>I was wondering if there are any programs that would translate<br />
the text code of a max patch to java or C code automatically.</p>
<p>A few years back, I programmed a very complex patch for tracing<br />
3d paths that are used to spatialize sound in 3D. I would like<br />
to keep working on this program, but it would be much easier<br />
in C and more efficient.</p>
<p>Or course, I could port the code myself&#8230; but, this would be long.</p>
<p>Is this even possible?</p>
<p>thanks</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/code-translation-maxmsp-java-or-c/#post-111742</guid>
					<title><![CDATA[Re: code translation? max/msp-> java or C]]></title>
					<link>http://cycling74.com/forums/topic/code-translation-maxmsp-java-or-c/#post-111742</link>
					<pubDate>Tue, 04 Sep 2007 03:54:58 +0000</pubDate>
					<dc:creator>bbnickell</dc:creator>

					<description>
						<![CDATA[
						<p>You&#8217;re better off learning C and writing it yourself than what you&#8217;re asking<br />
for.</p>
<p>Writing a parser that takes pat file input and automatically parses that<br />
into C/C++ or even Java source code is a &#8220;hard problem.&#8221; Code synthesis<br />
tools do exist, like Rational Rose based on UML/object to code generation.<br />
However if you ever look at the code generated, you&#8217;ll realize why tools<br />
like this are a ways off from being taken more seriously by developers. I<br />
would suggest looking for a patch or a tool that already does what you&#8217;re<br />
asking for. It will be much easier than writing a parser.</p>
<p>Brandon</p>
<p>
On 9/3/07, Pierre-Emmanuel Levesque
<pancakepalace @hotmail.com> wrote:<br />
><br />
><br />
> Hi everyone,<br />
><br />
> I was wondering if there are any programs that would translate<br />
> the text code of a max patch to java or C code automatically.<br />
><br />
> A few years back, I programmed a very complex patch for tracing<br />
> 3d paths that are used to spatialize sound in 3D. I would like<br />
> to keep working on this program, but it would be much easier<br />
> in C and more efficient.<br />
><br />
> Or course, I could port the code myself&#8230; but, this would be long.<br />
><br />
> Is this even possible?<br />
><br />
> thanks<br />
></pancakepalace></p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/code-translation-maxmsp-java-or-c/#post-111743</guid>
					<title><![CDATA[Re: code translation? max/msp-> java or C]]></title>
					<link>http://cycling74.com/forums/topic/code-translation-maxmsp-java-or-c/#post-111743</link>
					<pubDate>Tue, 04 Sep 2007 04:02:07 +0000</pubDate>
					<dc:creator>xenakis</dc:creator>

					<description>
						<![CDATA[
						<p>Thanks,</p>
<p>I was expecting this kind of reply. I do a lot of web programming so I know how editors create crappy bloated code. I do all my coding by hand.</p>
<p>I was just wondering what if? And wanted to be 100% sure.</p>
<p>I&#8217;ll have to move my code to C myself. </p>
<p>I have never found anything that does what my patch does.</p>
<p>thanks.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/code-translation-maxmsp-java-or-c/#post-111744</guid>
					<title><![CDATA[Re: code translation? max/msp-> java or C]]></title>
					<link>http://cycling74.com/forums/topic/code-translation-maxmsp-java-or-c/#post-111744</link>
					<pubDate>Tue, 04 Sep 2007 10:44:23 +0000</pubDate>
					<dc:creator>Peter Castine</dc:creator>

					<description>
						<![CDATA[
						<p>Quote: bbnickell wrote on Tue, 04 September 2007 05:54<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
> Writing a parser that takes pat file input and automatically parses that<br />
> into C/C++ or even Java source code is a &#8220;hard problem.&#8221; <br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p>Not only that, but your code generator would need to know how every  object instantiated in your patch works. IOW, it would need to be able to re-implement all ~340 standard objects from 2d.wave~ to zmap, about 50 UI objects (from dial to zplane~), a couple dozen built-in objects (from message box to patcher), never mind objects by independent developers (www.maxobjects.com lists about 3,500 such items, ranging from ! to zerocross~).</p>
<p>That&#8217;s a pretty massive code project.</p>
<p>I have worked on re-implementing a massive Max/MSP application (ca. 1.5MB patcher code) to C/C++. Although there is quite a bit of work involved, it is considerably more tractable than attempting to build a general &#8220;Max to C translator&#8221;. The biggest effort is recreating the quite rich world of Max UI elements. The actual calculations are usually fairly straight forward.</p>
<p>Which reminds me: does anyone know of a Windows Forms equivalent for multislider?</p>
<p>&#8211; P.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/code-translation-maxmsp-java-or-c/#post-111745</guid>
					<title><![CDATA[Re: code translation? max/msp-> java or C]]></title>
					<link>http://cycling74.com/forums/topic/code-translation-maxmsp-java-or-c/#post-111745</link>
					<pubDate>Thu, 17 Jun 2010 10:40:19 +0000</pubDate>
					<dc:creator>lifeinasong</dc:creator>

					<description>
						<![CDATA[
						<p>what&#8217;s up gentlemen,</p>
<p>I stumbled across this exchange in the midst of my own research and I thought I&#8217;d take a shot in the dark here&#8230;  </p>
<p>&#8220;I have worked on re-implementing a massive Max/MSP application (ca. 1.5MB patcher code) to C/C++. Although there is quite a bit of work involved, it is considerably more tractable than attempting to build a general &#8220;Max to C translator&#8221;. The biggest effort is recreating the quite rich world of Max UI elements. The actual calculations are usually fairly straight forward.&#8221;</p>
<p>I am an aspiring programmer who is working on a couple of different personal music applications and I desire to get down to the heart of the beast when it comes to building/coding my Frankenstein.  Foremost, I have every intention to be my own &#8220;Max to C translator&#8221;, however, I am new to programming on such a low level. Turns out, I am a sponge and everything I&#8217;ve learned so far has come with an encouraging level of fluidity although I owe that to everyone who has pointed me in the right direction (even if it&#8217;s back from where I came). </p>
<p>&#8220;The actual calculations are usually fairly straight forward.&#8221;</p>
<p>No point in dancing around it&#8230; Where is a good place to start learning how to make the calculations and what information do I use to do them?  </p>
<p>I know that this has to be the simplest and most basic way to communicate with the computer and that is what I want to do.  So that when I tell it to do something, nothing else gets in the way.  I figure this is the best way to get the most efficient and consistent response from an application of any kind.</p>
<p>Any thoughts would be sincerely appreciated&#8230;hope someone actually reads this haha</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/code-translation-maxmsp-java-or-c/#post-111746</guid>
					<title><![CDATA[Re: code translation? max/msp-> java or C]]></title>
					<link>http://cycling74.com/forums/topic/code-translation-maxmsp-java-or-c/#post-111746</link>
					<pubDate>Thu, 17 Jun 2010 20:26:34 +0000</pubDate>
					<dc:creator>seejayjames</dc:creator>

					<description>
						<![CDATA[
						<p>Along these lines, I&#8217;m wondering about the Max-to-Arduino project that Cycling is apparently working on&#8230; any word yet? Saw a small demo of it last year. You use a set of special objects and make your patch, it generates Arduino code from it. Rather like what&#8217;s being described here, but understandably not using the massive set of already-implemented objects, which would be insane to try and tackle.</p>
<p>Still, I would love to tinker around with that&#8230; imagine the learning possibilities for Max users who aren&#8217;t great with code, but even more important, code users who are learning Max. This would give them something they understand right away and allow them to see how it&#8217;s implemented in a patch.</p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

