-
... 00, 20)).string_("amps"); q.win.view.decorator.nextLine; q.numOscs.do{|i| EZSlider(q.win, Rect(0, 0, 25, 100), label: i, layout: 'vert').action_{|slider| ampState[i] = slider.value; Ndef(\fmMatrix).setn(\amps, ampState); } } )
-
... terval, theme, makeanote, tempo=320, basefreq=220, finefreq=0, rest=false, vol, slider, major, mminor, hminor, acc, lastmnote, mminorlook; var lookup; var mv = Synth(\museverb, [], s); var note = nil; interval = Array.with(2,8,10,20 ...
-
... blank, // a blank line used for spacing label, knob, button, numBox,popUpMenu,slider,rangeSlider, //standard gui objects startOnIBox,endOnIBox,startOffIBox,endOffIBox, //gui objects that get written to startOnNBox,endOnNBox,startOff ...
-
... or, windowColor, ampEnv, carrFreqEnv, modFreqEnv, modIndexEnv, timeScale, volumeSlider, durationSlider, printEnvData, adjustEnv, masterOut, presetArray, presetButtons; timeScale = 3; // total duration of a "note" numberOfPoints = 8; / ...
-
... (which is why I'm using it for this example!). - View: The GUI display -- a Slider, in this case. The view knows who its model is, and should respond to user action by updating the model. - Controller: An object that receives notific ...
-
... alue_(0.31); a.do{ |sl| sl.value_(0.5)}; Ndef(\x).resetNodeMap; }; a = {Slider(~win, Rect(0, 0, 20, 100)).value_(0.5)} ! 10; b = Slider(~win, Rect(0, 00, 10, 10)).value_(0.31).action_({ |sl| Ndef(\x).set(\rq, sl.value.linlin(0, 1 ...
-
... ne_synth.(l); }).mouseOverAction_({ status.string = 'randomize synth' }), Slider( w, Rect( 10 + (22*(dims[0]+3)), 35 + (22*l), 60, 20) ).action_({ |b| // synth amp synths[l].amp = b.value.linexp(0,1,1/16,16); }).mouseOverAction ...
-
... make_layout: { arg self; var node_name, name, spec; var win, val, slider, label, layout; var prec = 0.001; var knob_layout; var knob_size = 15; var level_spec, time_spec, curve_spec; name = self.controller. ...
-
... on_({ |nb| nb.value.postln; ~knob.value_((nb.value.dbamp) / (~maxValSlider.value.dbamp)); if(~threshTest.notNil, { if(~threshTest.group.class == Group, {~threshTest.set(\thresh, nb.value)}, {} ...
-
... = ControlSpec(0, 75, \linear, 0.1); m = ControlSpec(0, 6000, \linear, 1); a = Slider(w, Rect(50, 75, 700, 50)).value_(0).action_({ x.run.set(\speed, b.map(a.value), \t_tr, 1); c.string_(b.map(a.value).asString)}); d = Slider(w, Rec ...