-
... var env, sound; env = Env.adsr(0.01, 0.2, 0.6, 0.2, 0.1); sound = Saw.ar(freq) * env; sound = LPF.ar(sound, cutoff, resonance); sound = Distortion.ar(sound, dist, 0.1); sound = sound * amp * gate; Out.ar(0, ...
-
... s input strength of forcing oscillator {Out.ar(0,Pan2.ar(0.1*WeaklyNonlinear.ar(Saw.ar(261.626,MouseY.kr(0.0001,1,'exponential')), freq:MouseX.kr(100,400)),0.0))}.play //2 per second ( {Out.ar(0,Pan2.ar( CombN.ar( Resonz.ar(WeaklyNonlinear. ...
-
... . ( SynthDef("dataForABus", { Out.ar( 0, // write 1 channel of audio into bus 0 Saw.ar(100, 0.1) ) }).add; ) Synth("dataForABus"); ⧉ ✔ A SynthDef browser ( SynthDescLib.global.read; SynthDescLib.global.browse; ) ⧉ ✔ shows 1 channel of outpu ...
-
... g Sound" by Andy Farnell. (Chapter 58) //Fig 58.7: Red alert //Complete patch, saw + second harmonic, resonators, distortion and post filters to create //fixed resonance. Contains the subpatch shown in fig 58.6. ( SynthDef(\red, { ...
-
... lection(s, a, 1); d = Buffer.sendCollection(s, b, 1); ) // piercing, careful! { Saw.ar(LFNoise0.kr(10, 4000, 5000)) }.play { LTI.ar(Saw.ar(LFNoise0.kr(10, 4000, 5000)), c.bufnum, d.bufnum, 0.1) }.play // Also see [Convolution] ⧉ ✔ helpfile ...
-
... }; ~b = { |freqs = #[100,0], t_trig = 0| EnvGen .kr( Env .perc, gate: t_trig) * Saw .ar(freqs.lag).softclip * 0.5 } ) ( var fSpecs = [[100, 500, \exp ].asSpec,[100, 500, \exp ].asSpec]; JITseto .action = { |setObj| var freqs; ( setObj .id = ...
-
... ,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y| Out.ar(out, Pan2.ar(Normalizer.ar(( SyncSaw.ar(r, q, Pulse.ar(e, c, w, o ), i ))*( FMGrain.ar(v, FMGrain.ar(e, LFCub.ar(s, e, m, g ), u, k, p, SinGrain.ar(p, q, o, b, i ), k ), CuspL.ar( CuspL.ar ...
-
... nOsc.ar(freq: freq, mul: drumModeEnv); drumMode = drumMode + PMOsc.ar( carfreq: Saw.ar(freq * 0.85), modfreq: freq * modHarmonic, pmindex: timbreIndex, mul: drumModeEnv * 10); drumMode = Mix.ar(drumMode) * drumModeAmp; snareEnv = Env.perc(a ...
-
... ); // Warm analog-style pad warmPad = Mix.ar([ Saw.ar(freq * [0.99, 1.01, 1.503]) * 0.4, Pulse.ar(freq * [0.5, 0.752], LFNoise1.kr(0.3).range(0.3, 0.7)) * 0.3 ]); // Simulate ...
-
... def(\player).stop; Ndef(\deta).stop ////////////// explore programs // a saw wave generating program q.bblocker = BBlockerProgram([\ORG, \INC, \INC, \JMP, 1]); q.buf = q.bblocker.makeBuffer Ndef(\deta, {|rate = 20000| Demand ...