-
... alue.collect(_.quantize(quant, tol, strenght)) }; w.layout_( VLayout([ HLayout( StaticText().string_("quantum"), Slider().value_(quant).action_({arg self; quant=self.value.postln; f.()}), StaticText().string_("tolerance ...
-
... ); numbers= {NumberBox().canFocus_(false)}.dup(numChan); win.layout= VLayout(*[ HLayout(*sliders), HLayout(*numbers) ]); updateFunc= {|...args| if(Main.elapsedTime-lastTime>0.016, { //downsample to 60fps lastTime= Main.elapsedTime; args.do{ ...
-
... icatorStyle \continuous or \led (see -stepWidth ) ( w = Window().front.layout_( HLayout( LevelIndicator().style_(\continuous).value_(1/3), LevelIndicator().style_(\led).value_(2/3), ) ) ) ⧉ ✔ . stepWidth = val The width of each led light, f ...
-
... ainRecord; var backgroundImage; var win= Window("sDrone", winRect); win.layout= HLayout( VLayout( //--amplitude control section HLayout( StaticText().string_("Amplitude control").fixedWidth_(120), *ampSelectButtons= #["targets", "random", " ...
-
... _([[0],[1]]); q.window = Window(bounds:Rect(200,200,200,100)).layout_( VLayout( HLayout( *q.knobs ), HLayout( *q.numboxes ), HLayout( *q.texts ), q.button ) ).front; q.synths = [ { |freq=400| Pan2.ar( SinOsc.ar(freq)*0.2, -1.0) }.play, { |f ...
-
... _([[0],[1]]); q.window = Window(bounds:Rect(200,200,200,100)).layout_( VLayout( HLayout( *q.knobs ), HLayout( *q.numboxes ), HLayout( *q.texts ), q.button ) ).front; q.synths = [ { |freq=400| Pan2.ar( SinOsc.ar(freq)*0.2, -1.0) }.play, { |f ...
-
... .new(0, 0, 500, 500) ); window.alwaysOnTop = true; window.layout = VLayout.new( HLayout.new( StaticText.new.string_("status:"), statusText = StaticText.new.string_("scanning"), connectButton = Button.new.string_("connect") ), HLayout.new( S ...
-
... buildCtlViewFmLayout { |layout| ^ View() .background_(focusBkgColor) .layout_( HLayout( // background that matches the tab View().layout_(layout.margins_(4).spacing_(3)) ).margins_([2, 0, 2, 0]) ) } makeTabView { |name, ctlView, playBut| v ...
-
... = {NumberBox().canFocus_(false)}.dup(board.numChannels); win.layout= VLayout(*[ HLayout(*sliders), HLayout(*numbers) ]); CmdPeriod.doOnce({win.close}); board.dataAction= {|num, data, accel| if(Main.elapsedTime-lastTime>0.025, { //downsample ...
-
... false ); win.alpha_(0.9); win.view.background= bgcol; win.view.layout= VLayout( HLayout( volNumView= NumberBox().fixedWidth_(w*0.25) .background_(bgcol) .typingColor_(Color.white) .value_(0) .action_({|view| volSldView.value= volSpec.unmap( ...