-
... pos * pi, so that -1 becomes -pi and +1 becomes +pi. This allows you to use an LFSaw to do continuous rotation around a circle. x, y - input signals pos - angle to rotate around the circle from -1 to +1. -1 is 180 degrees, -0.5 is left, 0 ...
-
... 7, amp = 0.5| var snd, noiz, out; var filtfreq; noiz = GrayNoise.ar(999); snd = LFSaw.ar(freq, 3/freq); snd = LFSaw.ar(snd)>0.05; snd = snd * noiz * LFSaw.ar() * 0.05; filtfreq = 2**LFSaw.ar(freq/3.55).round; filtfreq = filtfreq * freq/3.55 ...
-
lfsaw.de Various Language additions by Till Bovermann K2ATrig.html OSCReceiver.html OSCReceiverFunction.html wordBins.html
-
... file a = AtsFile.new("path/to/file.ats").load; ( //play just the resynth, with LFSaw pointing into the file { AtsSynth.ar(a.bufnum, a.numPartials, 0, 1, filePointer: LFSaw.kr(a.sndDur.reciprocal, 1, 0.5, 0.5), mul: 1) }.play(s); ); ( //mul ...
-
... s, time scale is mouse x position { Bend.time(MouseX.kr(0.02, 20, 1), { var f = LFSaw.kr(0.4, 0, 24, LFSaw.kr([8,7.23], 0, 3, 80)).midicps; // glissando function CombN.ar(SinOsc.ar(f, 0, 0.04), 0.2, 0.2, 4) // echoing sine wave }) }.play ) ...
-
... s, time scale is mouse x position { Bend.time(MouseX.kr(0.02, 20, 1), { var f = LFSaw.kr(0.4, 0, 24, LFSaw.kr([8,7.23], 0, 3, 80)).midicps; // glissando function CombN.ar(SinOsc.ar(f, 0, 0.04), 0.2, 0.2, 4) // echoing sine wave }) }.play ) ...
-
... pos * pi, so that -1 becomes -pi and +1 becomes +pi. This allows you to use an LFSaw to do continuous rotation around a circle. Class Methods Rotate2. ar ( x , y , pos: 0.0 ) Rotate2. kr ( x , y , pos: 0.0 ) Arguments: x Input signal X. y ...
-
... ( z = { var sig, freq; freq = MouseX.kr(20,12000,\exponential); sig = BMoog.ar( LFSaw.ar([freq * 0.99, freq * 1.01], 0, 0.1) ! 2, SinOsc.kr(SinOsc.kr(0.1),1.5pi,1550,1800), MouseY.kr(1,0,\linear), 0); // filter mode - lowpass (CombN.ar(sig, ...
-
... ) Examples: ( // same as OnePole { var x; x = LFTri .ar(0.4, 0, 0.99); FOS .ar( LFSaw .ar(200, 0, 0.2), 1 - x.abs, 0.0, x) }.play; ) ( // same as OneZero { var x; x = LFTri .ar(0.4, 0, 0.99); FOS .ar( LFSaw .ar(200, 0, 0.2), 1 - x.abs, x, 0 ...
-
experiments in detecting fast onsets with Amplitude UGens by julianrohrhuber (julian.rohrhuber) Code
... leaseTime:0.01 // too soft to follow ( { var sig, amp, gate, trig; sig = LFSaw.ar(-200) * SinOsc.kr(20).range(0, 1); amp = Amplitude.ar(sig, attackTime:0.01, releaseTime:0.01); gate = amp > 0.2; trig = Trig1.ar(HPZ1.ar(gate), 0 ...