-
... nths write to the same bus, there output is summed, or in other words, mixed. ( SynthDef ( "tutorial-args" , { arg freq = 440, out = 0; Out .ar(out, SinOsc .ar(freq, 0, 0.2)); }).send(s); ) // both write to bus 1, and their output is mixed ...
-
... rver.local; Server.default = s; s.boot; ) // make a new HS // This compiles the SynthDef and prepares the HS to be played with a PHS, // no Synth object is yet instantiated. h = HS(s, { LFDNoise3.kr(0.7, 15, 75) }); ⧉ ✔ A PHS, like a Pbind, ...
-
... t. ////////////////////////////////////////////////////////////// // Note: This SynthDef used throughout this document ( SynthDef(\help_SPE3_SimpleSine, { |out, freq=440, sustain=1.0| var osc; osc = SinOsc.ar( [freq, freq+0.05.rand], 0.5pi ...
-
... of execution. Add actions By specifying an addAction argument for Synth.new (or SynthDef.play, Function.play, etc.) one can specify the node's placement relative to a target. The target might be a group node, another synth node, or a server ...
-
... the sound. Be careful when using higher notes or else the filter may clip. ( SynthDef("bass", { arg freq = 440, amp = 0.5, gate = 1; var snd, env, oscfreq, output; oscfreq = {freq * LFNoise2.kr(0.5).range(0.98, 1.02)}!3; snd = Spla ...
-
... d. Inherited class methods Instance Methods Inherited instance methods Examples SynthDef("help-PulseDivider", { |out = 0| var p, a, b; p = Impulse.ar(8); a = SinOsc.ar(1200, 0, Decay2.ar(p, 0.005, 0.1)); b = SinOsc.ar(600, 0, Decay2.ar(Puls ...
-
... ith the trigger message. this is useful if you have more than one SendTrig in a SynthDef value a UGen or float that will be polled at the time of trigger, and its value passed with the trigger message The nodeID is the node that is sending ...
-
... A function that returns a pattern or any other valid pattern input // example ( SynthDef ( \help_sinegrain , { arg out=0, freq=440, sustain=0.05, pan=0; var env; env = EnvGen .kr( Env .perc(0.01, sustain, 0.2), doneAction:2); Out .ar(out, P ...
-
... lloc(~dirt.server, ~dirt.server.sampleRate * maxTime, ~dirt.numChannels) } ! 2; SynthDef(\record, { |bufnum| var in = InFeedback.ar(whichOrbit.outBus, ~dirt.numChannels); RecordBuf.ar(in, bufnum, loop:0, doneAction:2); }).add; functions[\st ...
-
... this is the first mixerchannel on this server, // load all mixer and automation synthdefs servers.keys.includes(server).not.if({ servers.put(server, IdentityDictionary.new); server.addDependant(MixerChannel); }); new = super.newCopyArgs(nam ...