-
K2ATrig LFSaw.de; PseudoUGen *ar(trig) returns a trigger ([1, 0, 0, 0, 0, 0, 0, ... ] * amp) at audiorate s.boot; SynthDef(\k2aTrTest, {|out = 0, t_trig = 0| Out.ar(out, K2ATrig.ar(t_trig))}).send(s) x = Synth(\k2aTrTest) x.set(\t_trig, 0.2 ...
-
... ise b = a + 2; // a BinaryOpUGen. b.operator; // + // sound example ( { var a = LFSaw .ar(300); var b = LFSaw .ar(329.1); a % b * 0.1 }.play; ) The comparison operators The operators >, >=, <, and <= are particularly useful for triggering. ...
-
... 20), 0, 3600, 4000), 0.2) }.play; // filter a modulator ( { var ctl = RHPF .kr( LFSaw .kr(2), SinOsc .kr( XLine .kr(0.07,30,20), 0, 35, 40), 0.05); SinOsc .ar(ctl * 200 + 500) * 0.2; }.play; )
-
Compar is a feed-forward resonator network featuring three ComplexRes nodes (available from https://github.com/supercollider/sc3-plugins ). This code example accompanies the paper "Dynamic FM synthesis using a network of complex resonator ...
-
... at an Instr is defined by name: Instr(\bubbles, { arg amp=1.0; var f, zout; f = LFSaw.kr(0.4, 0, 24, LFSaw.kr([8,7.23], 0, 3, 80)).midicps; zout = CombN.ar(SinOsc.ar(f, 0, 0.04), 0.2, 0.2, 4); zout * amp }); // the patch retrieves it by nam ...
-
... uth, panValue, sound, index; index = Array.series(7, 8, 1); x = 50.rand; y = LFSaw.kr(1/IRand(speed, speed*3), 0, 100); distance = hypot(x, y); velocity = Slope.kr(distance); pitchRatio = (344 – velocity) / 344; amplitude = 2.5 / dis ...
-
... atency for this to work ( Pdef(\zed, Pbind( \osc, Pseq([SinOsc, LFSaw],inf), \instrument, Prout({ arg ev; SynthDef(\zed, { arg out=0, gate=1, amp=0.1, pan=0, freq=200; var sig; ...
-
Compar is a feed-forward resonator network featuring three ComplexRes nodes (available from https://github.com/supercollider/sc3-plugins ). This code example accompanies the paper "Dynamic FM synthesis using a network of complex resonator ...
-
loop-record into two buffers with record-once control ( s.waitForBoot{ q = q ? (); q.ringInputChannels = [0, 1]; q.ringBufLength = 30; q.ringBufs = Buffer.allocConsecutive(q.ringInputChannels.size, s, q.ringBufLength * s.sampleRa ...
-
... = 1000000000.rand.debug('seed'); var gen = [LFNoise2,LFNoise0,SinOsc,LFPulse,LFSaw]; var sig = Splay.ar({ var i = 4.exprand(40).asInteger; Median.ar( 3.exprand(18), EnvGen.ar( Env( // wave form [0] ++ Array.fil ...