-
... a.asStream; x.nextN(8) ) // sound example ( SynthDef ( \help_sinegrain , { arg out=0, freq=440, sustain=0.05; var env; env = EnvGen .kr( Env .perc(0.01, sustain, 0.2), doneAction:2); Out .ar(out, SinOsc .ar(freq, 0, env)) }).add; ) ( var a ...
-
... azy used to produce a sequence of pitches: ( SynthDef ( \help_sinegrain , { arg out=0, freq=440, sustain=0.05; var env; env = EnvGen .kr( Env .perc(0.01, sustain, 0.2), doneAction:2); Out .ar(out, SinOsc .ar(freq, 0, env)) }).add; ) ( a = P ...
-
... r 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, Pan2 .ar( SinOsc .ar(freq, 0, env), ...
-
... }; z.value; z.value(400); // sound example ( s.boot; SynthDef ( "gpdef" , { arg out=0, freq=440, sustain=0.05, amp=0.1; var env; env = EnvGen .kr( Env .perc(0.01, sustain), doneAction:2) * amp; Out .ar(out, SinOsc .ar(freq, 0, env)) }).add; ...
-
... ネルのみ SynthDef ( "aMonoSamplePlayer" , { arg bus = 0, bufnum = 0, rateScale = 1; Out .ar( bus, PlayBuf .ar( 1, bufnum, BufRateScale .kr(bufnum) * rateScale ) * EnvGen .kr( Env .sine( BufDur .kr(bufnum))) ) }).load(s); ) ( // SynthDef をテストする ...
-
... r SC2DSlider values always have ranges between zero and one. You must scale the output and input values to your needs. Using map and unmap, combined with a Spec , is helpful for this. To set the increment or decrement value of the slider, s ...
-
... sRecording see if recording right now wakeUp until the proxy is not used by any output ( either .play or .ar/.kr ) it is not running on the server. you can wake it up to force it playing. examples s.boot; a = RecNodeProxy .audio(s, 2); a.so ...
-
... lter OnePole.ar(in, coef, mul, add) A one pole filter. Implements the formula : out(i) = ((1 - abs(coef)) * in(i)) + (coef * out(i-1)) in - input signal to be processed coef - feedback coefficient. Should be between -1 and +1 { OnePole .ar( ...
-
... s, winenv.discretize, 1); SynthDef ( \warp , { arg buffer = 0, envbuf = -1; var out, pointer, filelength, pitch, env, dir; // pointer - move from beginning to end of soundfile over 15 seconds pointer = Line .kr(0, 1, 15); // control pitch w ...
-
... Integer or inf At each iteration, Ptuple returns a tuple (array) combining the output of each of the patterns in the list. When any of the patterns returns a nil, Ptuple ends that 'repeat' and restarts all of the streams. ( var a, b; a = P ...