Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1643) Code (228) Doc (514) Help (194) Quark (697) Plugin (10) SCDoc ↗ Forum ↗ Google ↗
  1. softSet Doc

    ... lows setting. Examples Ndef(\test, { |freq=200| Splay.ar(SinOsc.ar(freq * Array.rand(12, 0.95, 1.05))) }); Ndef(\test).play(vol: 0.1); Ndef(\test).gui(4) Ndef(\test).set(\freq, 300); // 3 midi steps == 0.02362; Ndef(\test).softSet(\freq, 32 ...

  2. Pstep Help

    ... ons, accent patterns, etc. ( // select a chord and duration and repeat it for a random time interval p = Pstep ( Pbind ( \ctranspose , [0, 4, 7], \note , Pwhite (0, 12), \dur , Prand ([0.2, 0.4, 0.8], inf ) ), Prand ([1, 2, 4], inf )/4 ); P ...

  3. Streams-Patterns-Events1 Doc

    ... in response to next and reset. Here is a FuncStream that represents an infinite random sequence: ( var a; a = FuncStream.new({ #[1, 2, 3, 4].choose }); 5.do({ a.next.postln; }); // print 5 values from the stream ) ⧉ ✔ Another useful subclas ...

  4. sndBuffer2 Quark

    ... e, #[66, 0, 1]); // note off x.set(\note, #[60, 0, 1]); x.set(\startPosSecs, 30.rand, \note, #[60, 1, 1]); x.free; // open up GUIs for monitoring if (~plotTree == nil, { ~plotTree=s.plotTree;}); if (~makeGui == nil, { ~plotTree=s.makeGui;}) ...

  5. MView Quark

    ... var currVals = this.getUni, jump; if (currVals.size < 1) { this.setUni(nil, 1.0.rand); } { jump = rrand(currVals.minItem.neg, 1-currVals.maxItem); this.shiftRange(jump, \stop) }; this.doAction }, $R: { |uv, mod| this.setUni(nil, this.makeVa ...

  6. MultiChannel Help

    ... eo position CombL .ar( // a comb filter used as a string resonator Dust .ar( // random impulses as an excitation function // an array to cause expansion of Dust to n channels // 1 means one impulse per second on average Array .fill(n, 1), 0 ...

  7. UGen Help

    ... lculates at audio/control rate or at initialization only (ir). Some UGens, like Rand , use the *new method instead. These methods are implemented in subclasses, where argument names and their meaning depend on the case. If any argument is a ...

  8. extPlotTreeScale Quark

    ... bol).parentGroup_(g).put(0, { Silent.ar }).play }; fork { 100.do { ().play; 0.3.rand.wait } }; renamed these to plotTree2 and plotTreeView2 for now, so they do not overwrite newer implementation in main SC. Need to look whether anything is ...

  9. MultiProc Doc

    ... set to nil if unneeded. The default behaviour with all nil is a phrasefunc that randomly selects any index up to procs.size. Inherited class methods Instance Methods . initMultiProc Arguments as for new. All other methods override the base ...

  10. Stepper Doc

    ... uencing // s.boot; s.sendMsg(\b_alloc, 10, 128); m = #[0, 3, 5, 7, 10]; a = ({ rrand(0, 15) }.dup(16).degreeToKey(m) + 36).midicps; s.performList(\sendMsg, \b_setn, 10, 0, a.size, a); ( SynthDef(\stepper, { |out| var rate, clock, index, fre ...

prev 121 122 123 124 125 126 127 128 129 130 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow