-
... .kr(Rand(4000,5000), Rand(2500,3200), 1) ) * Linen.kr(gate, 0.01, 0.7, 0.3, 2); OffsetOut.ar(out, Pan2.ar(z, pan, amp)); }, [\ir]).add;
-
... 4 // cubic interpolation ); sound = DirtPan.ar(sound, ~dirt.numChannels, pan); OffsetOut.ar(out, sound) }, [\ir, \ir, \ir, \ir, \ir, \ir, \ir, \ir]).add; }; ) // other dirty things: ( // write variants for different sample buffer sizes (1. ...
-
... ge The crucial point of this strategy is a kind of incompatibility of In.ar and OffsetOut. Normally we use OffsetOut for exact buffer granulation with patterns, as the start of the synth (the grain) is corrected by a shift (standard Out.ar ...
-
... Env .perc(att, rel, amp), doneAction: 2) * (rq ** -1) * (250 / (freq ** 0.8)); OffsetOut .ar(out, sig); }).add; SynthDef ( \sin_grain , { |out = 0, freq = 400, att = 0.005, rel = 0.1, amp = 0.1| var sig = { SinOsc .ar(freq, Rand (0, 2pi)) ...
-
// test //-- INIT SynthDef(\thatblip, { OffsetOut.ar(0, Env.perc(0.001, 0.1, \amp.kr(0.1)).ar(doneAction: 2) * Blip.ar(\freq.kr, 20) ) }).add; s.sync; //-- PLAY ( Tdef(\xthat, { loop { (instrument: \thatblip, note: rrand(-3, 10), octave: [5 ...
-
// test //-- INIT ( SynthDef(\sinmore2, { OffsetOut.ar(0, Env.sine(0.1, \amp.kr(0.1)).ar(doneAction: 2) * SinOsc.ar(\freq.kr * [1, 1.2])) }).add ); s.sync; //-- PLAY ( Tdef(\xmoremore, { var dt = 0.04 * { rrand(1, 3) / rrand(3, 7) }.dup.sum ...
-
// test //-- INIT SynthDef(\sinmore, { OffsetOut.ar(0, Env.perc(0.001, 0.1, \amp.kr(0.1)).ar(doneAction: 2) * SinOsc.ar(\freq.kr * [1, 1.1])) }).add; s.sync; //-- PLAY ( ~xmore.stop; // for live coding, stop any old one. ~xmore = Task { var ...
-
... lick, { var click; click = Impulse.ar(0); DetectSilence.ar(click,doneAction:2); OffsetOut.ar(0, click * 0.5); }).add; ) Pbind(\instrument, \click, \freq, Pfunc({"beats: % tempo: %\n".postf(~clock.beats, ~clock.tempo); rrand(440, 1200) })).p ...
-
... n, bus.busArg], addAction:\addToTail); } }); ) ( s.waitForBoot({ SynthDef(\1, { OffsetOut.ar(\out.ir(0), DC.ar([1, 1])) }).add; SynthDef(\2, { \in.ar([0, 0]).poll }).add; s.sync; s.bind { var bus, s1, s2; bus = Bus.audio(s, 2); s1 = Synth(\ ...
-
... sine(sustain, amp), doneAction:2);\ u = Pan2 .ar( SinOsc .ar(freq), pan, env);\ OffsetOut .ar(out, u)\ \).store;\ );\ \ \ g.addResponder( \ , \ |t,r,m| Synth .grain( \ , m[1..]) \);\ f.sendToAll( \ );\ f.sendToAll( \ , \ , 8000 + 4000.rand) ...