-
... ], \sin , 1), gate, levelScale: amp, doneAction: 2); Out .ar(0, GrainSin .ar(2, Impulse .kr(10), 0.1, 440 + freqdev, pan, envbuf) * env) }).send(s); ) s.scope // use built-in env x = Synth ( \sin_grain_test , [ \envbuf , -1]) // switch to t ...
-
... wait until it is finished. x = SynthDef ( "test" , { OffsetOut .ar(0, BPF .ar( Impulse .ar(4) * 10, Rand (9000, 1000), 0.1)) }); // this is why addPrepare is used. a.addPrepare([ "/d_recv" , x.asBytes]); // add is used with synchronous ope ...
-
... pips; // A simple generative signal sig = LPF .ar( Pulse .ar( TIRand .kr(63,75, Impulse .kr(2)).midicps), LFNoise2 .kr(0.5).exprange(100, 10000)) * Saw .ar(2).range(0, 1); // or, uncomment this line if you want to play the buffer in //sig = ...
-
... 1], \sin , 1), gate, levelScale: amp, doneAction: 2); Out .ar(0, GrainFM .ar(2, Impulse .kr(10), 0.1, 440 + freqdev, 200, LFNoise1 .kr.range(1, 10), pan, envbuf) * env) }).send(s); ) // use built-in env x = Synth ( \fm_grain_test , [ \envbu ...
-
... n , ~x2); ~f2.xmapn( \a_in , ~f1); ~f1.xmapn( \freq , ~mF, \dt , ~mx1); ~x2 = { Impulse .ar( SinOsc .kr(0.2, [0, pi]).exprange(2, 200)) }; ~x1 = { Saw .ar(20, 0.5.dup) * ~x2.ar }; ~out = ~x1; // possible schema: /* px.map knows always alrea ...
-
... ) ( SynthDef ( \conv_test , { arg kernel1, kernel2, t_trig=0; var input; input= Impulse .ar(1); //must have power of two framesize Out .ar(0, StereoConvolution2L .ar(input,kernel1, kernel2,t_trig,2048, 1, 0.5)); }).add ) x = Synth ( \conv_t ...
-
... ], \sin , 1), gate, levelScale: amp, doneAction: 2); Out .ar(0, GrainBuf .ar(2, Impulse .kr(10), 0.1, sndbuf, LFNoise1 .kr.range(0.5, 2), LFNoise2.kr(0.1).range(0, 1), 2, pan, envbuf) * env) }).send(s); ) // use built-in env x = Synth ( \bu ...
-
... rather than three. { Klank .ar(`[[800, 1071, 1153, 1723], nil , [1, 1, 1, 1]], Impulse .ar(2, 0, 0.1)) }.play; Refs cannot be used reliably to suppress multi-channel expansion within Events and Patterns. Instead, it is necessary to enclose ...
-
... e * sc.size.reciprocal; z = sc.collect { |u,i| var f, in; in = Decay .ar( Mix ( Impulse .ar(rate, [1.0, LFNoise0 .kr(rate / 12)].rand, 0.1)), 0.001 ); in = Ringz .ar(in, Array .fill(4, { |i| (i+1) + 0.1.rand2 }) / 2 * Decay .ar(in,0.02,rand ...
-
... rate = LFNoise1 .kr(0.3).exprange(1, 5); difficulty = MouseY .kr(0, 1); trig = Impulse .kr(rate); source1 = { |i| var t = CoinGate .kr(1 - difficulty, trig); SinOsc .ar( TExpRand .kr(300, 1000, t) * (i + 1)) * TRand .kr(0, 1, t) }.dup(10). ...