-
... thDef ( \pgrain , { arg out = 0, freq=800, sustain=0.001, amp=0.5, pan = 0; var window; window = Env .sine(sustain, amp * AmpCompA .kr(freq)); Out .ar(out, Pan2 .ar( SinOsc .ar(freq), pan ) * EnvGen .ar(window, doneAction:2) ) } ).store; Sy ...
-
... view. bounds - An instance of Rect , or a Point indicating width@height. ( w = Window ( "NumberBox Example" , Rect (100, 500, 400, 120)); b = NumberBox (w, Rect (150, 10, 100, 20)); b.value = rrand(1,15); b.action = { arg numb; numb.value. ...
-
... ent , // a view to display proxymixer on, // ProxySpace.asCode // if nil, a new window is made. where // can be set in bounds bounds , // can be nil for default size, // or a point for a specific location onscreen, // or a Rect [makeSkip, o ...
-
... t,bounds) In the simplest respect this is a lazy contraction of this : w = GUI .window.new; w.view.decorator = FlowLayout .new( w.bounds ); w.front; FlowView add some features to this setup. ( f = FlowView .new; GUI .slider.new(f, Rect (0,0 ...
-
... is written from a Mac OSX perspective, but much of it should apply to linux and windows as well. The parts which specifically differ have mostly to do with GUI aspects (Graphical User Interface). I should acknowledge that this tutorial is ' ...
-
... / to show sync rate ] } ) // scoping the saw: hit 's' when focused on the scope window to compare the channels ( scope { var freq = 400; [ SyncSaw .ar(freq, freq * MouseX .kr(1, 3)), // modulate saw freq Impulse .ar(freq) // to show sync ra ...
-
Post posts text to the post window Inherits from: Object The class Post is a stream destination. a = "a string" ; b = 'a symbol' ; c = 4; d = [1,2,3,4,a,b]; // post as string Post << a << Char .nl; // post as compile string Post <<< a << Ch ...
-
... . Returns the content of object when dragging from an SCDragBoth. Examples ( w= Window .new.front; w.addFlowLayout; // store various kinds of objects in the drag source // a string source a= DragBoth (w, Rect (10,10,150,20)).align_( \center ...
-
... ple ( var a, c, w; a = Plprand (0.0, 1.0, inf ); c = a.asStream.nextN(500); w = Window .new( "Plprand" , Rect (10, 10, 540, 800)); // plot the values c.plot(bounds: Rect (10, 10, 520, 380), discrete: true , parent: w); // a histogram of the ...
-
... ple ( var a, c, w; a = Phprand (0.0, 1.0, inf ); c = a.asStream.nextN(500); w = Window .new( "Phprand" , Rect (10, 10, 540, 800)); // plot the values c.plot(bounds: Rect (10, 10, 520, 380), discrete: true , parent: w); // a histogram of the ...