Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... into a Pdiff). Sieve.union(Pseq([1, 10], inf), 5, 7, `30) Sieve.union({ loop { rrand(1,10).yield } }.r, 5, 7, `30) // compare with result from the pattern alone // a union with one argument just returns its resulting elements. // As pattern ...

  2. ZArchive Doc

    ... instance methods Examples ( a = ZArchive.write("archiveTest"); a.writeItem(1.0.rand); a.writeItem([1,2,3,4,5].choose); a.writeItem("hello"); a.writeItem( Event.make({ ~a = \a; ~b = \b; }) ); a.writeItem([1,2,3,4,5]); a.writeItem( Ref(4.0) ...

  3. ProxyMixer Doc

    ... tv = 19, timescale = 1, curve = 0, loopnode = 0| var env = EnvGen.kr( Env({ 1.0.rand2 }!11, { 1.0.rand }!10, curve, releaseNode: 9, loopNode: loopnode), timeScale: timescale); var pitch = (env * [1, 0.33, -1] * intv).midiratio * freq; Splay ...

  4. Array Doc

    ... ods new newClear with fill fill2D fillND newFrom geom series iota interpolation rand rand2 linrand exprand fib regularPolygon zeroFill Inherited class methods Instance methods at put insert boundedInsert clipAt wrapAt foldAt clipPut wrapPut ...

  5. API Doc

    ... th'] = "some/path"; result['things'] = [1,2,3]; result['quantity'] = 4; result['random'] = 1024.rand; // the dictionary will be sent as JSON // and available in the browser as a JavaScript object reply.value( result ); }.fork } ); ⧉ ✔ Your ...

  6. IdentityDictionary Doc

    ... ere denoted by "self"). a = (some_value: 7, fuzzy_plus: { |self, a, b| a + b * rrand(0.9, 1.1) }); a.some_value; // returns 7 a.some_value = 8; // sets it to 8 a.fuzzy_plus(7, 4); ⧉ ✔ Inherited class methods Instance Methods . know . know = ...

  7. Event_patterns_and_Functions Doc

    ... e inner Pattern's repeat arg. // with each evaluation of Plazy's Function a new random sequence of length = 2 will be generated and repeated 3 times // maximum range of the whole sequence is controlled by the environmental variable ~a ( p = ...

  8. SimpleNumber Doc

    ... diratio ratiomidi ampdb dbamp octcps cpsoct kFreq freqK streams storeOn printOn random coin rand rand2 rrand linrand bilinrand sum3rand exprand gauss partition UGen Compatibility Methods lag lag2 lag3 lagud lag2ud lag3ud slew varlag misc is ...

  9. CtkEvent Doc

    ... Note event.collect( z.note(0.0, 1.0, target: group).globenv_(envbus).freq_(440.rrand(880)) .dur_(1.0).amp_(0.01); ); // set the 'next' time event.next_(0.2.rrand(1.0)); }); ) a.play; // play it b = a.record; // play it AND record the perfor ...

  10. File Doc

    ... = File("~/test.dat".standardizePath, "wb"); f.inspect; 100.do({ f.putFloat(1.0.rand) }); f.inspect; f.close; g = File("~/test.dat".standardizePath, "rb"); 100.do({ g.getFloat.postln; }); g.inspect; g.close; ) ( // var f, g; f = File("~/tes ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow