-
... addr); oscInputLevels.permanent = true; } createInputLevel { var level; level = LevelIndicator(window, Rect(width: 220, height: 20)); level.warning = -2.dbamp; level.critical = -1.dbamp; level.drawsPeak = true; level.background = Color.from ...
-
... ew; compView = CompositeView(window, Rect(width: 30, height: 70) ); outlev[i] = LevelIndicator(compView, Rect(3, 0, width: 35, height: 50) ); outlev[i].warning = -2.dbamp; outlev[i].critical = -1.dbamp; outlev[i].drawsPeak = true; outlev[i] ...
-
... reground, GUI.skins.redFrik.background, GUI.skins.redFrik.foreground ]); } } RedLevelIndicator { *new {|parent, bounds| bounds= bounds ?? {Point(100, 14)}; ^LevelIndicator(parent, bounds) .background_(GUI.skins.redFrik.background) } } RedMu ...
-
... ases Some valuable use-cases include: Attaching a Synth providing metering to a LevelIndicator , and ending it when the meter closes. Attaching a Buffer to a Synth , such that it's freed after the synth is done. Attaching a View to a Task , ...
-
... { arg bi,layout,bounds; var bv,pk; bounds = bounds ?? {Rect(0,0,30,180)}; bv = LevelIndicator( layout, bounds ) .warning_(-0.2.dbamp) .critical_(-0.01.dbamp) .style_(0) .drawsPeak_(true) .numTicks_(9) .numMajorTicks_(4); meters.put(bi,bv); ...
-
... 8)); infoString.string = this.uInfoString; infoString.font_( font ); cpuMeter = LevelIndicator( composite, 46@18 ) //.numTicks_( 9 ) // includes 0; //.numMajorTicks_( 5 ) .drawsPeak_( true ) .warning_( 0.8 ) .critical_( 1 ); w.view.decorato ...
-
... |view| if (view.value==1) { x=Synth(\Cator); t=q.play} { ~levelIndicator.value=0;x.free; t.stop} }; ~masterButton.value=0; ~recordButton = Button(~w, Rect(784, 293, 20, 72)); ~recordButton.states_([["R", Color.bla ...
-
... ringColor_(Color.white) .string_(i.asString); if (GUI.id == \cocoa, { level = SCLevelIndicator( comp, Rect(0,0,meterWidth,180) ).warning_(0.9).critical_(1.0) }, { level = LevelIndicator( win, Rect(0,0,meterWidth,180) ).warning_(0.9).critica ...
-
... if (view.value==1) { x=Synth(\Cator); t=q.play} { t.stop; x.free; ~levelIndicator.value=0 } }; ~masterButton.value=0; ~recordButton = Button(~w, Rect(784, 214, 20, 72)); ~recordButton.states_([["R", Color.black, Color.whit ...
-
... s.quit; }); }; booter.value = this.serverRunning.binaryValue; }); /* cpuMeter = LevelIndicator( composite, Rect( 22, 0, width, 18 ) ) //.numTicks_( 9 ) // includes 0; //.numMajorTicks_( 5 ) .meterColor_( onColor.copy.alpha_(0.25) ) .critica ...