-
... -1, 0, 0, \freq, 2000, \sustain, 0.1, \out, 0, \pan, 1); ******/ SynthDef('grainXLine', { arg out = 0, freq=800, sustain=0.01, amp=0.5, pan = 0.0; var window; window = Env.new([ amp, 0.001 ], [ sustain ], 'exponential'); Out.ar(out, Pan2.ar ...
-
... attle * rEnv; // another sound sweep to improve the attack, optional sEnvFreq = XLine.kr( start: sweepstart, end: sweepend, dur: sweeprel / 2 ); sEnvAmp = Env.perc( attackTime: sweepatt, releaseTime: sweeprel, level: sweepamp, curve: curve ...
-
... , { |x=1| BPF.ar(PinkNoise.ar(10 ! 2), 700 * x, 0.1) * 0.3 }, { |x=1| SinOsc.ar(XLine.kr(8000, 200, 60) * [1, 1.23] * x) * 0.1 } ], { |receiver, func, args| receiver.collect { |x| func.(x, args) } }); ) b = a.play; // b is a Lift of an arra ...
-
... .01, 0, 1, 1, -3), timeScale:sustain, doneAction:2); sound = LPF.ar(SinOscFB.ar(XLine.ar(freq.expexp(10, 2000, 1000, 8000), freq, 0.025/rate), voice), 9000); Out.ar(out, DirtPan.ar(sound, ~dirt.numChannels, pan, env)) }).add ); // Hi-hat us ...
-
s.boot; ( // some basic drum synths SynthDef(\kick, {|out| var sig = SinOsc.ar(XLine.ar(start: 600, end: 50, dur: 0.1)); var env = EnvGen.kr(Env.perc(releaseTime: 0.25, curve: 5.0), doneAction: Done.freeSelf); Out.ar(out, Pan2.ar(sig*env*\a ...
-
... ; e= EnvGen.ar(Env.perc(0.01, dur), doneAction:2); z= SinOsc.ar(freq, SinOsc.ar(XLine.ar(freq2, 1, dur), 0, pi), amp)+ClipNoise.ar(e*0.001); Out.ar(out, Pan2.ar(z*e, pan)); }).add; s.sync; //--world w= RedWindow("rocks pinball test", Rect(1 ...
-
... ll crashes .. // time goes to zero.. ( SynthDef(\x, { |freq, sustain| Out.ar(0, XLine.kr(0.1, 0.0001, sustain, doneAction: 2) * SinOsc.ar(freq, 0.5pi)) }).add; Pbind(\freq, 810, \sustain, 0.5, \dur, 1, \instrument, \x, \server, r.s).play(r. ...
-
... - alpha // sounds identical to RLPF to me { RLPF.ar(Saw.ar(200,0.1), FSinOsc.kr(XLine.kr(0.7,300,20),3600,4000), 0.2) }.play; { RbjLPF.ar(Saw.ar(200,0.1), FSinOsc.kr(XLine.kr(0.7,300,20),3600,4000), 0.2.reciprocal) }.play; */ RbjLPF { *ar { ...
-
... 0.1", 57120); ); t.others.first.dump ( SynthDef(\x, { |freq, sustain| Out.ar(0, XLine.kr(0.1, 0.0001, sustain, doneAction: 2) * SinOsc.ar(freq, 0.5pi)) }).add; Pbind(\freq, 810, \sustain, 0.5, \dur, 1, \instrument, \x).play(t, quant:1); Pbi ...
-
... ise0 .kr([10, 15] * exprand(0.5, 4.0), 200, [300, 500]) * exprand(1.0, 4.0) ) * XLine.kr(0.5, 0.005, exprand(0.1, 10), doneAction: 2); }; KeyPlayer(\px).put($t, { ~test.send }); KeyPlayer(\px).put($u, { ~test.rebuild }); )