-
... tance_table, table_size, connections; var distance, step, dict, numPnts; var pntEnv, sec; // note: avoid inline warning numPnts = this.numPoints; // warn of high calculation times if (numPnts > 49) { // rough graph of calc times pntEnv = En ...
-
... Def(\foo, {|freq = 440, dur = 1, amp = 0.1| Out.ar(0, SinOsc.ar(freq, 0, amp) * Env.sine(dur).kr(2));}).add; // here we'll share some parameters // OSCDataSpace allows OSC types only // NB that Strings are converted to Symbols by SC's OSC i ...
-
... r going down (parameter lagdown ). Based on the UGen LagUD . ASRNode Trigger an envelope from the signal. This keeps the envelope open, as long as the input signal is above 0. Has the parameters attack , release , curve . See the Env helpfi ...
-
... .1, amp = 0.1| var sig = { WhiteNoise .ar } ! 2; sig = BPF .ar(sig, freq, rq) * EnvGen .ar( Env .perc(att, rel, amp), doneAction: 2) * (rq ** -1) * (250 / (freq ** 0.8)); OffsetOut .ar(out, sig); }).add; SynthDef ( \sin_grain , { |out = 0, ...
-
... height, left, right, numFrames, frameToX; var selection, sortedSection, elasticEnv; numFrames = sfv.numFrames; scale = numFrames / sfv.viewFrames; width = vw.bounds.width; height = vw.bounds.height; left = (sfv.scrollPos * ((width * scale) ...
-
... ed inside withSource keep the source; defer and sched do not. *source { ^currentEnvironment[\radSource]; } // Research code log (off by default): Radicles.codeLog = true / false. // See RadCodeLog for what it records and where. *codeLog_ {a ...
-
... .duration } speeds { ^this.distances / this.times } // speeds in m/s asTimeIndexEnv { ^Env( [0] ++ this.times.collect({ |time, i| i+1 }), this.times ); } indexAtTime { |time = 0| ^this.asTimeIndexEnv.at( time ); } timeAtIndex { |index = 0| ...
-
... ce); sig = Splay .ar(sig); OffsetOut .ar(0, Balance2 .ar(sig[0], sig[1], pan) * EnvGen .ar( Env .perc(att, rel), doneAction: 2)) }).add; ) ( // base pattern, no need to provide durations, as they are calculated from other PSPdiv args p = Pb ...
-
... d compatibility // current embedInStream implementation is incorrect // because Envs as streams do not terminate anymore Pinterp : FilterPattern { var <>times, <>curves; *new { |pattern, times = 1.0, curves = \lin| ^Pseg(pattern, times, cur ...
-
... ); // warp lower hemisphere toward the origin as points move "down" // elWarp = Env([-pi/2, 0, pi/2], [pi/2, pi/2], [-3, 0]); elWarp = Env([0.25, 1, 4], [pi/2, pi/2], 2); // 0>1 scalar // algorithmic rainbow color scheme getColor = { |gain| ...