-
... .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 SynthDef ( "help-EnvGen" ,{ arg out=0; Out .ar ...
-
... /////////////////////////////////////////////// Placing audio into a bus Use an Out ugen at the audio rate to put data into an audio bus. ( SynthDef ( "dataForABus" , { Out .ar( 0, // write 1 channel of audio into bus 0 Saw .ar(100, 0.1) ) ...
-
... .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 SynthDef ( "help-EnvGen" ,{ arg out=0; Out .ar ...
-
... .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 SynthDef ( "help-EnvGen" ,{ arg out=0; Out .ar ...
-
... nly gives 8 octaves. // not installed ( SynthDef ( "help- PinkerNoise " , { arg out=0; Out .ar(out, PinkerNoise .ar(0.5) ) }).play; )
-
... nal value is truncated to an integer value and used as an index into the table. Out of range index values are clipped to the valid range. bufnum - index of the buffer in - the input signal. // indexing into a fixed table ( { SinOsc .ar( Ind ...
-
... e FreeSelfWhenDone operates on the Line // this version won't work ( { var env, output; env = Line .kr(0, 1, 1); output = SinOsc .ar(200, 0, 0.5) * env; output.postln; // output is a BinaryOpUGen, which has no 'done' flag FreeSelfWhenDone . ...
-
... ts calculation at the next possible block (normally 64 samples). Using an OffsetOut ugen, one can delay the audio so that it matches sample accurately. For some synthesis methods, one needs subsample accuracy. SubsampleOffset provides the i ...
-
... ds/a11wlk01.wav" ); ( // trig with MouseY SynthDef ( "help-binScramble" , { arg out=0, bufnum=0, soundBufnum=2; var in, chain; in = PlayBuf .ar(1, soundBufnum, BufRateScale .kr(soundBufnum), loop: 1); chain = FFT ( LocalBuf (2048), in); cha ...
-
... which details how the def's unit generators are interconnected, its inputs and outputs, and what parameters are available for external control. In a synth based on the def, arguments to the function will become instances of Control . These ...