-
... 001 Instr([\shaperSynths1,\decay2,\one],{ arg gate=0.0, freq=440,direction=0.2, envadsr,attack=0.01,decay=0.2,ffreq=4000; var p,a; a = Decay2.kr(Trig.kr(gate ,0.05),attack,decay,direction).clip2(1.0); p = SinOsc.ar(freq,0,a); p=LPF.ar(p,ffr ...
-
... nth order, like Control . TRand , TExpRand , TIRand (can operate at audio rate) Env: *new accepts a new step2 shape, which steps to a value at the end of a shape UGen: -curvelin is now inverse of UGen: -lincurve Server: -record correctly cl ...
-
... , \gate, BPStream(\gate) ); }; }) => PR(\patternTop); { |pat, n| // I had used Penvir, but reject{} is an open function anyway so... use vars var i = 0, prev = nil ! n; pat.reject { |item| // slightly tricky: if 'includes' is true, we DON'T ...
-
... , 22000 - (500 * ((finalFreq/20 + 1).log2)), 0.3, 2, 0, 0);//filter sig = sig*EnvGen.kr(Env.adsr(0.04, 0.2, 0.6, 0.1), gate, doneAction: Done.freeSelf);//env sig = Limiter.ar(sig); //sig = Friction.ar(sig, friction: MouseX.kr(0.00001, ...
-
... mple rate. ( a = { // rectangular pulse exciter (deterministic input) var exc = EnvGen.ar(Env([1, 1, 0], [0.01, 0], \lin)), sig = Ringz.ar(exc, 440, decaytime: 0.2), rms = sqrt(Integrator.ar(sig.squared) * (0.2 / SampleRate.ir)), end = Dete ...
-
... y kind of signal processing you like. It might seem odd at first to use a gated envelope for an effect, but this is important to keep the signal's integrity. If the gate is not there, the effect synth will be n_free'd (brutally cut off), pr ...
-
... ls[i].speak(t)};// #sc sr a=UGen.subclasses;fork{loop{u=a.choose;try{play{u.ar*EnvGen.ar(Env.perc(0.1,1),doneAction:2)!2}};1.wait}}//#sc #supercollider !!!NOT SAFE!!! f=_.speak;fork{loop{f.("hi scott");2.wait;Speech.channels[0].voice_(20. ...
-
... inOsc.ar(freq*[0.9,0.99,1,1.01,1.1], mul:[0.05,0.2,1,0.2,0.05]).mean; var e = EnvGen.ar(Env.perc(1e-4,rel,0.75), 1, doneAction:2) ** 4; Out.ar(0, s*e!2); }).add; s.sync; scale = (12*[3,4,5,6] +.x Scale.egyptian.degrees.flatten).m ...
-
// 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 ...
-
... 5, nharms = 10, pan = 0, gate = 1 | var audio = Blip.ar(freq, nharms, amp); var env = Linen.kr(gate, doneAction: 2); OffsetOut.ar(out, Pan2.ar(audio, pan, env) ); }).add; is = [ 8%/15, 5%/9, 9%/16, 3%/5, 5%/8, 2%/3, 45%/64, 32%/45, 3%/4, 4% ...