-
... s = 10.collect { |i| Synth(\outputTest, [ \out, [0, 1, 2, 3].choose, \freq, 400.rand ]); }; 1.wait; TreeSnapshot.get({ |snap| var playing = snap.root.children[0].children.select { |node| node.isKindOf(SynthSnapshot) && (node.outputs[0].star ...
-
... ed class methods Instance Methods Inherited instance methods Examples ( // Dust randomly triggers Decay to create an exponential // decay envelope for the WhiteNoise input source { z = Decay.ar(Dust.ar(1, 0.5), 0.3, WhiteNoise.ar); DelayN.a ...
-
... Dict.size; // test switching gui between pages: // turn all knobs in group 0 to random value k.elAt(\kn, 0).do(_.value_(1.0.rand)); // now switch to scene 1 - all knobs are at 0 g.pagesSwitch.valueAction_(1); // turn all knobs in group 1 to ...
-
... true, channel = 477| q.light(0, 0, 0, 0, 0, flush, channel) }; q.light(*(({255.rand}!3) ++ [0, 128])) q.lightOff ⧉ ✔ Closing the serial port q.enttec.close; ⧉ ✔ helpfile source: /tmp/scquark_hs/SimpleDMXControl/HelpSource/Classes/SimpleEnt ...
-
... = ~ctl1.wrap2(~ctl2) * ~ctl1 / (~ctl2 + ~ctl1); ~pat = Pbind(\freq, Pfunc({ 1.2.rand })); ~z = 9; ~out.set(\freq, 760, \ffreq, 20); ) p.asCompileString; // the document message creates a new document which it posts the code into p.document; ...
-
... d class methods Instance methods spec init value setUnmappedValue unmappedValue rand numChannels addToSynthDef instrArgFromControl rate copy guiClass Inherited instance methods Examples Classes (extension) | Libraries > crucial'>crucial > c ...
-
... er.alloc(s, 2048); b.zero; c.zero; d.zero; ) ( 50.do({ |it| c.set(20*it+10, 1.0.rand) }); 3.do({ |it| b.set(400*it+100, 1) }); 20.do({ |it| d.set(40*it+20, 1) }); ) ( SynthDef("conv-test", { |out, kernel, trig = 0| var input; input = Impuls ...
-
... ; x < 2 } { |x| x < 2 } { arg x = 123; x < 2 } { |x = 123| x < 2 } { arg x = 10.rand; x < 2 } { |x = (10.rand)| x < 2 } or {|x(10.rand)| x < 2 } NOTE: When using the new || syntax, the default value needs to be enclosed in parenthesis if it ...
-
... 12)); }); allFreqs = allFreqs.midicps; 7.do({ |octave| var octaveColor = Color.rand; 7.do({ |note| states.add(( string: names[note] ++ (octave + 1).asString, color: octaveColor, fontColor: Color.black )); }); }); keyboard = GMGridButton() ...
-
... change from default to something useful ((0,(1/8)..5)).do({ |starttime| // add random notes m.addNote( 36 + 50.rand, 32 + 96.rand, starttime, [0.1,0.05].choose, 127, track: 1 ) }); ((0,(1/4)..5)).do({ |starttime| // add random notes to nex ...