-
Micro-Rythms and micro-melodies with granular synthesis. by jeromelapuyadelahorgue (jerome.lapuyade.lahorgue) Code
... ( SynthDef(\essai,{ arg gate=1,amp=0.1,pan=0,freq=440,out; var sig,env,trig; trig=Impulse.ar(freq); sig=PlayBuf.ar(1,~sample2,freq,trig,loop:0); env=Env.adsr.ar(doneAction:2,gate:gate); Out.ar(out,Pan2.ar(sig*env*amp,pan)); ...
-
... = LocalIn.kr(n_voices); // Latch returns 0 by default before the first trig, that is why we // sum 1 to the index and then subtract. var voice = (Latch.kr(ArrayMax.kr(times)[1] + 1, t_gate) - 1); var trigs = n_voices.c ...
-
... nce performance. ( // 'random' sequences of rhythms, reverb,... z = { var trig, seq; trig = Impulse.kr(6); seq = Drand([ Dseq([4,0,0,1,Drand([1,4]),1,0,1]), Dseq([1,0,2,0,Drand([0,1,4]),0,1,1]), Ds ...
-
... very simple SynthDef to start with ( SynthDef(\bird,{ var sig, freqenv, env, trig; trig = Dust.ar(2); env = EnvGen.ar(Env.perc(0.01,0.4,0.8,-8), trig, doneAction: 2); freqenv = EnvGen.ar(Env([Rand(1000,3000), Rand(3000,6000), Rand( ...
-
... . Thunder is the most complicated of them all. It is filtered noise with a slow trigger for making a thunderclap and a fast trigger for the rumbling within a thunder. I added some FreeVerb to make it more spatial. ( //Global sinusoidal env ...
-
... var timA = Array.geom(3, tim, 0.5); var trig = Impulse.ar(4/timA); // Used to progress pos and pos2 as well as trigger Decay and reset Phasor. If you're ciurious on how exactly buffers work in this wo ...
-
Will nobody switch the damn thing off? ( { var dseq, trig; dseq = Dseq([SinOsc.ar(45).range(-5, 12), SinOsc.ar(SinOsc.ar(0.285).range(42, 48)).range(-9, 19), 9, 0, -12], inf); trig = Impulse.ar(SinOsc.ar(0.2).range(44, 46)); SinOsc ...
-
... ew version! ( s = Server.default; s.boot; ) ( SynthDef(\bglass, { |t_trig = 1.0, audioOutBus = 0| var major_hit_times, major_hit_deltas, major_hit_levels, major_hit_impulse_levels, major_hit_impulses; var major_hit_amp, ma ...
-
... accelerating echoes ~buf = Buffer.alloc(s, s.sampleRate * 5); ( { var trig, freq; var dry, snd, phase, iois; var cumulDelay; var decayFactor, lpfCutoff, numEchoes, ioiScale, ioiDecayFactor; // play with these ...
-
... f("wibbly", { arg out = 0, freq = #[60, 65, 57], amp = 0.5, lagTime = 0.1, trigRate = 3, detune = 0.2, noOfSynths = 20; var output; var maxNoOfTones = 50; output = Mix.fill( maxNoOfTones, { arg index; var trig, ...