Playing maxpat files from the Java side

Dec 30, 2011 at 5:20pm

Playing maxpat files from the Java side

Hey,

I’m a java developer and I’m trying to play a maxpat file from a java application.

Is that possible?

Thanks,
Ronny

#60932
Jan 4, 2012 at 1:43pm

Hi Ronny,

If you mean executing a .maxpat from a Java environment outside Max (using Java instead of Max) the answer is no.

If you look inside the .maxpat you’ll see that this is just a big JSON object storing the information about the max-patch. this information will be only useful to max.

but you should be able to open a .maxpat with max from the Java environment.

maybe you can search around this:

Runtime.getRuntime().exec();

AND (java.awt.Desktop):

Desktop.getDesktop().open();

Jan

#219425

You must be logged in to reply to this topic.