-
... uick first example: z = SpatioScope.new; // default is 4 speakers // 4 chans of sound, randomly panning between { LFDNoise3.ar([2, 3, 5, 8] * 1000) * LFNoise2.kr([5, 8, 13, 21] * 0.1).max(0); }.play; // SpatioScopes survive cmd-period thisP ...
-
... ds Examples Quick start for 1 port Quick start for 2 or more ports example with sound writing to the bus rather than directly to the synth Keyboard Split for two voices Classes | External Control > MIDI'>MIDI MIDIIn : Object receive MIDI me ...
-
... ait; }) }) // set up a SynthDef that takes x and y parameters, and maps them to sound SynthDef(\test, {arg gate = 1, x, y; var env, src; env = EnvGen.kr(Env([0, 1, 0], [0.1, 3], \sin, 1), gate, doneAction: 2); src = SinOsc.ar(x * 330 + 220, ...
-
... nswer. example: a monkey is hitting many buttons, changing his mind about which sound to play starting at the next measure. this would result in many messages being stacked up all at the same time, and the server would choke trying to execu ...
-
... ks assincronously. Arguments: nodename Synth reference/pointer. Accepts SATIE's sound instance references (Check examples on how to reference SATIE Synths). control The Synth Control (parameter) to be requested (expect a symbol). . getAllVa ...
-
... ln; 0.25.wait } }; TempoClock.default.tempo = 1; x.stop; x.play; x.stop; ⧉ ✔ // sound example ( // load a synthdef s.boot; SynthDef("pdef_grainlet", { |out = 0, freq = 440, sustain = 0.05| var env; env = EnvGen.kr(Env.perc(0.01, sustain, 0. ...
-
... eq = #[ 100, 300, 900, 2700 ]; Mix(SinOsc.ar(freq, 0, 0.1)) }.play; // produces sound! ⧉ ✔ See Literals for more information. Variable Arguments Variable arguments are how functions catch an unknown number of arguments or keyword arguments. ...
-
... nslating from amplitude value to dB with ampdb. 100.asSone(100); // 100Hz@100dB sounds perceptually as 33.33 sones ⧉ ✔ asDynamic(freq, ref = 100, fff = 3) Returns a symbol expressing the dynamic value (ppp-fff) of an amplitude and frequency ...
-
... , set it to be the default server: //Server.default = t; //otherwise, make some sound on the remote server {Resonz.ar(Saw.ar([100,101]), Line.kr(100,5000,10, doneAction: 2),mul: -12.dbamp)}.play(target: t); //use target to specify the remot ...
-
... o Synth.new or /s_new , Pmono corresponds to aSynth.set or /n_set . Compare the sound of these patterns. Pbind produces an attack on every note, while Pmono glides from pitch to pitch. p = Pbind(\degree, Pwhite(0, 7, inf), \dur, 0.25, \lega ...