-
... s handled differently in the original examples above) ( a= { var dur= 0.25; var env= Decay2.ar(Impulse.ar(1/dur), 0.01, 0.5); SinOsc.ar(LFPulse.kr(1/(8*dur), 0, 0.5, 400, 400)+SinOsc.ar(1/(40*dur), 0, 10))*env; }.play ) a.free //--nesting / ...
-
... language (and language interpreter) and the code editor (integrated development environment, or shortly, IDE). The server can run either inside the language application ("internal server"), as a separate program on the same machine ("local ...
-
... language (and language interpreter) and the code editor (integrated development environment, or shortly, IDE). The server can run either inside the language application ("internal server"), as a separate program on the same machine ("local ...
-
... ynthDef(\tic, { |out, freq = (60.midicps), amp = 0.1, pan, ringtime = 0.03| var env = XLine.ar(1, 0.001, ringtime, doneAction: 2); var snd = SinOsc.ar(freq); Out.ar(out, Pan2.ar(env * snd, pan, amp)); }).add ); // use Peuclid to control amp ...
-
... into SC3 style code. // This will not execute in SC3 ( Synth.play({ Spawn.ar( { EnvGen.ar(Env.perc) * SinOsc.ar(440,0,0.1) }, 1, // one channels 1 // new event every second ) }) ) // The same example in SC3 (will execute) s.boot; ( SynthDef ...
-
... ics'>Ambisonics VirtualRoom Extension Easy to use class for creation of virtual environments Location: NOT INSTALLED! See also: AmbIEM Description A convenience class for easy creation and management of virtual audio environments. The rende ...
-
... up. // Note what happens when full. x = { var source; source = LFCub.kr(10, 0, EnvGen.kr(Env.linen(1, 2, 1), doneAction:2)); Logger.kr(source, Impulse.kr(49), b.bufnum); }.play(s); ) x.free; b.plot; b = Buffer.alloc(s, 100, 3); ( // The sa ...
-
... var amp; amp = Latch.kr(gate,gate); RLPF.ar( Pulse.ar(freq,width), ffreq, rq) * EnvGen.kr(Env.adsr,gate,amp) }); Patch(\monosynth,[ MIDIGatePlayer.new, MIDIFreqPlayer.new ]).gui ) ⧉ ✔ Class Methods . new Arguments: spec Inherited class meth ...
-
... Instance Methods Inherited instance methods Examples // define an attack-slide envelope ( SynthDef(\modAtkEnv, { |out, value, ratio = 4, clipLo = 20, clipHi = 20000, decay = 0.08, lag = 0.02| Out.kr(out, ( Lag.kr(value, lag) * EnvGen.kr(En ...
-
... d 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, 0, y * 0.5); Out.ar(0, src * env); }).add; // ...