-
... source state, and envir state. Optionally, its envir can also be edited. First example: g = TdefGui (); // make a TdefGui g.object = Tdef ( \a ); // show when a Tdef is put in Tdef ( \a , { "boing" .postln }); // show whether it has a sour ...
-
... arrow unicode 16rF702, value - 1 left arrow All of these are done with action . Examples ( w = Window .new( "The Eightfold Path" ).front; m = PopUpMenu (w, Rect (10,10,180,20)); m.items = [ "right view" , "right thinking" , "right mindfulne ...
-
... 4, 2, 3, 1b], inf ), \pan , Pfunc (#{ 1.0.rand2 }) ).play ) //////// recursion examples ////////// // the given pattern can be recursively applied to itself // resulting in selfsimilar sound structures, like lindenmeyer systems (see also P ...
-
... r to make make a skijack options additional settings - currently none provided. Example ( p = ProxySpace .push(s.boot, p); "abcde" .do { |k| p[k.asSymbol].ar }; m = ProxyMixer (p, 8, options: [ \playN ]); p.do( _ .play(0)); ) m.object_( nil ...
-
... instance, t = TempoClock.default .) For fun, change the tempo and run the last example again: ( var timeNow; TempoClock .default.tempo = 2; // 2 beats/sec, or 120 BPM timeNow = TempoClock .default.beats; "Time is now: " .post; timeNow.post ...
-
... black); f.startRow; "Back to flowing" .gui(f); ) // note: some of the following examples use ActionButton from the crucialib // tests ( FlowView .new.flow({ arg f; // b = ActionButton(f,"hi",minWidth:140) }).background_( Color .grey) ) ( Fl ...
-
... atterns together, so that all their key-value pairs go into the same event. For example, if one part of your code creates a Pbind instance a = Pbind(\a, patternA) and another part creates b = Pbind(\b, patternB, \c, patternC), you could app ...
-
... 0.04, 1.0, 1); LFGauss .ar(0.1, width, loop: 1).range(0, 1); }.plot(1) ); Sound examples: // modulating duration { LFGauss .ar( XLine .kr(0.1, 0.001, 10), 0.03) * 0.2 }.play; // modulating width, freq 60 Hz { LFGauss .ar(1/60, X Line .kr(0. ...
-
... minWidth , \maxWidth , \minHeight , \maxHeight , \knobColor , \step , \x , \y ] Examples ( w = Window ( "Slider2D" , Rect (100,100, 140 ,140)); t = Slider2D (w, Rect (20, 20,80, 80)) .x_(0.5) // initial location of x .y_(1) // initial locat ...
-
... 0.25.wait; } }; TempoClock .default.tempo = 1; x.stop; x.play; x.stop; // sound example ( // load a synthdef s.boot; SynthDef ( "pdef_grainlet" , { arg out=0, freq=440, sustain=0.05; var env; env = EnvGen .kr( Env .perc(0.01, sustain, 0.3), ...