-
... @80); k = Knob(w, 32@32) .action = {|v| m.value = \amp.asSpec.map(v.value); txt.string = format("val: % dB", m.value.ampdb.round(0.01)); }; txt = SCStaticText(w, 200@14); ) // needle color changes, evaluate a few times ( var signal, needleC ...
-
... "; File.mkdir(~radAuditDir); // A description of the running session, as key -> string. ~radFp = { var fp = (), az = Radicles.aZ, ndefs; var str = {|x| x.cs.replace(" ", "") }; // a modulator as what it is (its code and settings), not its n ...
-
... .not} { "You must provide an Event, a Stream or an Array of Events".error}; } asString { var out = String.new; eventList.do { arg i; out = out ++ i.asFomusString ++ "\n" }; ^out } qtString { ^this.qt.if( {"quartertones = yes"}, {"quarterton ...
-
... layoutControls.add(StaticTextFactory.createInstance(this, class: "label-form").string_(key ++ ":"), row, 0); layoutControls.add(newView, row, 1); }; mainLayout.add(nil, stretch:1, align: \bottom); CmdPeriod.add({ controlPanel.togglePlay.va ...
-
... .proxy.set(\amp, 0.25).play(vol: 0.25); }); StaticText(vlv1, Rect(0,0,100, 30)).string_("Slot Presets:").align_(\center); butrow = q.ndefs.collect({|px| var name = px.key; Button(vlv1, Rect(0,0,100, 30)) .states_([ [name], // state 0: grey; ...
-
... ents; var <nanoButtonRElements; var <nanoCtrlButtons; //dict var infoTextElementString; *new {|name= "sNanoKontrol", position| ^super.new.initSNanoKontrol(name, position ?? {Point(0, 70)}); } initSNanoKontrol {|name, position| //--settings ...
-
... .at(name.asSymbol) ?? { this.prLoadAPI(name) } ?? { Error("API" + name.asCompileString + "not found").throw; } } init { arg n; name = n; functions = Dictionary.new; all.put(name, this); } *initClass { all = IdentityDictionary.new; } // defi ...
-
... ansFace, 10 ); Pen.color = Color.gray(0.2).alpha_(0.5); hlines.do({ |hline| Pen.stringAtPoint( hline.asString ++ "dB", 3@(hline.linlin( range.neg,range, bounds.height, 0, \none ) - strOffset) ); }); vlines.do({ |vline,i| Pen.stringAtPoint( ...
-
... lor.white, Color.red(0.4)]]) .fixedSize_(Size(16, 16)), nameView = StaticText().string_(name).fixedWidth_(120), numView = StaticText().string_("CC" ++ num).fixedWidth_(50), valView = NumberBox().enabled_(false).fixedWidth_(70), slider = Sli ...
-
... lowing global variables: ~name: (symbol) name of the spatializer ~description: (string) a short description ~numChannels: (int) number of channels ~channelLayout: (symbol) layout for each channel, usually mono or ambi ~angles: Speaker array ...