-
... MOsc .ar(freq, freq * ratio, Linen .kr(gate, ar,index, dr), 0, 0.3), XLine .kr( Rand (4000, 5000), Rand (2500, 3200), 1) ) * Linen .kr(gate, 0.01, 0.7, dr, 2); OffsetOut .ar(out, Pan2 .ar(z, pan, amp)); }).add ); (instrument: \pm ).play; (i ...
-
... sig * mul); }); } makeSynthName { var str; str = this.hash.asString; // or 1.0.rand.asString? str.do({ arg s, i; (s == $.).if({ str.put(i, $-) }); }); ^("EQ" ++ str) } }
-
... age; var <curFreq; var oscFunc; var <controlSynth; var tuner; var <isTuned; var randSeed; var <tuningMap; var tunerOscChannel; var tunerDefName; *new {|soundIn, cvOut, gateOut, playMonitor=false, negativeVoltage=false| ^super.newCopyArgs( s ...
-
... // 3 segments // reset then play again: Synth(\help_Env_newClear, [\env, Env({ rrand(60, 70).midicps } ! 4, [1, 1, 1], \exp)]); // the same written as an event: (instrument: \help_Env_newClear, env: Env({ rrand(60, 70).midicps } ! 4, [1, 1, ...
-
... d]]; thisBox.setColors(numNormalColor: Color.red); }, initVal: 1.0.rand.round(0.1), layout: 'line2') .font_(Font("Verdana", 18)) .setColors() .numberView.align_(\center); }); // At start up harmonics = c.co ...
-
... Rect(100, 500, 400, 120)); b = NumberBox(w, Rect(150, 10, 100, 20)); b.value = rrand(1, 15); b.action = { |numb| numb.value.postln }; w.front ) // try these one at time b.value = rrand(1, 15) ; // sets the value but does not perform the act ...
-
... t (100, 500, 400, 120)); b = NumberBox (w, Rect (150, 10, 100, 20)); b.value = rrand(1,15); b.action = { arg numb; numb.value.postln; }; w.front ) Accessing Instance and Class Variables value value_ (val) Sets/gets the number box value. Thi ...
-
... edge; aHLDots = []; if(win.isNil, { win = GUI.window.new( "Pitch circle", Rect(rrand(0, 50), rrand(10, 500), width, height), false ).front; win.view.background_(Color.new255(240, 240, 240)); // grey win.view.decorator=FlowLayout(win.view.bo ...
-
... Free { "done".postln }; } ) ⧉ ✔ ( SynthDef(\help, { |out| var mod = LFNoise2.kr(Rand(1, 6)) * 0.2; var snd = mod * Blip.ar(Rand(200, 800) * (mod + 1)); Out.ar(out, snd); FreeSelf.kr(mod < 0); }).add; ) ( fork { 10.do { "started a synth".pos ...
-
... event.collect( z.new( 0.0 , 1.0 , target: group).globenv_(envbus).freq_( 440 .rrand( 880 )) .dur_( 1.0 ).amp_( 0.01 ); ); // set the 'next' time event.next_( 0.2 .rrand( 1.0 )); }); ) a.play; // play it b = a.record; // play it AND record ...