-
//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)); }, [ ...
-
// test //-- INIT SynthDef(\sinmore, { OffsetOut.ar(0, Env.perc(0.001, 0.1, \amp.kr(0.1)).ar(doneAction: 2) * SinOsc.ar(\freq.kr * [1, 1.1])) }).add; s.sync; //-- PLAY ( ~xmore.stop; // for live coding, stop any old one. ~xmore = Task { var ...
-
/* Retrieved from http://sccode.org/1-5aD */ SynthDef("sawSynth", { arg freq = 440, amp = 0.1, att = 0.1, rel = 2, lofreq = 1000, hifreq = 3000, pan = 0; var env, snd; env = Env.perc( attackTime: att, releaseTime: rel, level: amp ).kr(doneA ...
-
... Osc.ar instead of Pulse.ar Modified by Bruno Ruviaro and Josh Mitchell 8/19. */ SynthDef("trig_demo", { arg out = 0, pan = 0, freq = 440, gate = 1, t_trig = 1, att = 0.01, sus = 1, rel = 0.25; var env, snd; env = Decay2.kr(in: t_trig, attac ...
-
... rig) 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) x.set(\t_trig, 0.5) Attention! { ...
-
... le by Bram de Jong, musicdsp.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(o ...
-
... 90) ~clock.setGlobalTempo(3); ~clock.fadeTempo(10, 3) ~clock.warpTempo(2, 30) ( SynthDef(\click, { var click; click = Impulse.ar(0); DetectSilence.ar(click,doneAction:2); OffsetOut.ar(0, click * 0.5); }).add; ) Pbind(\instrument, \click, \f ...
-
... er+1).pow(2).asInteger ); satie = Satie(config); // we will manually create our SynthDefs, turning this off helps speed up booting satie.config.generateSynthdefs = false; fork { var buffers; var bundle; var timeout; var cond = Condition.new ...
-
... xample in Tour_of_UGens 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 ...
-
//redFrik RedMixStereo : RedAbstractMix { *def { ^SynthDef(\redMixStereo, {|inA= 0, inB= 2, out= 0, mix= 0, amp= 1, lag= 0.05| var a= In.ar(inA, 2); //stereo var b= In.ar(inB, 2); //stereo var z= XFade2.ar(a, b, Ramp.kr(mix, lag), Ramp.kr(a ...