-
... have the same argument name signature for existing arguments. For example, grouping the following methods would be ok: foo (a, b) bar (a, b, c) zoo (a) But not: foo (a, x) bar (a, b, c) zoo (y) Following the method tag should come a short ...
-
... // signals var sig; var sigHoa; var sigHoaDel; theta = LFTri.kr(thetaRate, mul: pi/2); sig = Saw.ar(freq, gain.dbamp); // encode sigHoa = HoaEncodeDirection.ar(sig, theta, phi, radius, ~order); // mirror and delay sigHoaDel = DelayN.ar( Hoa ...
-
... , dur), doneAction:2); z= SinOsc.ar(freq, SinOsc.ar(XLine.ar(freq2, 1, dur), 0, pi), amp)+ClipNoise.ar(e*0.001); Out.ar(out, Pan2.ar(z*e, pan)); }).add; s.sync; //--world w= RedWindow("rocks pinball test", Rect(128, 64, width, height)).fron ...
-
... , dur), doneAction:2); z= SinOsc.ar(freq, SinOsc.ar(XLine.ar(freq2, 1, dur), 0, pi), amp)+ClipNoise.ar(e*0.001); Out.ar(out, Pan2.ar(z*e, pan)); }).add; s.sync; //--world w= RedWindow("rocks pinball test", Rect(128, 64, width, height)).fron ...
-
... t radians are, don't worry, just understand that it's a value between 0 and 2 * pi. (You can look at a trigonometry text if you really want more detail.) So if we made a SinOsc with a phase of (pi * 0.5), or one quarter of the way through i ...
-
... 000), 1.0); Out .ar(0, Pan2 .ar(output[0])); }.play ) //transient detection via Pitch hasFreq output //could have freq input and transient detection input to SMS to control rendering ( { var in, fft, sines, noise, freq, hasFreq; //in= Sound ...
-
... various amplitudes and phases wt1 = Signal.sineFill(384, [1,0,1/2,1,1/4],[0,0,pi,0,pi]); //(or make your own DIY Signal for wt1) //do not edit "result" (calculated from wt0 and wt1) result = Signal.fill(384, { arg i; wmean.([wt ...
-
... he odd results you get over the first few samples): { var sig = (SinOsc.ar(440, pi.rand) * XLine.kr(1,10, 5)).clip2(1); var val = Crest.kr(sig, 440).poll; Out.ar(0, sig * 0.1.dup); K2A.ar(val); }.plot(5, minval:1, maxval: 4) ) ⧉ ✔ helpfile ...
-
... evt.settings[1] * values.size).max(3); win = ({ |i| i.linlin(0,(n-1).max(2),-0.5pi,1.5pi).sin.linlin(-1,1,0,1) }!n.max(2)).normalizeSum; smoothed = values.collect({ |item, i| (values.clipAt( (i + (n/ -2).ceil .. i + (n/2).ceil - 1) ) * win) ...
-
... pOldPanAz.if { 2 / width }{ 2 } / overlapChannelSize; // workhorse 1: angle stepping performed by DemandEnvGen panPos = dynOutOffset + DemandEnvGen.perform(fadeRate, indexDrate, durs) * channelStep; // workhorse 2: channel distribution perf ...