-
... snd1 = HPF.ar( in: WhiteNoise.ar, freq: ffreq, mul: env ); snd2 = SinOsc.ar(freq: sinfreq, mul: env); sum = snd1 + snd2; Out.ar(out, Pan2.ar(sum, pan)); }).add; SynthDef("kick", {arg out = 0, amp = 0.3, sinfreq = 60, g ...
-
... by(0.0, 1, 1, 1, 0.3, 0.2, 0.5); a.load(sync: true); s.scope; b = {Shaper.ar(a, SinOsc.ar(440, 0, 0.5), mul: 0.5)}.play(s); a.cheby(0.0, 1, 1, 1, 1.0, 0.5, 0.2); a.cheby(0.0, 1, 1, 1, 0.1, 0.5, 1.0); a.cheby(0.0, 1, 1, 1, 1.0); b.free; a.fr ...
-
... toTrack help file #trackb,trackh,trackq,tempo=AutoTrack.kr(source, lock); beep= SinOsc.ar(1000,0.0,Decay.kr(trackb,0.1)); Out.ar(~trackbus.index,source); Out.ar(0,Pan2.ar((vol*source)+(beepvol*beep),0.0)); SendTrig.kr(trackb,100,tempo); //s ...
-
... v; env = EnvGen .kr( Env .perc(0.01, sustain, 0.3), doneAction:2); Out .ar(out, SinOsc .ar(freq, 0, env)) }).store; ) x.play; ( x.source = { loop { s.sendMsg( "/s_new" , "pdef_grainlet" , -1,0,0, \freq , rrand(600, 640)); 0.1.wait; } } ) ( ...
-
... tion var env, osc; env = EnvGen .kr( Env .sine(dur, amp), doneAction: 2); osc = SinOsc .ar(freq, 0, env); OffsetOut .ar(out, osc); }).memStore; ) // Moving through the lattice with a Pbind ( var index, lattice, basefreq, orient; lattice = L ...
-
... 1, 12], inf ) ).midiratio; var hold = ( MouseX .kr(0, 1) > 0.1).poll; var src = SinOsc .ar(ratio * 200); var sig = Fb1_HopfAFDC .ar(src * hold.lag(0.1), 0.2, 0.6, 1, 50, 150) * EnvGen .ar( Env .asr(0.05)); [sig[0] * 0.7, src * 0.1] }.play ) ...
-
... = CtkSynthDef(sdKey, {arg outBus = 0, inBus = 2, freq, dur = 1; Out.ar(outBus, SinOsc.ar(freq, 0, 0.4) * EnvGen.kr(Env([0, 1, 0], [0.1, 0.9], \sin), timeScale: dur)) }); sd; } */ // reload files after making changes in them o.loadFiles; // ...
-
... ill free all nodes // and create new allocators, giving you a clean slate p = { SinOsc.ar }; p.play; p.register; // will wait until the condition is true // will be considered a failure after 10 seconds this.wait( { p.isPlaying }, "waiting ...
-
... 3( \ringmod, \filter -> { |in, randrate=5| in.asArray[0] // force mono inputs * SinOsc.ar(LFNoise0.kr([randrate, randrate]).exprange(300, 3000)).sum }, 0.5, // wet/dry mix of 50/50 [ \randrate, [0.5, 50, \exp] ] ); ProxyChain.add3( \dist, \ ...
-
... nfluence over the sound: a = {LFTri.ar(100+(1000*Maths.ar(MouseX.kr, MouseY.kr, SinOsc.ar(0.2, 0).range(0,1), 1-MouseButton.kr(lag:0.001))[0]), 0, 0.1)}.play ⧉ ✔ A Maths can also be used to trigger a Maths. Here we have a complex percussion ...