-
... eaker is the source and at left is a burst of noise when an onset is detected ( SynthDef("coyote", { var sounds = Mix.fill(3, { var trig = Dust.kr(1); Saw.ar(TRand.kr(50, 880, trig), Decay.kr(trig, TRand.kr(0.1, 2, trig), 3.reciprocal)); } ...
-
... amples The 'done' flag can be used to trigger other things in the same synth: ( SynthDef("Done-help", { |out, t_trig| var line, a, b; line = Line.kr(1, 0, 1); a = SinOsc.ar(440, 0, 0.1*line); // sound fading out b = WhiteNoise.ar(Done.kr(li ...
-
... o the server. This way of communication is well established, e.g. when adding a SynthDef to the server it gets transferred from sclang to the server via OSC as the server is only capable of generating sound. For more information on this ple ...
-
... ule.nextN(128).plot; // sonification: interactive, rewrite while running ... // synthdef ( SynthDef(\gabor, { |out, freq=440, sustain=0.1, amp = 0.1, width = 0.1| var sig, env; env = LFGauss.ar(sustain, width, loop:0, doneAction: 2); sig = ...
-
... .stop; routinePlaying = false; // Reset beat display sequencer.beat_(0); }; }); SynthDef(\GMWhitePerc, { var snd = WhiteNoise.ar(0.25); snd = snd * EnvGen.kr( Env.perc(0.01, 0.2), doneAction: Done.freeSelf ); snd = BPF.ar(snd, 10000, 0.75); ...
-
... a sound into a buffer b = Buffer.alloc(s, s.sampleRate * 3, 1, bufnum: 1000); ( SynthDef(\record, {|out| var in, rec; in = RLPF.ar(LFSaw.ar(300 * SinOsc.kr(0.4).range(0.5, 5)), Line.kr(12000, 100, 3)); rec = RecordBuf.ar(in, b.bufnum, loop: ...
-
... tMix = 0.0; // change to 1 to hear sound from live input, otherwise, an Impulse SynthDef(\helpBinDelay, { arg inbus=0, inMix = 0.0, out=0, fftBuf=0, delayBuf=0, fbBuf=0; var in, chain; in = (Impulse.ar(0.33) * (1.0 - inMix)) + (In.ar(inbus, ...
-
... .removeController(\freq) ( // add a kick which will be played upon button press SynthDef(\kick, {|out| var env = EnvGen.kr(Env(levels: [1, 0], times: [0.2]), doneAction: Done.freeSelf); Out.ar(out, SinOsc.ar(env.exprange(20, 200)) * env * \ ...
-
... running into efficiency problems that can be solved by condensing parts of your SynthDef into a single UGen. UGens are defined in server plugins written in C++. Server plugins are not to be confused with quarks, which extend the SuperCollid ...
-
... .white); w.front; ) A sound example ( s.waitForBoot({ var w, v,int,synth; synth=SynthDef("help-TabletSlider2D",{ arg freq=440,int1=5,int2 = -5, ffreqInterval=0,rq=0.4,gate=0.0; var p,c,d,f; c=LFNoise1.kr(0.1,0.45,0.55); d=LFNoise1.kr(0.1,0. ...