Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (5266) Code (160) Doc (3338) Help (578) Quark (1166) Plugin (24) SCDoc ↗ Forum ↗ Google ↗
  1. OSCBundle Help

    ... 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 ...

  2. Pbus Help

    ... 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 ...

  3. SCScope Help

    ... 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 ...

  4. Pbind Help

    ... 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 ...

  5. Tdef Help

    ... 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 , ...

  6. Warp1 Help

    ... 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, ...

  7. Understanding-Errors Help

    ... 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 ...

  8. UnpackFFT Help

    ... n).dup); }.play(s); ) x.free; See pvcollect pvcalc pvcalc2 for more interesting examples.

  9. GVerb Help

    ... 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 . ...

  10. modifiers Help

    ... 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 ...

prev 41 42 43 44 45 46 47 48 49 50 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow