-
... w = Window .new.front; v = CompositeView (w, Rect (50,50,300,300)); c = Color .rand; d = c.vary(0.15); v.background = HiliteGradient (c, d, \v ); [c, d].postln ) ( var w, k, c, d, e, c1, c2, f, g; w = Window .new.front; k = Slider2D (w, Re ...
-
... nicode) The default keydown actions are: key action comment r valueAction_ (1.0.rand) n valueAction_ (0) x valueAction_ (1) c valueAction_ (0.5) ] increment by step [ decrement by step unicode 16rF700, increment by step up arrow unicode 16r ...
-
... (VLayout( *( 100.collect { Slider().orientation_(\horizontal).background_(Color.rand) } ) )); view.front; ) // combining HLayout and VLayout ( w = Window().front; a = { { Button(w) } ! 10 } ! 10; w.layout = HLayout(*a.collect { |x| VLayout( ...
-
... t_(HLayout( *( 100.collect { Slider().orientation_(\vertical).background_(Color.rand) } ) )); view.front; ) // combining HLayout and VLayout ( w = Window().front; a = { { Button(w) } ! 10 } ! 10; w.layout = HLayout(*a.collect { |x| VLayout( ...
-
... t); // restore ~locs = Window.getAll.postcs; Window.findAll(\c).do(_.moveTo(800.rand, 800.rand)); Window.setAll(~locs, true); Window.getAllCS; */ + Point { flipY { ^x @ (Window.screenBounds - y) } } + Rect { flipY { var flippedTop = Window. ...
-
... umIns = 2; var numOuts = 2; var bounds = Rect((Window.screenBounds.width - 450).rand, (Window.screenBounds.height - 400).rand, 450, 400); var name = "HrDIYSynth"; ^super.new(argParentApp, name, argIdent, argUniqueID, argExtraArgs, bounds, n ...
-
... t); // restore ~locs = Window.getAll.postcs; Window.findAll(\c).do(_.moveTo(800.rand, 800.rand)); Window.setAll(~locs, true); Window.getAllCS; */ + Point { flipY { ^x @ (Window.screenBounds.height - y) } } + Rect { flipY { var flippedTop = ...
-
... preset".postcln; object.stepCurr(-1); // gui_updateListItem.(); }, '?', { "load rand preset".postcln; object.stepCurr((object.settingNames.size-1).rand+1); // gui_updateListItem.(); }, '>', { "load next preset".postcln; object.stepCurr(1); ...
-
... umIns = 1; var numOuts = 0; var bounds = Rect((Window.screenBounds.width - 350).rand, (Window.screenBounds.height - 115).rand, 450, 115); var name = "HrSimpleModulator"; ^super.new(argParentApp, name, argIdent, argUniqueID, argExtraArgs, bo ...
-
... ReplaceOut .ar( 6, Mix .arFill(7, { CombL .ar( In .ar(4, 1), 0.1, LFNoise1 .kr( Rand (0, 0.1), 0.04, 0.05), 15) }) ) }).load(s); SynthDef ( "allpass" , { arg gain = 0.2; var source; source = In .ar(6, 1); 4.do({ source = AllpassN .ar(source ...