-
... TempoClock) to the next beat. quant can be a pair of values: [quant, offset] // example // create a new, empty instance a = OSCBundle .new; // a synthdef that needs to be sent to the server, an operation that is asynchronous, // i.e. we hav ...
-
... the bus (should match the synthdef) default: 2 rate bus rate (default: 'audio') Example: ( SynthDef ( \echo , { arg out=0, maxdtime=0.2, dtime=0.2, decay=2, gate=1; var env, in; env = Linen .kr(gate, 0.05, 1, 0.1, 2); in = In .ar(out, 2); X ...
-
... m , \gridColor , \waveColors , \style ] gridColor gridColor_ (color) y y_ (val) Examples // execute these in succession // the cross platform syntax for SCScope is ScopeView ( s = Server .internal; s.boot; ) ( f = Buffer .alloc(s,1024,2); b ...
-
... nce whose elements are arrays with at least as many elements as there are keys. Examples ( a = Pbind ( \x , Pseq ([1, 2, 3]), \y , Prand ([100, 300, 200], inf ), \zzz , 99); x = a.asStream; ) x.next(()); // pass in an event () x.next(()); x ...
-
... Graphical overview over all current Tdefs: TdefAllGui . Overview: JITLib First Example Tdef ( \x , { loop { 0.5.wait; "aaaaaaaaaaaaaazz" .scramble.postln } }).play; Tdef ( \x , { loop { 0.125.wait; "aazz" .scramble.postln } }); Tdef ( \x , ...
-
... polation. 2 = linear. 4 = cubic interpolation (more computationally intensive). Examples: s.boot; ( var winenv; // a custom envelope - not a very good one, but you can hear the difference between this // and the default winenv = Env ([0, 1, ...
-
... nts of the method call - a dump of the call stack to the point of the error For example: 1.blech // no class implements this method; therefore you'll get an error // error text ERROR: Message 'blech' not understood. // receiver and args REC ...
-
... n).dup); }.play(s); ) x.free; See pvcollect pvcalc pvcalc2 for more interesting examples.
-
... he roomsize does not work properly! Still trying to look for the bug... (-josh) Examples SynthDef ( \test , { arg roomsize, revtime, damping, inputbw, spread = 15, drylevel, earlylevel, taillevel; var a = Resonz .ar( Array .fill(4, { Dust . ...
-
... 0485760 | 131072 = 10616832 // this is the mask for shift arrow key Three usage examples, direct and with helper methods isCaps, isShift, isCtrl, isAlt, isCmd, isNumPad, isHelp, isFun : ( w = Window .new.front; w.addFlowLayout; // direct, u ...