-
... MouseY .kr(0.01,10.0, 'exponential' ); in = Mix ( LFSaw .ar( SinOsc .kr( Array .rand(3, 0.1, 0.5), 0, 10, [1, 1.1, 1.5, 1.78, 2.45, 6.7] * 220), 0, 0.3 ) ); chain = FFT ( LocalBuf (2048), in); chain = PV_ConformalMap (chain, real, imag); si ...
-
... in2 , { arg outBus = 0, effectBus, direct = 0.5, freq = 440; var source; // 1.0.rand2 returns a random number from -1 to 1, used here for a random pan source = Pan2 .ar( Decay2 .ar( Impulse .ar( Rand (0.3, 1), 0, 0.125), 0.3, 1, SinOsc .ar( ...
-
... (0,log(32)).exp.round(1) * 36.midicps, \detune , Pfunc ({ | ev | ev[ \freq ] * rand(0.01) }), \sustain , Pwhite (log(0.1), log(20)).exp, \dur , Prand ([0.1,0.1,0.1,0.1,0.2,1,2], inf ), \db , Pstep ( Pseq ([-20,-30,-25,-30], inf ),0.2) ); / ...
-
... ostColor_( Color .black); ( r = Routine ({ 10.do({ Document .postColor_( Color .rand); "There is no blue without yellow and without orange." .postln; 0.5.rand.yield; }); Document .postColor_( Color .black); }); ) r.play; r.stop; alwaysOnTop ...
-
... ar(440, 0, 0.3) }.play; ) // an .ir rate input, a float or an ir rate ugen like Rand would work ( { EnvGen .kr( Env .asr( 0.1, 1.0, 0.5, \welch ), 1.0, Rand (0.1, 1.0), timeScale: 0.1 ) * SinOsc .ar(440, 0, 0.3) }.play; )
-
... eq ([50, 45], inf )) ]).play ) ( // Ppars can be nested Ppar ([ Pbind ( \dur , Prand ([0.2, 0.4, 0.6], inf ), \midinote , Prand ([72, 74, 76, 77, 79, 81], inf ), \db , -26, \legato , 1.1 ), Pseq ([ Pbind ( \dur , 3.2, \freq , Pseq ([ \rest ...
-
... r .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 , { arg kernel, t_trig = 0; var input; input = I ...
-
... ng index (default: 0) clear set the buffer slot to zero. This is important when randomly acessing buffer slots (e.g. with a BufRd) or not overwriting them. Clear is not an efficient real time operation for larger buffers, so it should be on ...
-
... seX MouseY MouseButton Demand UGens: Demand Duty TDuty Dseries Dgeom Dseq Dser Drand Dxrand Dswitch1 Dwhite Diwhite Dbrown Dibrown In/Out SoundIn In InTrig InFeedback Out ReplaceOut XOut OffsetOut LocalIn LocalOut SharedIn SharedOut Oscilla ...
-
... 2, 3]); ~b = Pseq ([5, ~a, ~a + 10], inf ); ~b.value.asStream.nextN(10); ~a = Prand ([100, 200]); ~b.value.asStream.nextN(10); // to do : flop! //////////////// deep recursion // with normal functions: f = { |x| if(x <= 1) { 1 } { x * f.(x ...