Forums > Java

Playing maxpat files from the Java side

December 30, 2011 | 5:20 pm

Hey,

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

Is that possible?

Thanks,
Ronny



Jan
January 4, 2012 | 1:43 pm

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


Viewing 2 posts - 1 through 2 (of 2 total)