-
... n (w, Rect (90,20,200,30)) .states_([ [ "sine" , Color .black, Color .rand], [ "saw" , Color .black, Color .rand], [ "noise" , Color .black, Color .rand], [ "pulse" , Color .black, Color .rand] ]) .action_({ arg butt; butt.value.postln; }); ...
-
... 1| CombL .ar(a_in, 0.5, dt, 15 * dt) }; ~f3 = { |a_in=#[0,0], freq=30| a_in * LFSaw .ar(freq.neg).max(0) }; // some sources ~x1 = { LFPulse .kr( SinOsc .kr(0.2).exprange(2, 200)) * PinkNoise .ar(0.5.dup) }; ~x2 = { Dust .ar( SinOsc .kr(0.2, ...
-
... e); var freq = IndexL.kr(buf, MouseX.kr(0, BufFrames.kr(buf))).poll * 100 + 40; Saw.ar(freq * [1, 1.1]) * 0.1 }.play; ) // DetectIndex ( { var buf1 = LocalBuf.newFrom((0..5).scramble); var buf2 = LocalBuf.newFrom((0..5).scramble - 1); var b ...
-
... nv = EnvGen.kr(Env.adsr(0.1, releaseTime: 0.1), gate, doneAction: 2); var src = Saw.ar(freq) * env; var ffreq = freq * ffac; var rq = 0.1 ** res.clip(0, 1); src = RLPF.ar(src, ffreq, rq); // original used this filter: // src = MoogLadder.ar ...
-
... a feedback loop, is the initial pulse I used. Using a sharp impulse produces a saw-like sound, but the initial shape I made looks a bit like a trapezoid, for a less "buzzy" sound. The shape of it varies with the impulse Att, Sus, Dec, and ...
-
... n and the maximum are the same. For SinOsc the theoretical value is 2.sqrt. For Saw it is 3.sqrt. These exact values might not occur in practice, because of anti-aliasing and other sampling factors. Class Methods Crest. kr ( in , numsamps: ...
-
... わけで、2つのシンセは与えられた順序で評価されなければならないのです。 ( SynthDef("firstNode-source", { Out.ar( 0, Saw.ar([200, 201], 0.05) ) }).add; SynthDef("secondNode-filter", { ReplaceOut.ar( 0, LPF.ar( In.ar(0, 2), Lag.kr( LFNoise0.kr([4, 4.001], 500, 1000), 0.1 ) ) ) ...
-
... rassy': { |x, z| sin(pi * x.sign * x.abs.pow((1 - z + 0.1) * pi * pi)) }, 'saw/sine reveal': { |x, z| if(x + 1 > (z * 2), x, sin(x * pi)) }, 'i can has kickdrum': { |x, z| sin(pi * z * z * 32 * log10(x + 1.1)) }, 'midpoint mi ...
-
... ( SynthDef(\beep, { |freq=440, cutoff=1000, pan=0| Out.ar(0, Pan2.ar(LPF.ar(Saw.ar(freq), cutoff), pan)) }).send(s); ) //from 1 to 100 //while number>1 //if even: divide by 2, else multiply by 3 and add 1 //remember highest valu ...
-
... ; ~c = (def: { SinOsc.ar * EnvPerc.ar }, dur: 0.5) //Replace the pattern ~c = { Saw.ar * EnvPerc.ar * 0.7 } //Clear ~c.clear(time:2); //AlgaPattern: differential ~d.interpTime = 3 ~d.playTime = 2 ~d.sched = 1; ~d.play(chans:2) //Change the ...