Open shakfu opened 1 month ago
Interesting! Thanks for pointing this out. I'm not actively working on this at the moment as chatGPT is so bad at generating patches, not in terms of syntax, it generally returns a valid patch, but it doesn't understand max very well, but if I'm tempted back to it i'll definitely look at this.
The code of this actually also includes a way to generate max patches by generating js instead of max compatible JSON, which you can then run to generate the patch. Have a look at https://github.com/twhiston/maxGPT/blob/main/misc/prompts.md for a prompt you can use to do this and https://github.com/twhiston/maxGPT/tree/main/javascript/maxjs for the parser
Thanks @twhiston for your reply.. It's an intriguing project.. If I have some spare capacity, I'll play around with this and see where it ends up...
@shakfu For sure! If you make any progress I'd happily accept PR's for improvements and I'll be excited to see what you come up with. Thanks for the interest :)
Cool project!
Since I understand that ChatGPT is generating .maxpat json format, I thought you may find my py2max possibly useful in this regard since it generates the same.