-
... he signal goes up, from when the signal goes down. This is useful for smoothing out control signals, where "fade in" should be different from "fade out". Class Methods LagUD. ar ( in: 0.0 , lagTimeU: 0.1 , lagTimeD: 0.1 , mul: 1.0 , add: 0. ...
-
... true| var conf; #type, mode, int = [ type, mode, int ].collect({ |item, i| var out; out = item.asString[0].toLower.asSymbol; if( [ types, modes, intTypes ][i].includes( out ).not ) { "WFSArrayPanSynth.generateDef - nonexistent %: %" .forma ...
-
... a kick made using what radio folks would call a "chirp" SynthDef(\kick_chrp, { |out=0, amp=0.1, pan=0| var ampenv, pitchenv; ampenv = EnvGen.ar(Env.perc(0, 0.2, curve: 0), doneAction: 2); pitchenv = EnvGen.ar(Env.perc(0, 0.1, curve: -20).ex ...
-
... ight= 300, w, wgrav, world, n= 60, sys, synths; //--synthesis SynthDef(\sine, {|out= 0, freq= 400, beat= 1, amp= 1, pan= 0| var z; z= Mix(SinOsc.ar(freq+[0, beat], Rand(0, 2pi), amp*0.5)); Out.ar(out, Pan2.ar(z, pan)); }).add; SynthDef(\saw ...
-
... ight= 300, w, wgrav, world, n= 60, sys, synths; //--synthesis SynthDef(\sine, {|out= 0, freq= 400, beat= 1, amp= 1, pan= 0| var z; z= Mix(SinOsc.ar(freq+[0, beat], Rand(0, 2pi), amp*0.5)); Out.ar(out, Pan2.ar(z, pan)); }).add; SynthDef(\saw ...
-
... t(0, 0, width, height)); var mouse, objects= List.new; SynthDef(\main, {|in= 0, out= 0| var src= In.ar(in, 2); src= src.tanh; src= FreeVerb2.ar(src[0], src[1], 0.2, 1); Out.ar(out, src); }).add; SynthDef(\part, {|out= 0, x= 0, y= 0, a= 1, d ...
-
... t(0, 0, width, height)); var mouse, objects= List.new; SynthDef(\main, {|in= 0, out= 0| var src= In.ar(in, 2); src= src.tanh; src= FreeVerb2.ar(src[0], src[1], 0.2, 1); Out.ar(out, src); }).add; SynthDef(\part, {|out= 0, x= 0, y= 0, a= 1, d ...
-
... eq: XLine.kr(maxOsc, loOsc, 5).range(maxAmp, loAmp))); snd = Splay.ar(snd); Out.ar(0, snd); }).add; SynthDef("whiteUp", { arg amp = 0.8, dur = 16.8; var snd, env; env = Env.perc( attackTime: dur, releaseTime: 0.01, le ...
-
... y by executing blocks of code. // do this ( x = SynthDef("Help-SynthDef", { arg out = 0; Out.ar(out, PinkNoise.ar(0.1)) }).play; // SynthDef-play returns a Synth object. ) // then do this ( SynthDef("help-Rand", { arg out = 0; Out.ar( out, ...
-
... e synthesis patterns developed in connection with SuperCollider Tutorial 23 on YouTube: https://youtu.be/8EK9sq_9gFI ( //cleanup Pdef.all.do(_.clear); Pbindef.all.do(_.clear); ~wt_buf.do(_.free); t.stop; ServerTree.remove(~add_reverb) ...