Thanks a lot to all.
The new GUI stuff is amazing. My only problem is that I have to
update the Italian manual now...
I think we should point to:
While following the "general" link I re-downloaded 3.2
I don't know if it is well-known, but I am obtaining some
errors while evaluating code from GUI-overview (I'm on macosx10.4 with
Swing 0.59)
(
w=Window.new.front; // Use Rect for precise
placement in a CompositeView
v=CompositeView(w, Rect(50,50,300,300));
v.background_(Color.grey); // give the subview a visible
color
v.relativeOrigin = true; // use relative coordinates
Slider(v, Rect (50,50,220,20)) // so this is equivalent when
Window is used as a parent
)
-->
ERROR: Message 'relativeOrigin_' not understood.
RECEIVER:
Instance of JSCCompositeView { (0F118510,
gc=60, fmt=00, flg=00, set=06)
instance variables [33]
dataptr : Integer 1130
parent : instance of JSCTopView (0F1182F0,
size=34, set=6)
action : nil
etc
°°°°°°°°°°°°°°°°°°°°°°
(
s.waitForBoot({
n={arg freq=220;
var out;
out=SinOsc.ar(freq,0,0.2);
8.do{out = AllpassN.ar(out, 0.2,0.02+0.20.rand,8)};
out;
}.play;
w = Window("Use arrow keys to change the
frequency by steps", Rect(100, 500, 500, 120));
b = NumberBox(w, Rect(200, 10, 100, 20));
b.value = 220;
b.action = "">arg numb; n.set(\freq, numb.value); }; // set the action here to
change the frequency.
b.addAction ( {w.view.background = "">Gradient( Color.rand, Color.rand)}); // add another action here.
b.step=55; //make the step a fraction of
the freq
b.focus;
w.front;
CmdPeriod.doOnce({w.close});
});
)
No gradient with Swing. The same for all examples, including the
one with fillAxialGradient.
The following freezes SC:
(
s.waitForBoot({
SynthDef("test", { arg out, freq=330, amp=0.6;
Out.ar(out, SinOsc.ar(freq,0,amp))
}).store;
SynthDescLib.global.at(\test).makeWindow;
});
)
Uhm, maybe we should pay more attention to swing, as it is the
default non-mac GUI
Best
-a-
On 25 Dec 2008, at 11:51, Julian Rohrhuber wrote:
Thanks to all contributors! Many things
have been improved (see ChangeLog), and the GUI documentation reworked.
Please let us know if anything does not work as it should.
--
.
_______________________________________________
sc-users mailing list
--------------------------------------------------
Andrea Valle
--------------------------------------------------
CIRMA - DAMS
Università degli Studi di Torino
--------------------------------------------------
"The objectives of SuperCollider have been taken a stage further
with the development of SAOL, the fruits of a research project based at
MIT, launched in 1998"
(P. Manning, Electronic and Computer Music, revised and expanded
edition, 2004)