-
... os*BufSampleRate.kr(bufnum)), doneAction:doneAction, loop: loop); sig = sig * EnvGen.ar(\adsr.kr(Env.adsr(0.001,0,1,0.01)),gate,doneAction:doneAction); //sig = Pan2.ar(sig, pan, 1).sum; Out.ar(out, sig * \gain.kr(1) * velamp); }).add ...
-
... Bus.control(s); MIDIIn.connectAll; ( SynthDef(\perc, {|freq=280| var ampEnv, snd, attack, release, sat, mod; release = 3; attack = ~ctlbus1.kr; sat = -2; mod = SinOsc.ar(4, 0, 2); ampEnv = EnvGen.ar(Env.perc(attack, releas ...
-
... ar, exponential, sine, cosine, decibel, curve (this is similar to the curves in envelopes, see also Env ). Warps are internally created by ControlSpec . Usually they are created by the message asWarp , understood by symbols and numbers. A w ...
-
... e, i| SinOsc.ar((500 + (i*250)), 0.9pi) // * Decay2.ar(node, 0.01, 0.2) * EnvGen.ar(Env.perc(0.0001, 0.1), gate: node) * 2 * (25-i) * 0.01}; // splay in stereo field //nodes.sum!2; Splay.ar(nodes)// + (SinOsc.ar(2000) * Deca ...
-
... synth = LFSaw.ar([f1,f2,f3,f4],[0,0.001,0.002,0.004,0.008]); synth = synth * EnvGen.kr(Env([0,1,sus,0],[atk,dec,rls],'lin',2),gate,doneAction:0); synth=Splay.ar(synth,0.7); synth=RLPF.ar(synth,ffreq*Linen.kr(gate,0.1,0.4,0.2,0),0.4 ...
-
... pluckImpulse, { |out = 0, t_trig = 0, amp = 0.3| Out.ar(out, PinkNoise.ar * EnvGen.kr(Env.perc(0.01, 0.02), t_trig) * amp); }).add; // Useful for testing. For programmatic usage use \pluckImpulse SynthDef(\mousePluck, { |out = 0, ...
-
In Divisions - Midterm: Plunderphonics with Granular Sampling (musc-9-plunderphonics) by jonathan-coon (Jonathan Coon) Code
... pling", {arg trigger = 0, graindur = 0.2, sndbuf, transp = 1, pos = 0, pan = 0, envbuf = -1, amp = 1, gate = 1; var env, snd; env = EnvGen.kr(Env.asr, gate, levelScale: amp, doneAction: 2); snd = GrainBuf.ar( numChannels: 2, tri ...
-
... .1, 10))); dur= RedSequencer.kr([0.5, 1, 2], Impulse.kr(MouseY.kr(0.1, 1))); e= EnvGen.kr(Env.perc, Impulse.kr(dur)); z= SinOsc.ar(freq, 0, e); Out.ar(out, Pan2.ar(z, 0, 0.4)); }).add; ) a= Synth(\redseq) a.free ⧉ ✔ helpfile source: /tmp/sc ...
-
... ReplaceAll( "*", (nameIndex = nameIndex + 1) ); }; name = newName.asSymbol; } asEnvViewInput { |autoScale = true, fromRect| ^positions.asWFSPointArray.asEnvViewInput(autoScale, fromRect) } *fromEnvViewInput { | input, times, name | ^WFSPath ...
-
... cs=1, pitch1= -2, pitch2=1, flip=1, freeze=0, lag=1; var inChan=0, phaW, trans, env, sd, frams, bs, ot, usedframs, offs=0, phaR; var buf = LocalBuf.new(10 * SampleRate.ir, 2); // var in = SoundIn.ar(inChan); var in = q.liveInput.ar(1); Clea ...