-
... eam; 30.do({ x.next.postln }); ) Plazy 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 . ...
-
... ith the trigger message. this is useful if you have more than one SendTrig in a SynthDef value a UGen or float that will be polled at the time of trigger, and its value passed with the trigger message The nodeID is the node that is sending ...
-
... hases| //////// Try uncommenting each of these lines in turn and re-running the synth: [mags * {1.5.rand}.dup(mags.size), phases + {pi.rand}.dup(phases.size)]; // Arbitrary filter, arbitrary phase shift //[mags.reverse, phases.reverse]; // ...
-
... to(500).plot(bounds: Rect (10, 410, 520, 380), parent: w); ) // 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 . ...
-
... there are no conflicts. Bus objects should not be created or modified within a SynthDef . Note: The lowest n bus indices are reserved for hardware output and input, where n = server.options.numOutputBusChannels + server.options.numInputBus ...
-
... a.asStream; 10.do({ b.next.postln; }); ) Pseq used as 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 . ...
-
Functions and .scope messages An easy way to audition synthesis processes is to test them within a function. To do this, append a .scope or a .play message to a function. The .scope message, which works only with the internal server, displa ...
-
... 3.do({ |it| b.set(400*it+100, 1); }); 20.do({ |it| d.set(40*it+20, 1); }); ) ( SynthDef ( \conv_test , { arg kernel, t_trig=0; var input; input= Impulse .ar(1); // must have power of two framesize Out .ar(0, Convolution2L .ar(input, kernel ...
-
... that the buffer will be. this must be a fixed integer. The architechture of the SynthDef cannot change after it is compiled. warning: if you supply a bufnum of a buffer that has a different numChannels then you have specified to the PlayBuf ...
-
... .1 * IFFT (chain).dup; }.play ); d = Buffer .read(s, "sounds/a11wlk01.wav" ); ( SynthDef ( \rectcomb_max , { arg out=0, soundBufnum1=0, soundBufnum2 = 0; var inA, chainA, inB, chainB, chain ; inA = PlayBuf .ar(1, soundBufnum1, BufRateScale ...