-
... e counter PulseCount.ar(trig, reset) Each trigger increments a counter which is output as a signal. trig - trigger. Trigger can be any signal. A trigger happens when the signal changes from non-positive to positive. reset - resets the count ...
-
... de and an index. this object can be held by a client and have its value set without otherwise having to store the details about where the node's input is. d = SynthDef ( "help-NodeControl" ,{ arg out=0,freq=400; Out .ar(out, SinOsc .ar(freq ...
-
... q_pattern, noise_pattern, kick_pattern, hihat_pattern, pattern; var reverb_out = Bus.audio(s, 2); ~group1 = Group(); ~group2 = Group(~group1, \addAfter); SynthDef(\drone, { | out,freq, dur, amp, pan, ...
-
... String { ^[ this ] } folderContents { |levels = inf| // all folder contents var out = []; out = (this.standardizePath ++ "/*").pathMatch; if( levels != 0 ) { out = out.collect({ |item| if( item.last == $/ ) { item.folderContents( levels - 1 ...
-
... n, a.ramp(0.5, -0.025).postln, true, true, true); ( z = SynthDef("help-Osc", { |out = 0, bufnum = 0| Out.ar(out, Osc.ar(bufnum, 200, 0, 0.5) ) }); ) y = z.play(s, [\out, 0, \bufnum, b]); y.free; ⧉ ✔ . decay ( k: 1 ) Implements the formula: ...
-
... , rate: rate, startPos: startPos * BufSamples.kr(buffer)); snd = snd * env; Out.ar(0, Pan2.ar(snd, pan)); }).add; SynthDef("fm2_a", {arg freq = 440, modindex = 10, amp = 0.1, pos = 0, gate = 1, att = 0.01, rel = 0.3; var carrier, ...
-
... ) // examples: "C#-2" , "Gb7" // adds 'cents' method for deviation in cents var out; if(sign.isNil) {sign = $n}; if(sign.class == Symbol) {sign = sign.asString}; if(sign.class == String) {sign = sign[0]}; out = IdentityDictionary[ $# -> ["C ...
-
... 1); c = Buffer.read(s, ExampleFiles.child); ) ( SynthDef("help-magSquared", { |out = 0, bufnum = 0, soundBufnum = 2| var in, chain; in = PlayBuf.ar(1, soundBufnum, BufRateScale.kr(soundBufnum), loop: 1); chain = FFT(bufnum, in); chain = PV ...
-
... er.default = s; s.boot; ) // synthdefs to play with ( SynthDef(\noise_grain, { |out = 0, freq = 400, att = 0.005, rel = 0.1, rq = 0.1, amp = 0.1| var sig = { WhiteNoise.ar } ! 2; sig = BPF.ar(sig, freq, rq) * EnvGen.ar(Env.perc(att, rel, am ...
-
... utions from lo to hi. See also: LinRand , Rand ( SynthDef ( \help_ExpRand , { | out = 0, n = 0 | Out .ar(out, FSinOsc .ar( ExpRand (100.0, 8000.0, n), 0, Line .kr(0.2, 0, 0.01, doneAction:2)) ) }).send(s); ) ( Routine ({ inf .do({ arg i; Sy ...