-
... num, BufRateScale .kr(inbufnum)); 4.do({ source = AllpassN .ar(source, 0.050, [ Rand (0, 0.05), Rand (0,0.05)], 1) } ); RecordBuf .ar([source * gain], outbufnum, loop:0); Out .ar(0, (source * gain).dup); }).store; ) // Now we'll run the Syn ...
-
... Task({ // Set attributes of each node // [freq, dur, [[next_state, weighted_random],…]] var node_list = [ [60, 1, [[1, 2]]], [62, 0.5, [[0, 1], [2, 1]]], [63, 1, [[0, 1], [3, 1]]], [65, 0.5, [[0, 1], [3, 4], [4, 1]]], [ ...
-
... n: vRateVar, depthVariation: vDepthVar ); pwm = SinOsc.kr(freq: pwmRate, phase: Rand(0.0, 1.0)).range(pwmMin, pwmMax); pwm = pwm * LFNoise2.kr(pwmVarRate).range(0.2, 0.8); snd = VarSaw.ar( freq: Lag.kr(freq) * LFPulse.ar(freq * 1.5).range(1 ...
-
... lloc(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, t_trig = 0| var input = Imp ...
-
... ~loop.phasor.set(\rate, 1); // change rate speed ~loop.plays.do{|x| x.run(2.rand.asBoolean)}; // rand stop/play itens ~loop.bufs[0].plot ( MIDIClient.init; MIDIIn.connectAll; MIDIdef.program(\sstep, {|k,f,c| var x; // k.postln; ...
-
... n = NB .new( "linesOfCode" , 400, 300);\ n.publishCode(\ "fill" .cmd(0.25, 1.0.rand, 1.0.rand),\ "rect" .cmd(0, 0, \ , \ ),\ "fill" .cmd(1, 1, 1),\ "fontsize" .cmd(30),\ "text" .cmd( "lines of code : lines of code" , 10, 32), \ "fill" .cmd ...
-
... a storage place for various objects: q = (); // Event q[\a_long_array] = Array.rand(128, 0.0, 1.0); q[\pi_squared] = pi * pi; q[\favourite_sound] = { { SinOsc.ar([300, 330]).sum * LFPulse.kr(2 + [0, 0.01]) * 0.1 }.play }; q[\same_long_arra ...
-
... ostln; 0.5.wait } }); Pdef ( \b , { |e| 100.do { |i| Pdef ( \a ).set( \otto , 8.rand); exprand(0.1, 3.0).wait } }); t = PdefAllGui (8); ) // if you have too many Pdefs, an ezscroller lets you select "abcdefghijk" .do { |ch| Pdef (ch.asSymbo ...
-
... | c.children.do(_.remove) }; NTMI.g.main.w.view.children.do(_.background_(Color.rand)); ) Butz.curr_(\interfaces).show */ Tdef(\guiTest).addHalo(\allExtents, [ (1920@1080), (1512@944), (1280@800), (1280@720), (1024@768), (800@480), (640@480 ...
-
... ed in Korg Nanoktl Ndef(\robTron).addHalo(\scene, 0); Ndef(\robTron).addHalo(\myRandSeed, 0); Ndef(\robTron).addHalo(\s2Toggle, 0); ( Ndef(\robTron).addSpec(\sub, [1/5, 5, \exp]); Ndef(\robTron).addSpec(\sub2, [1/5, 5, \exp]); Ndef(\robTron ...