[Sc-devel] 3.2: OSX server GUI stuff
Andrea Valle
valle at di.unito.it
Wed Jan 30 06:57:54 PST 2008
This does not work in my startup. (The problem is startup)
GUI.swing ;
Server.internal.window.close ;
Server.local.window.close ;
SwingOSC.default.boot ;
SwingOSC.default.waitForBoot({
Server.local.makeWindow;
});
ERROR: Primitive '_SCWindow_ToFront' failed.
operation cannot be called from this Process.
Best
-a-
On 30 Jan 2008, at 14:34, James Harkins wrote:
> On Jan 30, 2008, at 8:28 AM, Andrea Valle wrote:
>
>>> You mean the "3.wait"? See the discussions over the past two or
>>> three
>>> days about the Windows port, there was some discussion about exactly
>>> this and IIRC there was a more elegant way to do it, but I can't
>>> remember what right now.
>>
>> Hmm, I haven't notice it. I'll take a look.
>
> The interface is the same as scsynth for this. On scsynth, you
> wouldn't do
>
> s.boot;
> SynthDef(...).send(s);
>
> Better is
>
> s.waitForBoot({
> SynthDef(...).send(s);
> });
>
> So it is with SwingOSC.
>
> SwingOSC.default.waitForBoot({
> s.makeWindow;
> });
>
> Not so exotic, really.
> hjh
>
>
> : H. James Harkins
> : jamshark70 at dewdrop-world.net
> : http://www.dewdrop-world.net
> .::!:.:.......:.::........:..!.::.::...:..:...:.:.:.:..:
>
> "Come said the Muse,
> Sing me a song no poet has yet chanted,
> Sing me the universal." -- Whitman
>
> _______________________________________________
> Sc-devel mailing list
> Sc-devel at create.ucsb.edu
> http://lists.create.ucsb.edu/mailman/listinfo/sc-devel
--------------------------------------------------
Andrea Valle
--------------------------------------------------
CIRMA - DAMS
Università degli Studi di Torino
--> http://www.cirma.unito.it/andrea/
--> http://www.myspace.com/andreavalle
--> andrea.valle at unito.it
--------------------------------------------------
"
Think of it as seasoning
. noise [salt] is boring
. F(blah) [food without salt] can be boring
. F(noise, blah) can be really tasty
"
(Ken Perlin on noise)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.create.ucsb.edu/pipermail/sc-devel/attachments/20080130/5d27985f/attachment.html
More information about the Sc-devel
mailing list