AI convert Max to Python = APP Store!

yerpzs's icon

Hello

I wonder if it is possible to use an AI to somehow convert a simple max patch into python or some other language so that the new translation can be uploaded to an APP store be it Andriod or Apple?

I wonder if an AI could create a stand alone translation program...

Max2App.exe?

What would we need to provide and ask it?

Just a fun idea I had to share.

There is https://codepal.ai/language-translator but with no max/msp on the list.

I havent been here in a long while, nice to see you all.

Peace.

Anthony Palomba's icon

I seriously doubt that it could. Max is not a text based functional programming language, it is a graphical programming language. I don't think there are any examples that an AI could train on.

Dirk's icon

all sorts of fun can be had since max patches are saved as good ole' json and llms love json -- have a play going both directions (max json <=> llm prompts <==> language of choice)...

Shakeeb Alireza's icon

You can convert python -> Max and Max -> python with my py2max python library for offline generation of Max/MSP patcher (.maxpat) files.

yerpzs's icon

Thank you all

Very interesting.

Thank you for the github link Shakeeb.

I cant wait to try some things out when I am back in front of max.

Hoping it will be soon.

I shall report back to the form when I get around to this.

Have a great summer.

:)