-
... r(1, 3), MouseY .kr(1, 3), 2, 0, 0.8, tMul: 650); Limiter .ar(sig[0..1], 0.3) * EnvGen .ar( Env .asr(0.1, curve: 3)) }.play ) x.release // oscillating force, modulate tMul ( x = { var sig = Fb1_Duffing .ar( SinOsc .ar(3).range(1, 5), 1, 1, ...
-
... / v listens to t. ); ( ( SynthDef ( \ping , { |freq, pan, amp=0.3| var e, z; e= EnvGen .ar( Env .perc(0, 0.1, amp), doneAction:2); z= SinOsc .ar(freq, 0, 0.2); OffsetOut .ar(0, Pan2 .ar(z*e, pan)); }).memStore; ); ) // play a pattern on clo ...
-
... RollOff = -6, limit = 5, latencyComp = 0, pointLag = 0; var input, output, rho, env, panner; var sendPointRate = 0; var elevation; amp = \amp.kr( amp ); // depending on mode if( mode === \d ) { point = \point.kr([0,0]); SendReply.kr( Impuls ...
-
... 5, rel = 1, pan = 0| Out .ar(out, Pan2 .ar( Pulse .ar(freq, width, amp), pan) * EnvGen .ar( Env .asr(att, 1, rel), gate, doneAction:2) ) }).add ) // you can also define shortcuts for synthdef args ( EventShortcuts .addOnBase( \mine , \mine ...
-
... out = 0, freq = 440, pan = 0, gain = 1; Out.ar(out, Pan2.ar( SinOsc.ar(freq, 0, EnvGen.kr(envelope: (Env.perc), doneAction: 2)), pan, gain));}).send(s); ) // Use <Ctl> values for scheduling nodes // (pings). ( c[0].setup("DelayTime", Contro ...
-
... : if cutfreq>22000 LPF do not correctly work Out.ar(out, LPF.ar( Pan2.ar( amp * EnvGen.kr(Env.new([0,1,1,0], [dur*0.1, dur*0.8, dur*0.1]), doneAction:2) //the samples have fad in and fade out depending on their dur //doneaction will free th ...
-
... rn, maxLookBack = 3, loDev = -3, hiDev = 3, lookBack, thr = 1e-3, length = inf, envir = \current) pattern - Symbol or PIdev pattern arg. The source value pattern to start search from. If a Symbol is passed, a pattern/value can be assigned t ...
-
... eq, mul, gate(0) | var z; mul = ( In .kr(mul)-1)*(-1); freq = In .kr(freq); z = EnvGen .kr( Env .asr, In .kr(gate))* SinOsc .ar(freq*500,0,mul); Out .ar([0,1],z); } ).send(s); ) //maps the gate to the toggle button, freqency to the x axis o ...
-
... 0) { thumpDec } { 1 } ) * exp(-1 * (i + j) * decCoef) }); // Exciter exciter = Env.perc( attackTime: att, releaseTime: dec, level: 0.05, curve: crv).ar; exciter = XFade2.ar( inA: exciter, inB: BrownNoise.ar(exciter), pan: exBlend); // Bank ...
-
// AlgaLib: SuperCollider implementation of Alga, an interpolating live coding environment. // Copyright (C) 2020-2022 Francesco Cameli. // This program is free software: you can redistribute it and/or modify // it under the terms of the GN ...