-
... e details. Setting up OSCresponderNode for listening to a remote application // example: two SuperCollider apps communicating // application 1: n = NetAddr ( "127.0.0.1" , 57120); // the url should be the one of computer of app 2 (or nil) o ...
-
... unningSynths number of currently running synths superclass: InfoUGenBase *ir // example: frequency is derived from the number of synths running ( SynthDef ( "numRunning" , { arg out; Out .ar(out, SinOsc .ar( NumRunningSynths .ir * 200 + 400 ...
-
... or occurs. The error and the thread are passed as arguments to the function. // example ( var x; var func = { "an error happened" .postln }; a = Pprotect ( Pseq ([1, 3, 3, Pfuncn ({ Error .throw }), 2]), func); x = Pbind ( \degree , a, \dur ...
-
... used interchangeably with patterns in control schemes and GUI's. The following example creates a group with nodeID = 2 and plays a synth within it. g = (id: 2).group; g.play; a = (group: 2).synth a.play; g.release; g.stop; interface: play ...
-
... a demand ugen) in input ugen structurally related: Pstutter see also: Demand // example ( { var freq, trig; var in = Dseq ([1, 2, 3], inf ); var rep = Dstutter (Diwhite(2, 8, inf), in); trig = Impulse .kr( MouseX .kr(1, 40, 1)); freq = Dema ...
-
... See "efficiency considerations" below. See also: pvcalc , pvcalc2 , UnpackFFT . Examples ( s.boot.doWhenBooted{ c = Buffer .read(s, "sounds/a11wlk01.wav" ); } ) ( x = { var in, chain, v; in = PlayBuf .ar(1, c, BufRateScale .kr(c), loop: 1); ...
-
... n-positive to positive PauseSelf.kr(in) in - input signal see also: FreeSelf // example ( SynthDef ( \pauseSelf_help , { |out, t_trig| PauseSelf .kr(t_trig); Out .ar(out, SinOsc .ar(400,0,0.2)); }).send(s); ) a = Synth ( \pauseSelf_help ); ...
-
... re typically you simply pass the item to the makeHelp method of Help class (see Examples below). Please note that: - if you want to overwrite an existing help file you have to delete it or rename it before using Helper; - in order to reopen ...
-
... annel) Synth ( "aMonoSamplePlayer" , [ \bus , 0, \bufNum , b]); ) ( // a simple example of component reuse ... use the \bus argument to assign synths built from // the same synthdef to different channels // in this case, play a 1-channel so ...
-
... sponsibility of each class to respond in a way appropriate to that meaning. For example, the ' value ' message means "give me the effective value of this object". The value method is implemented by these classes (among others): Function : t ...