-
... urther away from the center { LFGauss .ar(0.1, 0.12, 2) }.plot(0.2); // several grains { LFGauss .ar(0.065, 0.12, 0, loop: 1) }.plot(0.3); Some calculations: assuming iphase = 0: minval for a given width: minval = exp(-1.0 / (2.0 * squared( ...
-
Impulse impulse oscillator Impulse.ar(freq, phase, mul, add) Outputs non band limited single sample impulses. freq - frequency in Hertz phase - phase offset in cycles ( 0..1 ) { Impulse .ar(800, 0.0, 0.5, 0) }.play { Impulse .ar( XLine .kr( ...
-
... ////////////////////////////////////////////// // 2 synthdefs - the 1st to make grains and the 2nd to delay them // the synthdef that makes the grains is on the left channel // the synthdef that delays the grains is on the right channel ( S ...
-
FreeSelf when triggered, free enclosing synth Inherits from: Object : AbstractFunction : UGen free enclosing synth when input signal crosses from non-positive to positive FreeSelf.kr(in) in - input signal see also: PauseSelf // example ( Sy ...
-
Pbrown brownian motion pattern superclass: Pattern Pbrown(lo, hi, step, length) Returns a stream that behaves like a brownian motion. lo, hi - lower and upper boundary of values (default: 0.0 and 1.0) step - maximum change per step - the di ...
-
Linen simple linear envelope generator Inherits from: Object : AbstractFunction : UGen Linen.kr( gate = 1.0, attackTime = 0.01, susLevel = 1.0, releaseTime = 1.0, doneAction = 0 ) See UGen-doneActions and EnvGen for more detail. // triggere ...
-
Node Messaging The most direct and fast way to send commands to the server is to send messages to the Server object, if you are within sc-lang. If you are in a shell you can use sendOSC (available from CNMAT). this messaging scheme is expla ...
-
... sc .ar(freq), pan ) * EnvGen .ar(window, doneAction:2) ) } ).send(s); ) // send grains ( fork { loop { s.sendBundle(0.1, [ \s_new , \pgrain , -1,1,1]); 0.02.wait; }; } ) // try different synth defs: // without AmpComp: ( SynthDef ( "pgrain" ...
-
Task a pauseable process superclass: PauseStream Task is a pauseable process. It is implemented by wrapping a PauseStream around a Routine. Most of its methods (start, stop, reset) are inherited from PauseStream. Tasks are not 100% intercha ...
-
... env); Out .ar(out, Pan2 .ar(u, pan)) }) ); // create a task to repeatedly send grains ( t = Task .new({ loop({ // starts a synth with the current synthdef at index 0 ~out.spawn([ \pmf , [1, 20, 300].choose, \pan , [0, -1, 1].choose]); [0.1 ...