-
... 911/se7en-seconds-in-hea7en-by-the-throat */ ( var seconds = 7; { SynthDef(\ByTheThroat, {|seconds = 7| var pulse = (Pulse.ar(10, 0.5, 0.5) + Pulse.ar(35, 0.3, 0.5)); var sin1 = SinOsc.ar(LFNoise0.kr([1.2, 1.0], 1000, ...
-
... elter (Mono).wav"); b.play; b.numChannels; b.duration; b.numFrames; ( SynthDef("gran1", {arg rate = 1, amp = 1, buffer, startPos = 0, attack = 0.02, release = 0.5, panning = 0; var snd, env; env = Env.perc(attackTime: at ...
-
... , i) }); // Wait until all buffers are read s.sync; // Now add the SynthDef (note that it will need to know numChannels of buffers) SynthDef("playBuf", {arg bufnum = 0, rate, amp = 0.5, gate = 1, loop = 1; var snd, env; ...
-
SynthDef('004_111', {|out=0,a,b,c,d,e,f,g,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(( LFNoise1.ar(h, i, j ))*( GbmanL.ar( HPF.ar( LFDNoise1.ar( Pluck.ar(j, p, 1, w, n, s, g, f ), HenonL.ar(o, h, a, j, d, e, ...
-
Modal synthesis of xilophone, marimba, glokenspiel, tubular bells by nicolaariutti (nicolaariutti) Code
... hone_, _marimba_, _glokenspiel_ and _tubular bells_. // 1. define the synth ( SynthDef(\bell, { |fs=1, t60=1, pitchy=1, amp=0.25, gate=1| var sig, exciter; //exciter = Impulse.ar(0); exciter = WhiteNoise.ar() * EnvGen.ar(Env.perc( ...
-
... wo instances of this process are run simultaneously, one left and one right. ( SynthDef(\ping, { arg freq = 440, pan = 0; var sig; sig = SinOsc.ar(freq, 0, 0.3); sig = sig * EnvGen.ar(Env.perc(0.01, 1), doneAction:2); sig = Pan2. ...
-
... in this video: https://www.youtube.com/watch?v=9gk_8mQuerg */ s.boot; ( SynthDef( \pitches, {|nr, panpos| Out.ar(0, Pan2.ar( SinOsc.ar( (36+(60*nr)).midicps, 0, 0.01, 0), //use midicps for a nice equal spreading of pitche ...
-
... too saturated but nice and punchy. s.boot; TempoClock.default.tempo = 2; ( SynthDef(\kick, { |gate=1,t_trig=1,out=0,pan=0,amp=0.1,boost=4,attenuation=1,fmlevel = 0.5, noiselevel = 0.5, thumplevel=0.5,revlevel=0.1,revroomsize=0.8,r ...
-
SynthDef(\bass, { arg out=0, amp=0.1, gate=1, pan=0, spread=0.8, freq=200, doneAction=2; var sig, sig1, sig2, sig3; freq = SinOsc.ar(freq*\fmfreq.kr(1).lag(0.3)) * \fmrange.kr(0.5).lag(0.3) * LFNoise1.kr(1/7).range(0.9,1.1) + 1 * freq; ...
-
... rocal)*fp[i]; a[i] = exp(-2pi*fp[i]*t); b[i] = exp(-2pi*fo[i]*t) }; SynthDef(\fractalNoise,{ arg out=0; var signal = WhiteNoise.ar(1!2); n do: { |i| signal = FOS.ar(signal,1,b[i].neg,a[i]) }; Out.ar(out,norm*signal) ...