Faust source code integration into MaxMSP

Dirollo.martin's icon

Hello everyone,

I'm currently working on an external which would allow users to efficiently integrate Faust source code into Max/MSP in a user-friendly way. The Faust compiler already allows to build Max externals, but I would like the integration to be more powerful
I'd like to make it work in a similar way as Gen : creating a "faustgen~" object would then allow to open a text editor (or a subpatch with a code editor), which would recompile the object upon leaving, and load it in the main patch.

Anyone has any information on how Gen works (I don't think its sources are available, but any info would be nice) ? Alternately, does anyone know if it's possible to use a Gen interface, but force it to use another compiler ?

Greetings
Martin

Graham Wakefield's icon

As it happens... I've put some time into writing a Faust -> GenExpr translator, though I haven't had as much time as I'd hoped to work on it. I don't know to what extent that overlaps with what you'd be interested in?

Dirollo.martin's icon

Thanks for your answer!

It wasn't exactly what I had in mind, but indeed it might prove useful.
My original plan was for something much more integrated, making it easier to use.
For instance, I kinda like how easy it is to integrate simple java code into max, by using mxj quickie, which is why I wanted to do something similar for Faust (and even more user-friendly, seeing how Gen is simple to use)