-
... envbuf; Out.ar(0, BufGrainB.ar(Impulse.kr(10), 0.2, sndbuf, MouseX.kr(0.5, 8), PinkNoise.kr.range(0, 1), envbuf, 2, EnvGen.kr( Env([0, 1, 0], [1, 1], \sin, 1), gate, levelScale: amp, doneAction: 2) ) ) }).add; ) s.sendMsg(\b_allocRead, x = ...
-
... 0], 0.05) }; ~b = { Dust.ar([20, 80, 320]) * 0.5 }; ~y = { SinOsc.ar(0.2).abs * PinkNoise.ar }; ~x = { SinOsc.ar(0.13).abs * BrownNoise.ar }; ~a.play(vol: 0.2); ~b.play(vol: 0.1); ~x.play(vol: 0.2); ~y.play(vol: 0.1); ) // show pre- and pos ...
-
... crossfading a mono source between two outs ( x = { DXFan.ar( Dseq([0, 1], inf), PinkNoise.ar(0.05), fadeTime: 1 ) }.play ) x.release // Crossfading a stereo source between two outs, // for more than two channels size has to be passed. ( { D ...
-
... ave. PanB is the SuperCollider inbuilt equivalent. This first example encodes a PinkNoise source as a planewave and decodes to stereo. Server.default = s = Server.local.boot; ( var decoder; // First we will define our decoder // stereo deco ...
-
... SynthDef: -add for details. // execute first, by itself SynthDef.new("tutorial-PinkNoise", { |out| Out.ar(out, PinkNoise.ar(0.3)) }).add; // then: x = Synth.new("tutorial-PinkNoise"); y = Synth.new("tutorial-PinkNoise"); x.free; y.free; ⧉ ...
-
... headphoneCorrection:~headphoneModel) * 1 )}.play; { Out.ar(2, HOAEncoder.ar(5, PinkNoise.ar(0.1), SinOsc.ar(0.1, 0, pi * 0.999 ), SinOsc.ar(0.2, 0, pi * 0.999 * 0.4 ) ) + HOAEncoder.ar(5, WhiteNoise.ar(0.05), SinOsc.ar(0.11, 0, pi * 0.999 ...
-
... eScale:dur+sustain, doneAction: 2); var resolution = 24; var sig = Resonator.ar(PinkNoise.ar() * env, freq, position, resolution, structure, brightness, damping); sig = Pan2.ar(sig, pan); Out.ar(out, env*sig * amp) }).add; ) ( Pdef(':)', Pb ...
-
... thDefs // a synthdef to snoop in ( f = SynthDef(\snoop, { | out=0 | Out.ar(out, PinkNoise.ar(0.1)) }); ) // get the ugens, listed in order of execution, with rate, // index and inputs f.dumpUGens; ⧉ ✔ Snooping on the Server Lots of informat ...
-
... x.map(\freq, a); }); ) x.free; // don't send ( b = s.makeBundle(false, { x = { PinkNoise.ar(0.1) * In.kr(0, 1); }.play; }); ) // now pass b as a pre-existing bundle, and start both synths synchronously ( s.makeBundle(nil, { // nil executes ...
-
... envbuf2; Out.ar(0, BufGrainI.ar(Impulse.kr(10), 0.2, sndbuf, MouseX.kr(0.5, 8), PinkNoise.kr.range(0, 1), envbuf1, envbuf2, MouseY.kr(0, 1), 2, EnvGen.kr( Env([0, 1, 0], [1, 1], \sin, 1), gate, levelScale: amp, doneAction: 2) ) ) }).add; ) ...