-
... mp = Decay2.kr(Impulse.kr(0), 0.05, 8, amp); out = RLPF.ar( LFPulse.ar(freq, 0, SinOsc.kr(0.12,[0,0.5pi],0.48,0.5), amp), freq * SinOsc.kr(0.21,0,4,8), 0.07 ); #a, b = out; DetectSilence.ar(a, 0.0001, doneAction: Done.freeSelf); Out.ar(i_ou ...
-
... }, 1, 1/4)*src2Env; var src3 = Mix.fill(4,{arg i=1; var mod = melody/2+SinOsc.ar(0.25.rand,0,melody/8,melody/16); SyncSaw.ar(mod,melody*i+StandardL.ar(melody*TIRand.ar(1,12,trig),mul:XLine.ar(0.01,1000,tL)),0.25)!2 })*src3Env* ...
-
... //////////// // 8 (~fm4[17] = \filter -> {arg in; var sig = BLowPass.ar(in, SinOsc.kr(1/16).range(523,4186), 0.7); sig; }); //////////////////// // 9 (~fm4[18] = \filter -> {arg in; GVerb.ar(in, 50); }); //////////////////// ...
-
... r gain = -12; var sig; var hoa; sig = Saw.ar(freq, gain.dbamp); // saw // sig = SinOsc.ar(freq, mul: gain.dbamp); // sine // HOA encoding, refRadius = AtkHoa.refRadius (= 1.5) hoa = HoaEncodeDirection.ar(sig, ~theta, ~phi, ~encRadius, ~orde ...
-
... LFSaw .kr([8,7.23], 0, 3, 80)).midicps; // glissando function zout = CombN .ar( SinOsc .ar(f, 0, 0.04), 0.2, 0.2, 4); // echoing sine wave Out .ar(0, zout); }).send(s); // this will record to the disk SynthDef ( "help-Diskout" , { arg bufnu ...
-
... \x, { |freq, sustain| Out.ar(0, XLine.kr(0.1, 0.0001, sustain, doneAction: 2) * SinOsc.ar(freq, 0.5pi)) }).add; Pbind(\freq, 810, \sustain, 0.5, \dur, 1, \instrument, \x, \server, r.s).play(r.time, quant:1); ) // change the tempo r.time.eve ...
-
... tTrig.kr(b.bufnum, t_reset); env = EnvGen.ar(Env.perc(0.01, 0.1), trigs); son = SinOsc.ar(440, 0, env * 0.2); ramp = Phasor.kr(t_reset, ControlRate.ir.reciprocal, 0, inf); ramp.poll(trigs, "Trigger at time offset"); son.dup; }.play(s) ); x. ...
-
Binary Shift Register Sequencer by Dario Lozano-Thornton by dario-lozano-thornton (Dario Lozano-Thornton) Code
... by tempo[2], use ultra low frequencies for muting x = fork{inf.do{play{HPF.ar(SinOsc.ar(~values[~chosenvalue].linlin(0,1,10,600)*~transpose_opt[~transpose],0,0.3),20)*Env.perc(0.01,0.1).kr(2)}; ~tempo[1].wait}}; y = fork{inf.do{play{HP ...
-
... 00, 900); index = IndexInBetween.kr(buffer, f0); f1 = IndexL.kr(buffer, index); SinOsc.ar([f0, f1]) * 0.1 }.play; ) // One way to map across from an arbitrary piecewise curve, onto another: // We use IndexInBetween to "unmap" your input int ...
-
... gain a.action = nil; // stop posting ( SynthDef(\ting, { |freq, amp| Out.ar(0, (SinOsc.ar(freq) * Line.kr(amp, amp * 0.001, 0.2, 5, doneAction: 2)).tanh ! 2); }).add; // more activity creates wider melody jumps, // and higher amplitude/dist ...