<?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: porting java class-based object to c</title>
		<atom:link href="http://cycling74.com/forums/topic/porting-java-class-based-object-to-c/feed" rel="self" type="application/rss+xml" />
		<link>http://cycling74.com/forums/topic/porting-java-class-based-object-to-c/feed</link>
		<description></description>
		<pubDate>Wed, 19 Jun 2013 06:42:03 +0000</pubDate>
		<generator>http://bbpress.org/?v=2.2.4</generator>
		<language></language>

		
														
					
				<item>
					<guid>http://cycling74.com/forums/topic/porting-java-class-based-object-to-c/#post-28406</guid>
					<title><![CDATA[porting java class-based object to c]]></title>
					<link>http://cycling74.com/forums/topic/porting-java-class-based-object-to-c/#post-28406</link>
					<pubDate>Sat, 28 Oct 2006 13:04:52 +0000</pubDate>
					<dc:creator>oli larkin</dc:creator>

					<description>
						<![CDATA[
						<p>I have made a multi-stage allpass filter in mxj~ by modifying the phaser.class in the mxj~ examples. I would like to port this to a C module but I am unsure how best to rewrite the code (It uses classes). Is there a simple way that I can use C++ in a max module? Does anyone have a template for doing this? I can&#8217;t use flext since I need to make a UB version.</p>
<p>thanks,</p>
<p>oli larkin</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/porting-java-class-based-object-to-c/#post-87132</guid>
					<title><![CDATA[Re: porting java class-based object to c]]></title>
					<link>http://cycling74.com/forums/topic/porting-java-class-based-object-to-c/#post-87132</link>
					<pubDate>Sun, 29 Oct 2006 21:01:48 +0000</pubDate>
					<dc:creator>Peter Castine</dc:creator>

					<description>
						<![CDATA[
						<p>On 28-Oct-2006, at 15:04, Oliver Larkin wrote:</p>
<p>> I have made a multi-stage allpass filter in mxj~ by modifying the  <br />
> phaser.class in the mxj~ examples. I would like to port this to a C  <br />
> module but I am unsure how best to rewrite the code (It uses  <br />
> classes). Is there a simple way that I can use C++ in a max module?  <br />
> Does anyone have a template for doing this? I can&#8217;t use flext since  <br />
> I need to make a UB version.</p>
<p>I think it would be easier to rewrite the code in plain-vanilla C  <br />
rather than try to port flext to XCode/Mach-O/UB (although I don&#8217;t  <br />
consider the latter a massively impossible task, either). Or you  <br />
could write your own C++ wrapper if you&#8217;re determined enough (that&#8217;s  <br />
probably the hardest of the three options).</p>
<p>Porting Java to C is not hard. You will want a complete sample MSP  <br />
object to use as a starting point, but the MSP SDK gives you all you  <br />
need.</p>
<p>&#8211; P.</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8211;    <a href="http://www.bek.no/~pcastine/Litter/" rel="nofollow">http://www.bek.no/~pcastine/Litter/</a>    &#8212;&#8212;&#8212;&#8212;-<br />
Peter Castine             +&#8211;> Litter Power &#038; Litter Bundle for Jitter<br />
                                Universal Binaries on the way<br />
iCE:  Sequencing,  Recording &#038;<br />
       Interface  Building  for                   |home    | chez nous|<br />
       Max/MSP   Extremely cool                   |bei uns |  i nostri|<br />
       <a href="http://www.dspaudio.com/" rel="nofollow">http://www.dspaudio.com/</a>                   <a href="http://www.castine.de" rel="nofollow">http://www.castine.de</a></p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/porting-java-class-based-object-to-c/#post-87133</guid>
					<title><![CDATA[Re: porting java class-based object to c]]></title>
					<link>http://cycling74.com/forums/topic/porting-java-class-based-object-to-c/#post-87133</link>
					<pubDate>Sun, 29 Oct 2006 22:39:18 +0000</pubDate>
					<dc:creator>gr@grrrr.org</dc:creator>

					<description>
						<![CDATA[
						<p>
Am 29.10.2006 um 22:01 schrieb Peter Castine:</p>
<p>> On 28-Oct-2006, at 15:04, Oliver Larkin wrote:<br />
><br />
>> I have made a multi-stage allpass filter in mxj~ by modifying the  <br />
>> phaser.class in the mxj~ examples. I would like to port this to a  <br />
>> C module but I am unsure how best to rewrite the code (It uses  <br />
>> classes). Is there a simple way that I can use C++ in a max  <br />
>> module? Does anyone have a template for doing this? I can&#8217;t use  <br />
>> flext since I need to make a UB version.</p>
<p>Actually, flext seems to compile and run ok under Mac/Intel. The only  <br />
thing is that i haven&#8217;t had time to update the build system, so you  <br />
would have to make your own xcode project (for a statically linked  <br />
build it&#8217;s easy: just link in all flext .cpp files, and define  <br />
FLEXT_SYS=1)</p>
<p>best greetings,<br />
Thomas</p>
<p>&#8211;<br />
Thomas Grill</p>
<p><a href="http://grrrr.org" rel="nofollow">http://grrrr.org</a></p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/porting-java-class-based-object-to-c/#post-87134</guid>
					<title><![CDATA[Re: porting java class-based object to c]]></title>
					<link>http://cycling74.com/forums/topic/porting-java-class-based-object-to-c/#post-87134</link>
					<pubDate>Sun, 29 Oct 2006 22:55:34 +0000</pubDate>
					<dc:creator>gr@grrrr.org</dc:creator>

					<description>
						<![CDATA[
						<p>
Am 29.10.2006 um 23:39 schrieb Thomas Grill:</p>
<p>><br />
> Am 29.10.2006 um 22:01 schrieb Peter Castine:<br />
><br />
>> On 28-Oct-2006, at 15:04, Oliver Larkin wrote:<br />
>><br />
>>> I have made a multi-stage allpass filter in mxj~ by modifying the  <br />
>>> phaser.class in the mxj~ examples. I would like to port this to a  <br />
>>> C module but I am unsure how best to rewrite the code (It uses  <br />
>>> classes). Is there a simple way that I can use C++ in a max  <br />
>>> module? Does anyone have a template for doing this? I can&#8217;t use  <br />
>>> flext since I need to make a UB version.<br />
><br />
> Actually, flext seems to compile and run ok under Mac/Intel. The  <br />
> only thing is that i haven&#8217;t had time to update the build system,  <br />
> so you would have to make your own xcode project (for a statically  <br />
> linked build it&#8217;s easy: just link in all flext .cpp files, and  <br />
> define FLEXT_SYS=1)<br />
></p>
<p>Oops, i forgot&#8230; this is only valid for the cvs version, not the  <br />
packaged one on my website.<br />
flext cvs can be fetched from anonymous@pure- <br />
data.cvs.sourceforge.net:/cvsroot/pure-data/externals/grill/flext</p>
<p>all the best,<br />
Thomas</p>
<p>&#8211;<br />
Thomas Grill</p>
<p><a href="http://www.grrrrgle.com" rel="nofollow">http://www.grrrrgle.com</a></p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/porting-java-class-based-object-to-c/#post-87135</guid>
					<title><![CDATA[Re: porting java class-based object to c]]></title>
					<link>http://cycling74.com/forums/topic/porting-java-class-based-object-to-c/#post-87135</link>
					<pubDate>Thu, 02 Nov 2006 02:15:50 +0000</pubDate>
					<dc:creator>oli larkin</dc:creator>

					<description>
						<![CDATA[
						<p>thanks for your replies. In the end i found it was very simple just to port it to C.</p>
<p>oli</p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

