-
... } /* asSynthDef { if(a.rate == \audio, { ^SynthDef(this.defName, { arg abus=0, out=0; Out.ar(out, In.ar(abus, a.numChannels).perform(operator) ) }) }, { ^SynthDef(this.defName, { arg abus, out=0; Out.kr(out, In.kr(abus, a.numChannels).perf ...
-
... 1.0 , add: 0.0 ) Arguments: density Average number of impulses per second. mul Output will be multiplied by this value. add This value will be added to the output. Inherited class methods Instance Methods Inherited instance methods Example ...
-
... /redFrik RedEfxComb : RedEffectModule { *def {|lag= 0| ^SynthDef(\redEfxComb, {|out= 0, mix= -1, dly= 0.3, dec= 1| var dry, wet; dry= In.ar(out, 2); wet= CombN.ar(dry, 1, dly.min(1), dec); ReplaceOut.ar(out, XFade2.ar(dry, wet, mix)); }, [0 ...
-
... seconds multiplied by 2 // define synths SynthDef(\pls, {arg freq=220, out=0, amp=0.7, res=0.5; var sig, env; sig = LFPulse.ar(Line.ar(freq, freq/4, Rand(0.01, 0.1)), 0, Rand(0.01, 0.99), amp); sig = RLPF.ar(sig, freq*5*Li ...
-
... 9754, 1.7820, 1.4142, 0.9080, 0.3129 ] // 10 ]; } *ar { |in, freq, order=2| var out, sr, rqs; sr = SampleRate.ir; rqs = allRQs.clipAt(order); freq = freq.max(0.01); out = in; rqs.do { |rq| out = SOS.ar(out, *this.freqQ2Coeffs(freq, rq, 1, s ...
-
//redFrik RedLoop { var sampler, magic; *new {|path, amp= 1, out= 0, group| ^super.new.initRedLoop(path, amp, out, group); } initRedLoop {|path, amp, out, group| magic= 999999.9.rand.asSymbol; Server.default.waitForBoot{ sampler= this.prTyp ...
-
... cdsp.org RedEfxWave : RedEffectModule { *def {|lag= 0| ^SynthDef(\redEfxWave, {|out= 0, mix= -1, amount= 25| var dry, wet; dry= In.ar(out, 2); wet= dry*(dry.abs+amount)/(dry*dry+(amount-1)*dry.abs+1); ReplaceOut.ar(out, XFade2.ar(dry, wet, ...
-
... helpfile RedEfxDist : RedEffectModule { *def {|lag= 0| ^SynthDef(\redEfxDist, {|out= 0, mix= -1, depth= 0.8, freq= 0.3| var dry, wet; dry= In.ar(out, 2); wet= SinOsc.ar(freq, dry*(1+(depth*(8pi-1))))*0.25; ReplaceOut.ar(out, XFade2.ar(dry, ...
-
... ossibilities trig input signal //examples ( a = SynthDef ( "help-TCoin" , { arg out=0, prob=0.5; var trig; trig = CoinGate .kr(prob, Impulse .kr(10)); Out .ar(out, SinOsc .ar( TRand .kr(300.0, 400.0, trig),0,0.2 ) ) }).play; ) a.set( \prob ...
-
This is the supercollider code used in the tutorial about creating a generative movie score with supercollider and blender. The tutorial itself is located here: part I about using markers on blender's timeline to trigger OSC commands at htt ...