-
... q.freqs = { |i| 50 * 1.5.pow(i) }!9; q.dt = 1.5 * 2.sqrt; q.numHarms = 60; ) ( SynthDef ( \impulser , { |out = 0, pan = 0, dur = 35| var amps = \amps .ir(1!q.numHarms); var signal = Klank .ar( `[q.freqs,amps,amps], Decay .ar( Impulse .ar( ...
-
... ume; var synthid; var lastvol, lastpan; *initClass { StartUp.add({ 2.do({arg i; SynthDef.writeOnce(\cutmixer++((i+1).asSymbol),{arg outbus=0,inbus=0,amp=1.0,pan=0.0; var tmp; tmp= amp*In.ar(inbus,i+1); //because of grouping, should just wor ...
-
... //dur=0.1, EnvGen.kr(Env([1,1],[dur]),doneAction:2) StartUp.add({ 2.do({arg i; SynthDef.writeOnce(\cb1playbuf++((i+1).asSymbol),{arg bufnum=0,outbus=0,rate=1,startPos=0,trig=1; var tmp; tmp=PlayBuf.ar(i+1,bufnum,BufRateScale.kr(bufnum)*rat ...
-
... each half is played on a different channel in half tempo. */ s.boot; ( SynthDef(\theSine, { | freq = 440, amp = 1 , pan = 0| Out.ar(0, Pan2.ar( SinOsc.ar(freq) * EnvGen.kr(Env.perc(0.001, 1, 1, -8), doneAction: 2), pan ...
-
A simple drum machine, using synthetic (analog type) drum sounds. No SynthDef's were used, although this would be a good idea. The various "players" can be modified and re-evaluated while the Routine is running.... Server.default = s = Serv ...
-
... Ppatlace stream will also be infinite. // Ppatlace as a sequence of pitches: ( SynthDef(\help_sinegrain, { |out = 0, freq = 440, sustain = 0.05| var env; env = EnvGen.kr(Env.perc(0.01, sustain, 0.2), doneAction: Done.freeSelf); Out.ar(out, ...
-
... long with this program. If not, see <http://www.gnu.org/licenses/>. // original SynthDef : https://sccode.org/1-4Rh by rwentk // freq variable is "f" ~name = \SimplePad; ~description = "A Simple Pad"; ~channelLayout = \mono; ~function = { | ...
-
... ze does not work properly! Still trying to look for the bug... (-josh) Examples SynthDef ( \test , { arg roomsize, revtime, damping, inputbw, spread = 15, drylevel, earlylevel, taillevel; var a = Resonz .ar( Array .fill(4, { Dust .ar(2)}), ...
-
... of output channels. Must be a nonzero, positive integer. This is fixed when the SynthDef is compiled so cannot be assigned to a SynthDef argument. trigger At each trigger, the following arguments are sampled and used as the arguments of a n ...
-
... em at the same time. //redFrik - redo_minimalish sketch ( s.waitForBoot{ SynthDef(\p, {|out= 0, freq= 400, amp= 0.1, gate= 1, detune= 0| var env= EnvGen.ar(Env.perc(Rand(0.001, 0.01), LinRand(0.2, 0.4), amp, Rand(-9, -1)), doneAct ...