Hi Matti,
On 10/02/16 01:18, Matti Viljamaa wrote:
Is it possible to get Pd GUI through Pd API in order to be able to
display it in a “wrapper program” for Pd?
We’re looking to develop a wrapper over Pd and we’d like to be able
to display the Pd Editor as well.
In the past the way I did this was in the host language simply call Pd with -nogui or without, depending on the user's requirements. Of course, it requires a restart of the Pd process which can be annoying depending on the requirements of your application.
The host language I was using was Python, which managed the Pd process. There is some code here:
https://mccormick.cx/projects/PyPd/index.shtml
I'll get this converted to a git repo if it's useful to somebody.
I think I built this ridiculous thing with it, but I don't remember:
https://github.com/chr15m/phonon
Oh wait, no, that was nodejs and somebody else built a nodejs module for doing the same as PyPd above but in nodejs.
Cheers,
Chris.