Hi all,
Is it possible for a PD external to detect its environment? By this I mean, distinguishing whether it runs on PD standalone on desktop, vs running in say libpd in an embedded environment?
Thanks!
Have a Puredata external detect its environment (if running under libpd, or PD standalone)?
Hi all,
Is it possible for a PD external to detect its environment? By this I mean, distinguishing whether it runs on PD standalone on desktop, vs running in say libpd in an embedded environment?
Thanks!
I don't think so (built-in), but there is always a way depending of what you are trying to achieve.
@sdaau_ml It is possible that the embedded environment would not cope with a stack overflow..... but creating one would destroy the threading...... so you would know, but not in a useful way.
You might be able to build an external, or a pd plug-in, to do this...... https://stackoverflow.com/questions/44903803/how-to-detect-app-server-embedded-or-standalone
The other suggestions for publishing a bean etc. are here..... https://stackoverflow.com/questions/32884708/how-to-check-if-spring-boot-is-running-in-standalone-or-embedded-mode
David.
Oops! Looks like something went wrong!