On 18 Feb 2003, Patrice Tisserand wrote:
On Thu, 2003-02-13 at 05:15, Mathieu Bouchard wrote:
controlling jMax from the Web and from PureData I created a new class "ruby_udpsend" that is an emulation of jMax's "udpsend". Which means you can send messages from PureData to jMax. I create an objectbox "ruby_udpsend localhost 2042" in PureData. Then I create an objectbox "udpreceive 2042" in jMax. Then messages i send to ruby_udpsend will be catched by jMax.
Wow, it seems very nice.
udpreceive object is not available in jMax 4.0.1. But we have fixed it in current CVS. I will try your pd object in few days.
Interesting. BTW udpsend/udpreceive are essential objects for our interactive installations.
By the way, it seems that I can't compile gridflow with jMax 4.0.1, but you want some help to fix compilation of gridflow with jMax 4.0.1 ? I didn't know ruby but I know FTS api ;)
Look in the "base" directory. You will see two files called "bridge_jmax.c" and "bridge_puredata.c". Each of those files is compiled into a jMax-2.5 package and a PureData external respectively. What those two do is translate messages from jMax/PD to Ruby and back, with special cases for "init" and "delete".
What you need to do is create a "bridge_jmax4.c" file that would be pretty much like "bridge_jmax.c" except that it would work with jMax 4. Another thing to do is to change the "configure"/"Makefile.gf" files to honor your new code (I can help you with that). Apart from that, no code is dependent on jMax at all.
So if you want to give it a try, send me mail about your progress and obstacles.
À la prochaine.
Mathieu Bouchard http://artengine.ca/matju