At Thu, 27 Jan 2011 09:55:05 +0000, Andrew Lambert wrote: > Hi James, > > Yep fully aware of SwingOSC greatness, it was something I was considering, > but thought you could > only access it through the sclang. Can you package up all your sc code into a > single executable > that uses SwingOSC? That would be ideal....
On Mac, yes -- you could build a standalone and then open up the app package, put SwingOSC inside, set the paths, startup file etc. and off you go. In Linux AFAIK there's no such thing as an "application bundle" so you would have to ship a directory. Search the sc list archives (don't remember if it was on sc-users or sc-dev) -- the question of per-installation configuration has come up before. I think it's possible in Linux by using a .sclang.cfg file in the same directory as the sclang executable. You would also have to hack some of the paths in LinuxPlatform. You can invoke sclang from the command line with a code file to execute, so it would not be necessary for the end-user in Linux to configure scel, sced or scvim. That code file would start the audio and GUI servers and load up the stuff that the user will be playing. sclang launch_my_app.scd Put that in a shell script and then you have a double clickable file. Windows... no idea. And, all of this will be easier when the in-development QT GUI scheme is ready. Then sclang will be able to pop up its own GUI windows, fully cross-platform ready. hjh -- James Harkins /// dewdrop world [email protected] http://www.dewdrop-world.net "Come said the Muse, Sing me a song no poet has yet chanted, Sing me the universal." -- Whitman blog: http://www.dewdrop-world.net/words audio clips: http://www.dewdrop-world.net/audio more audio: http://soundcloud.com/dewdrop_world/tracks --- [email protected] http://identi.ca/group/puredyne irc://irc.goto10.org/puredyne
