-
... h SynthDef(\foaEncode3, {arg outBus, duration = 0.05, theta, phi; var src, foa, env; // our mono source src = PinkNoise.ar(-6.dbamp); // amplitude scaling envelope env = EnvGen.kr( Env([0, 1, 0], [0.5, 0.5], \sin), timeScale: duration, done ...
-
... //draft class for offset playback from a buffer based on blocks //mono only, no enveloping at the moment, no ampfunc panfunc etc //permanently existing looper, with retrigger to new offsets CutBuf1 : CutSynth { var synthid, trigbus; var <>b ...
-
... freq = 440, amp = 1 , pan = 0| Out.ar(0, Pan2.ar( SinOsc.ar(freq) * EnvGen.kr(Env.perc(0.001, 1, 1, -8), doneAction: 2), pan, amp ); ) }).send; SynthDef(\theBlip, { |freq=440, numharm=8, pan = 0, amp=1| Out.ar( ...
-
... for a precise number of repetitions, one can use a SynthDef with a hard cutoff envelope, as below. Note that adding an offset outside the phasor works better; Phasor.ar(0, playRate, start, end) is sometimes off by a few samples. This is li ...
-
... ape that is to be used to perform new connections. This must be defined with an Env that always starts at 0 and ends at 1. If not specified, a single ramp Env([0, 1], 1) is used by default. playTime Specify the fading in / fading out time t ...
-
... ll hear percussive "ticks" whenever an onset is detected pips = WhiteNoise .ar( EnvGen .kr( Env .perc(0.001, 0.1, 0.2), onsets)); Out .ar(0, Pan2 .ar(sig, -0.75, 0.2) + Pan2 .ar(pips, 0.75, 1)); }.play; ) x.free; // Free the synth ///////// ...
-
... distortion panning reverbs delays and buffer ugens granular synthesis control: envelopes, triggers, counters, gates, lags, decays spectral 2. Techniques broadening a sound: decorrelation, beat frequencies, delays. series and parallel struc ...
-
... gate for note onset/release, and out for output bus. The SynthDef's main volume envelope should specify doneAction: 2 . Non-gated envelopes are supported, although note stealing requires a gate argument. For example: ( SynthDef.new("harpsi" ...
-
... ar(freq * [ Rand (0.99,1.01), Rand (0.99,1.01)], 0, amp) }).distort * 0.2; eg = EnvGen .kr( Env .asr(1,1,1), gate, doneAction:2); out = eg * RLPF .ar(osc, fc, 0.1); #a, b = out; Out .ar(i_out, Mix .ar( PanAz .ar(4, [a, b], [pan, pan+0.3]))) ...
-
... .kr(2.7, 0, 1000, 2500), 0.2)); Out.ar(out, PingPong.ar(bufnum, [left, right] * EnvGen.kr(Env([1, 1, 0], [2, 0.1])), 0.1, 0.8, 1) ) }).play(s, [\out, 0, \bufnum, b.bufnum]); }); ) b.free; ⧉ ✔ helpfile source: /usr/local/share/SuperCollider/ ...