-
... env; env = EnvGen.kr(Env.linen(0.01, sustain, sustain * release), gate, amp, doneAction: Done.freeSelf); sig = Pulse.ar([freq,freq*1.001], 0.5); sig = sig + Pulse.ar(freq*0.501, 0.01, [0,0.5]); sig = sig + Pulse.ar(freq*1.99, 0.11, ...
-
... mapped to output channels based on a predefined configuration. The remapping is done using a SynthDef that reads input signals, applies the remapping, and outputs the remapped signals. The ServerTree.add ensures that the remap synth is crea ...
-
... ope: Env.adsr(15, \decay.kr(10), 1, 10, curve: \sine), gate: \gate.kr(1), doneAction: Done.freeSelf, ); var chord = \freq.kr(~chaos.value, \lag.kr(10)); var meander = \meander.kr(0.3, 8); var sig = chord collect: { |f| f = ...
-
... var sig = PlayBuf.ar(2, bufnum, BufRateScale.kr(bufnum)*combined_defects, doneAction:Done.freeSelf); Out.ar(out, sig); }).add; b = Buffer.read(s, "pianomusic.wav"); // link in code description, or use your own... ...
-
... = freq * Rand(1, 1.005); out = EnvGen.ar(Env.adsr(releaseTime:release), gate, doneAction: Done.freeSelf) * amp * Pulse.ar([freq,freq*1.005]/1, 0.25, mul:0.75 ); out = out * [Rand(0.0, 1.0), Rand(0.0, 1.0)]; out = RLPF.ar(out, freq * ...
-
... 1 starting at 1 for prog1, bankA, ending at 31 for prog2, bankB * this as been done for midinote, cc and progr change * use the akai mkp mini mkII editor to do that * joystick up down change to CC1 on midinote 10 * * other prog are lef ...
-
... 0, amp = 1 | Out.ar(out, PlayBuf.ar(2, ~buff, BufRateScale.kr(1), doneAction: Done.freeSelf)*amp ) }).add; SynthDef(\bass, { |out, freq = 440, gate = 1, amp = 0.4, slideTime = 0.17, ffreq = 1100, width = 0.15, ...
-
... ynthDef(\sample, {|out= 0, buf, rate= 1| Out.ar(out, PlayBuf.ar(1, buf, rate, doneAction:2)!2); }).add; ) //test1 - single Synth(\sample, [\buf, b[0]]).register.onFree{"hello".postln};//should post when first soundfile done playin ...
-
... + hi; snd = (snd * 60.dbamp).tanh; snd = snd * Env.asr(0, 1, 0.01).kr(Done.freeSelf, \gate.kr(1)); Out.ar(\out.kr(0), snd * \amp.kr(0.1)); }).add; ) ( Pbind(*[ instrument: \gabberkick, amp: -20.dbamp, leg ...
-
... gate=1, wfmax=8500, freq, iphase; var env = Linen.kr(gate, releaseTime: 0.01, doneAction: Done.freeSelf); var son = MoogVCF.ar( in: ( Pulse.ar([freq * 0.98, freq], mul:0.5) + PinkNoise.ar(LFNoise0.ar(2).range(0, 1.0)) + ...