-
... rest and nothing will play on the server. It doesn't matter whether or not the SynthDef has a freq control; a symbol in this space produces a rest. Here it's a simple conditional to produce a rest when amp == 0 . Pbind(...) The meat of the ...
-
... rver options, which are held in server.options variable. SATIE will prepare the synthdefs on the server and later we will be able to control their life cycle. ( // define a server, SATIE needs it s = Server.supernova.local; // instantiate a ...
-
... ); c = Buffer.alloc(s, 2048, 1); d = Buffer.read(s, "sounds/a11wlk01.wav"); ) ( SynthDef("help-commonMag", { arg out=0, bufnumA=0, bufnumB=1, soundBufnum=2; var inA, inB, chainA, chainB, chain; inA = HPF.ar(Mix(LFSaw.ar([100, 150], 0, 0.2)) ...
-
... of ScGrids which parame are controlable via a GUI. ( // some basic drum synths SynthDef(\kick, {|out| var sig = SinOsc.ar(XLine.ar(start: 600, end: 50, dur: 0.1)); var env = EnvGen.kr(Env.perc(releaseTime: 0.25, curve: 5.0), doneAction: Do ...
-
... n multiple Synths write to the same bus, their output is summed (i.e. mixed). ( SynthDef("tutorial-args", { arg freq = 440, out = 0; Out.ar(out, SinOsc.ar(freq, 0, 0.2)); }).add; ) // both write to bus 1, and their output is mixed x = Synth ...
-
... asStream; 9.do({ b.next.postln }); ) // Pfinval used 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, ...
-
... Inherited class methods Instance Methods Inherited instance methods Examples ( SynthDef("help-TIRand", { var trig, outBus; trig = Dust.kr(10); outBus = TIRand.kr(0, 1, trig); // play on random channel between 0 and 1 Out.ar(outBus, PinkNoi ...
-
... ); c = Buffer.alloc(s, 2048, 1); d = Buffer.read(s, "sounds/a11wlk01.wav"); ) ( SynthDef("help-commonMul", { arg out=0, bufnumA=0, bufnumB=1, soundBufnum=2; var inA, inB, chainA, chainB, chain; inA = HPF.ar(Mix(LFSaw.ar([100, 150], 0, 0.2)) ...
-
... ({ x.next.postln }); ) 1 2 3 1 5 6 1 2 // Place used 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 ...
-
... nce methods . signalRange Examples // modulate frequency of a sine oscillator ( SynthDef("help-MultiplexAnalogIn", { |out = 0| Out.ar(out, SinOsc.ar(MultiplexAnalogIn.ar(0, 1).exprange(200, 5000), 0, 0.1) ) }).play; ) ⧉ ✔ helpfile source: / ...