-
... it; } }).play; ) Tdef ( \randPan ).stop; Tdef ( \randPan1 ).stop; x.free; x = { SinOsc .ar(100) * 0.1 }.play(s, s.myOuts[2]); // xy pendulum - lissajou figures ( Tdef ( \pendulum , { inf .do { |i| var xpos = (i * 0.02).sin * 7; var ypos = ( ...
-
... rg mix=0 , match=0.3 , lffreq=0.1 , sinadd = 300; var concat, control; control= SinOsc.ar(0.5)*Saw.ar(SinOsc.kr(LFNoise0.kr(lffreq,3,4.5),0,50,sinadd)); concat= Concat2.ar(control,\in,4.0,4.0,4.0,match,0,0.5,1.0,0.5,0.0); ((concat*mix.linli ...
-
... n.ar(Env([0, 0.5, 0.4, 0], [0, 0.2, 0.01], -5), t_trig, doneAction: 0); sin = SinOsc.ar(0, (Sweep.ar(t_trig, 2pi * [52.8, 740]) + (pi/3)).wrap(-pi, pi), [2, 0.05]).mean.tanh; sig = sin * env; Out.ar(out, Pan2.ar(sig, pan, level.curvel ...
-
... ets = OnsetsDS .kr(sig, b.bufnum, c.bufnum, MouseX .kr(0,1), \complex ); pips = SinOsc .ar(880, 0, EnvGen .kr( Env .perc(0.001, 0.1, 0.2), onsets)); Out .ar(0, ((sig * 0.1) + pips).dup); }.play; ) x.free; // Free the synth [b,c,d].do( _ .fr ...
-
... r( WhiteNoise.ar(0.1), 4400, MouseX.kr(0.01, 2))}) Synth.fftScope({RBJNotch.ar( SinOsc.ar(LFTri.kr(0.1, 1000, 1100), 0, 0.1), 500, MouseX.kr(0.01, 2))}) */ *ar { arg in, freq=440, rq=0.1, mul=1, add=0; var b0, b1, b2, a0, a1, a2; var a, ome ...
-
... define SynthDef SynthDef ( \x , { |out = 0, freq = 440, amp = 0.05| Out .ar(0, SinOsc .ar(freq, 0, amp) * EnvGate .new) }).add // run synth, audible beats with equal temperature, pitches given as notes ('n') (i: \x , n: [0, 4, 7], d: 3).on ...
-
... snd1 = HPF.ar( in: PinkNoise.ar, freq: ffreq, mul: env ); snd2 = SinOsc.ar(freq: sinfreq, mul: env); sum = snd1 + snd2; Out.ar(out, Pan2.ar(sum, pan)); }).add; SynthDef("kick", {arg out = 0, amp = 0.3, sinfreq = 60, g ...
-
... env = EnvGen.ar(Env.adsr(att, dec, sus, rel), gate, doneAction: 2); snd = SinOsc.ar(Lag.kr(freq, 1), 0, amp) * env; Out.ar(0, snd!2); }).add; SynthDef(\amp, {arg inbus=0, amp = 0.1; ReplaceOut.ar(inbus, In.ar(inbus, 2) ...
-
... is proxy to the editor - see below // kr proxies show up in the middle ~lfo = { SinOsc .kr(2) }; ~lfnoyz0 = { |lofreq = 0.5, mul=1, add| LFDNoise0 .kr(lofreq, mul, add) }; // the editor zone is a NodeProxyEditor // open it and set some para ...
-
... the kr message to read the bus with In (optionally wrapping itself in a Lag ): SinOsc.ar(g) is the same as SinOsc.ar(In.kr(g.bus, 1)) . GenericGlobalControl also supports automation, by playing a control-rate synth onto its bus. Most metho ...