-
... 0.5)); x = a.asStream; 9.do({ x.next( Event .new).postln; }); ) sound example ( SynthDef ( \sinegrain , { arg out=0, freq=440, sustain=0.02; var env; env = EnvGen .kr( Env .perc(0.001, sustain), 1, doneAction:2); Out .ar(out, SinOsc .ar(fre ...
-
... 9], #[0, 1, 3, 7, 8, 11] ), \dur , 0.25 ).play; ) //___indian video game (1) ( SynthDef ( "ivg" , { arg out, freq=900, pan; var trig, snd; trig = Impulse .kr( LFClipNoise .kr(4, 3, LFClipNoise .kr(0.2, 2, 7))); snd = RLPF .ar( SinOsc .ar(f ...
-
... 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 . ...
-
... 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 ...
-
... ttrack/samples/100.wav" ); //you can also test at 48000 and it should work ( a= SynthDef ( \help_beattrack ,{ arg vol=1.0, beepvol=1.0, lock=0; var in, fft, resample; var trackb,trackh,trackq,tempo; var bsound,hsound,qsound, beep; in= PlayB ...
-
... rols: In the situation when functions are used to combine UGens to more complex SynthDefs, it may not be known which ControlNames are already taken by others. NamedControl allows to reuse existing control names. // compare: ( a = { var x, y ...
-
... .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 ...
-
... 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 . ...
-
... y. SimpleNumber write this value to the bus continuously Bus reads from the bus SynthDef plays a Synth using the SynthDef. This is useful for triggering. Symbol plays a Synth from the SynthDef with this name. This is useful for triggering. ...
-
... 00, b:200); 10.do { x.next(e).postln }; ) PlazyEnvir used to produce a Pbind: ( 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, P ...