[PD] A way to query the current platform
Chris McCormick
chris at mccormick.cx
Wed Sep 24 06:15:39 CEST 2014
Hi Miller,
Now that Pd is running on diverse platforms and variants, it would be
very useful to have a generic interface that a patch can use to query
the current platform. Something like sending a "getinfo" message to the
pd object which would send back e.g.:
list osx vanilla pure-data
list linux pd-l2ork pure-data
list ios zengarden
list android droidparty libpd pure-data
The use-case for this is things like:
* On Android, audio latency is high and needs to be factored in by patches.
* A patch that wants to load a text file might need to use a different
path delimiter on linux versus windows.
What are your thoughts on this?
I am assuming the Pd-l2ork fellows will pipe up with some already
implemented solution. :)
Cheers,
Chris.
--
http://mccormick.cx/
More information about the Pd-list
mailing list