-
... trolSpec(-1, 1, 'lin', 0, -1); var controllers= List.new; view.layout= VLayout( HLayout( inA= RedNumberBox().maxWidth_(bw).maxHeight_(lh), RedStaticText(nil, nil, "inA ("++redMix.def.metadata.info.inA++")").maxHeight_(lh) ), HLayout( inB= R ...
-
... layout= VLayout(*[ //--effect inserts numInserts.collect{|i| var popup, button; HLayout( popup= RedPopUpMenu() .items_(["_inserts_"]++RedEffectModule.subclasses.collect{|x| x.name}), button= RedButton(nil, nil, "o", "o").maxWidth_(bw) .acti ...
-
... "++p) }.enOut; })).start; ) // is down ( t = StaticText(); w = Window().layout_(HLayout(t)).front; ENdef(\x,{ var pos = w.view.enMouseIsDown; pos.collect{ |b| IO{ t.string_("mouse is down: "++b) } }.enOut; }).start; ) //track mouse position ...
-
... ); 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{ ...
-
... 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 ...