-
... ( SynthDef(\drums, { arg gate = 1; var sound, env, amp; sound = PlayBuf.ar(1, BufRateScale.ir(BufRd.ar(1, Impulse.kr(0.5), 1)), loop: 1, doneAction: 2); sound = HPF.ar(sound, 50); env = EnvGen.kr(Env.linen(0, 0.05, ...
-
... ); Synth(\sawPercRev); */ ); // figure 8.24 - global setup and a player Tdef for the cloud. ( q = q ? (); // some globals q.paramRNames = [\freqRange, \durRange, \densRange, \ampRange, \panRange]; q.paramNames = [\fre ...
-
... n.ar(\adsr.kr(Env.adsr(0.01,0.1,0.8,0.1)),gate,doneAction:doneAction); sig = Splay.ar(sig, spread, amp, pan); Out.ar(out, sig); }).add; ); ///////// lfo communicating with main pattern ( Ndef(\lfo1, { EnvGen.kr(Env([1,4,1],[0. ...
-
... 0.3,add:1); Mix.new([SinOsc.ar(80)*env,SinOsc.ar(40)*env])*Saw.ar(80)*0.5; }.play; // Adding dust. { var delay1, delay2, source, shift; //k from -1 to 1 //in samples delay1= 100; delay2= 40; //source= Dust.ar(300)*4* ...
-
... b3); RecordBuf.ar([sig,sig],~buff.bufnum,run:r,loop:0); }; ).add; SynthDef(\play,{ Out.ar(0,PlayBuf.ar(2,~buff,rate:-1,loop:1)*EnvGen.ar(Env([0,0.5,1.0,0.5,0],[6,5,10,9]))*0.2); }; ).add; SynthDef(\perc,{arg freq=80; var d,l=4; d=L ...
-
Multislider interface to control 32 partials of a harmonic series. Two modes of playing: "Continuous Tone" - it simply plays a continuous tone as you change the spectrum. "Percussive Tone" - you can play single percussive tones triggered wi ...
-
... vu]); snd = Mix.new(snd); Out.ar(0, snd!2 * env * amp); }).add; ) // Play around with these examples/ // Vowels a e i o u correspond to number 0 1 2 3 4 // Example 1 ( Pmono( "sillyVoice", \note, Pseq([5, 7, 9, 11], inf ...
-
... range(0.988, 1.011), mul:env); snd = LPF.ar(in: snd, freq: 1000); snd = Splay.ar(snd); Out.ar(0, snd); }).add; ) ( m = [72, 79, 77, 79, 82, 79, 87, 86, 84, 82, 84, 79]; Pbind( \instrument, "pulsey", \midino ...
-
... Gate; ~msgFunc = desc.msgFunc; }; ~type = \note; currentEnvironment.play; }); ) ( SynthDef(\test, { |out, freq = 1000| Out.ar(out, Line.ar(0.1, 0, 0.1, doneAction:2) * SinOsc.ar(freq)) }).add ) Pbind(\type, \dnote ...
-
... , inf), \amp, Pseq([rrand(-6.0, -12).dbamp, rrand(-12.0, -21).dbamp], inf) ).play(t); ) //////// ( SynthDef(\eurythmicsVar2, { |pit 60 amp 0.9 gate 1 delayTime 0.2| var lfo, osc, env, sig; lfo = SinOsc.kr(TRand.kr(3, 5 ...