-
... eAll; // close all the windows (This will close the server windows) Snooping in SynthDefs // First execute this: ( f = SynthDef ( "Help-SnoopSynthDef" , { arg out=0; Out .ar(out, PinkNoise .ar(0.1)) }); ) f.dumpUGens; // get the ugens, list ...
-
... 0], [0.5, 0.5], [8, -8]); z = Buffer .sendCollection(s, winenv.discretize, 1); SynthDef ( \fm_grain_test , { arg gate = 1, amp = 1, envbuf; var pan, env, freqdev; // use mouse x to control panning pan = MouseX .kr(-1, 1); // use WhiteNoise ...
-
... or .rand]]).action_({w.close}); s.waitForBoot({ b= Bus .new( \control ,0,1); q= SynthDef ( \Docs_FreqMonitor , { var freq,snd; freq= LFNoise0 .ar(2, 400, 650); snd= SinOsc .ar(freq,0,0.2); Out .ar(0,snd); Out .kr(b.index,freq); // output th ...
-
... 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 . ...
-
... 3.do({ |it| b.set(400*it+100, 1); }); 20.do({ |it| d.set(40*it+20, 1); }); ) ( SynthDef ( \conv_test , { arg kernel1, kernel2, t_trig=0; var input; input= Impulse .ar(1); //must have power of two framesize Out .ar(0, StereoConvolution2L .a ...
-
... se message will be sent to the synth node setting its 'gate' control to 0. Your SynthDef should use 'gate' in an EnvGen based on a sustaining envelope (see Env ), and the EnvGen should have a doneAction ( UGen-doneActions ) that releases th ...
-
... 0], [0.5, 0.5], [8, -8]); z = Buffer .sendCollection(s, winenv.discretize, 1); SynthDef ( \buf_grain_test , { arg gate = 1, amp = 1, sndbuf, envbuf; var pan, env, freqdev; // use mouse x to control panning pan = MouseX .kr(-1, 1); env = En ...
-
... that the buffer will be. this must be a fixed integer. The architecture 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 BufRd, ...
-
... hat key (if none is there, a default pattern is created) see Pdef // 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 = ex ...
-
... xpansion Order Of Execution Server Timing Default Group Bundled Server Messages SynthDef File Format Extending SC Quarks Using The Startup File Using Extensions Writing Classes SCUserView Subclassing Writing Unit Generators Writing Primitiv ...