-
... ib recompiled. ( q = q ? (); // ensure q exists for dict access s.waitForBoot { SynthDef(\sine, { |out = 0, freq = 440, gate = 1| var sig = SinOsc.ar(freq) * 0.1; var env = Env.asr(0.01, 1, 0.1).kr(doneAction: 2, gate: gate); sig = sig * en ...
-
/* these function as effects on the input of the synth or sample (see SynthDefs in core-synths) they respond to the existence of a value for one of the tidal parameters // "to" is an internal superdirt audio routing bus index. So you play a ...
-
... herited class methods Instance Methods . defName a Symbol used for the internal SynthDef . . func a Function that will be wrapped inside the internal SynthDef . . release fade out the sound and free all internal nodes and busses. Arguments: ...
-
... ould be arguments. // Resonator, must subtract blockSize for correct tuning ( SynthDef("testRes", { var freq = 300, localIn, input, limitLevel = 0.2, output; var feedbackAmt = 0.999; freq = MouseY.kr(20, 678, \exponential).poll; ...
-
... choose }, 2); Pseq([a, b], inf).asStream.nextN(20).postln; ) // sound example ( SynthDef ( \help_sinegrain , { arg out=0, freq=440, sustain=0.05; var env; env = EnvGen .kr( Env .perc(0.01, sustain, 0.2), doneAction:2); Out .ar(out, SinOsc . ...
-
/* Retrieved from http://sccode.org/1-5aD */ SynthDef(\xilophone, { |freq = 440, t60=1, pitchy=1, amp=0.25, gate=1, pan = 0| var sig, exciter; exciter = WhiteNoise.ar() * EnvGen.ar(Env.perc(0.001, 0.05), gate) * 0.25; sig = DynKlank.ar( `[ ...
-
/* Retrieved from http://sccode.org/1-5aD */ SynthDef(\glockenspiel, { |freq = 440, t60=6, pitchy=1, amp=0.25, gate=1, pan = 0| var sig, exciter; exciter = WhiteNoise.ar() * EnvGen.ar(Env.perc(0.001, 0.05), gate) * 0.25; sig = DynKlank.ar( ...
-
... s per SuperCollider license Minor modifications by Bruno Ruviaro, June 2015. */ SynthDef("prophet5pwmStrings", { arg out = 0, pan = 0.0, freq = 440, amp = 1.0, gate = 1, att = 0.01, rel = 0, sus = 1, dec = 0.5, lforate = 10, lfowidth = 0.5, ...
-
... methods Examples s.boot; {PinkNoise.ar(0.03) + SinOsc.ar(440, 0, 0.5)}.play(s) SynthDef(\magmap, {arg fftbuf, envbuf; var in, chain, out; in = PinkNoise.ar(0.03) + SinOsc.ar(440, 0, 0.5); chain = FFT(fftbuf, in); chain = PV_MagMap(chain, e ...
-
Now with a little more stick. ( SynthDef(\cowbell, { | out=0, amp=0.3, gate=1, fund_freq=540, pan=0.0 | var sig, env, hash; // hash = DC.ar(0); hash = BPF.ar( Hasher.ar(Sweep.ar(rate: TRand.kr(1.0, 10.0))), ...