-
... / freq ) width relative width of the bell. Best to keep below 0.25 when used as envelope. (default: 0.1) iphase initial offset (default: 0) loop if loop is > 0, UGen oscillates. Otherwise it calls doneAction after one cycle (default: 1) don ...
-
... example: ( SynthDef ( "Pdefhelp" , { arg out, freq, sustain=1, amp=1, pan; var env, u=1; env = EnvGen .kr( Env .perc(0.01, sustain), 1, doneAction:2); 5.do { var d; d = exprand(0.01, 1); u = SinOsc .ar(d * 300, u, rrand(0.1,1.2) * d, 1) }; ...
-
... var x; x = Formant .ar( SinOsc .kr(0.02, 0, 10, freq), formfreq, bwfreq ); x = EnvGen .kr( Env .adsr, gate, Latch .kr(gate,gate)) * x; Out .ar(0, x); }).send(s); x = Synth ( "sik-goo" ); //set the action: MIDIIn .noteOn = { arg src, chan, ...
-
... are replaced by crossfading the previous with the new over this time (in beats) envir_(event) provide a default event for the Pdef. It is used to filter the incoming stream before it is passed to the source pattern. This is similar to NodeP ...
-
... i , { | out, freq = #[100,200,300], amp = 0.1, pan = 0, sustain = 1| var audio, env; env = EnvGen .kr( Env .perc(0.01, sustain), doneAction:2); audio = Mix ( Saw .ar(freq)); audio = Pan2 .ar(audio * env, pan, amp); OffsetOut .ar(out, audio) ...
-
... gering purposes, among other things: s = Server .local; s.boot; ( // trigger an envelope { var trig; trig = SinOsc .ar(1) > 0; Out .ar(0, EnvGen .kr( Env .perc, trig, doneAction: 0) * SinOsc .ar(440,0,0.1) ) }.play(s);) ( // trigger a synth ...
-
... gering purposes, among other things: s = Server .local; s.boot; ( // trigger an envelope { var trig; trig = SinOsc .ar(1) < 0; Out .ar(0, EnvGen .kr( Env .perc, trig, doneAction: 0) * SinOsc .ar(440,0,0.1) ) }.play(s);) ( // trigger a synth ...
-
... gering purposes, among other things: s = Server .local; s.boot; ( // trigger an envelope { var trig; trig = SinOsc .ar(1) >= 0; Out .ar(0, EnvGen .kr( Env .perc, trig, doneAction: 0) * SinOsc .ar(440,0,0.1) ) }.play(s);) ( // trigger a synt ...
-
... gering purposes, among other things: s = Server .local; s.boot; ( // trigger an envelope { var trig; trig = SinOsc .ar(1) <= 0; Out .ar(0, EnvGen .kr( Env .perc, trig, doneAction: 0) * SinOsc .ar(440,0,0.1) ) }.play(s);) ( // trigger a synt ...
-
InterplEnv envelope specification superclass: Object An InterplEnv is a specification for a segmented envelope. InterplEnvs can be used both server-side, by an IEnvGen within a SynthDef, and clientside, with methods such as at . An InterplE ...