If the target platform is Windows then distribution of a pd/GEM binary with the patch(es) you want to use is most likely possible. I would try stripping pd down to the /bin folder with all it's contents and the /extra folder with the GEM dll and your patches inside it, and write a script to launch pd with GEM and your patch. Perhaps defaulting the audio to the first stereo output would be enough, but I'm sure that some configurations would have trouble with that and have to set the devices using 0.37's menus.
For OSX, a version of Pd compiled against an included local copy of tcl/tk might work. Try changing the configure and make to look for ../tcl instead of /Library/Frameworks for the libs. I might test this out myself over the weekend.
cgc
On Jan 2, 2004, at 10:23 AM, Richard Skelton wrote:
Thanks for your reply Ben.
I don't know whether you're familiar with Macromedia Director, but it allows you to create fairly self-contained audio visual pieces that can be distributed as windows ".exe" applications on CDROM.
These can either be launched from CD, or copied to hard disk and run with minimal hassle. I think Director uses Microsoft's DirectSound component of DirectX, although the functionality is very restricted - you can just about play multiple audio samples and vary their pitch, volume and pan, but that's about it. No synthesis or DSP (unless using proprietary plugins, no doubt).
I'm looking to move onto something more powerful, whilst retaining the ability to create and distribute something on CD that is hassle free for the end-user.
I became interested in PD, as it looks like you can build an audio engine from the ground up, but I haven't read anything to say that patches can be compiled into a form that is executable on target machines that don't have PD installed.
Maybe this paradigm only works if your using, at some level, microsoft technology - I know, for example, that you need the JVM installed to run Java applications...
Any ideas or pointers would be greatly appreciated.
Richard.