Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (5475) Code (807) Doc (1945) Help (663) Quark (2016) Plugin (44) SCDoc ↗ Forum ↗ Google ↗
  1. BufEnvir Doc

    ... size zero bufnum bufDur bufFrames bufFrames rateScale server clear doWithUpdate playBuf rec Inherited instance methods Examples Classes (extension) | Live Coding BufEnvir Extension referentially transparent buffer environment Location: NOT ...

  2. 060-angents-gol Doc

    //agents playing game-of-life. objects are neightbours if they touch //standard rule modified to also include: if no neighbours then become alive ( var width= 300, height= 300, w, wgrav, world, n= 40, rule, px= 0, py= 0; //--world w= RedWin ...

  3. Pluck Doc

    ... se.kr(2), 440.reciprocal, 440.reciprocal, 10, coef: MouseX.kr(-0.999, 0.999)) }.play(s) ) s.quit; // a group of angry fretless mandolin players ( { var freq, numparts; numparts = 50; freq = SinOsc.kr(Array.fill(numparts, { Rand(0.05, 0.2) } ...

  4. DelayC Doc

    ... DelayC.ar(z, 0.2, 0.2, 1, z); // input is mixed with delay via the add input }.play ) ( // recursive application of delay. { z = Decay2.ar(Dust.ar(1, 0.5), 0.01, 0.1, Saw.ar(100 + [0, 1])); 5.do { |i| z = DelayC.ar(RLPF.ar(z, Rand(100, 300 ...

  5. PLnaryop Doc

    ... midinote, PLnaryop('+', \src, [\dev]), \dur, 0.1 ); ) // define Environment and play ( e = (src: PLseq([61,62]), dev: Pbrown(-5, 5, 0.2) ); e.use { x = p.play }; ) // replace e.dev = PLseq((0, 0.5..7)); e.dev = Pbrown(-5, 5, 0.2); e.src = P ...

  6. MotifCutProc Doc

    ... 0.25, 0.5]], //first Motif [[0.5, 0.5], [0.33, 0.33, 0.34]] //second Motif ] )).play; ) ( //changing the motiflist gradually as you go var motiflist; motiflist=[[[0.5,0.5],[0.25,0.25],[0.5]]]; BBCut2(CutBuf2(f),MotifCutProc.new( motiflist, ...

  7. TWindex Doc

    ... , w3]); Out.ar(out, SinOsc.ar( Select.kr(index, [400, 500, 600]), 0, 0.2 ) ) }).play; ) a.setn(0, [0, 0, 1].normalizeSum); a.setn(0, [1, 1, 1].normalizeSum); a.setn(0, [1, 0, 1].normalizeSum); // modulating probability values ( a = SynthDef ...

  8. Prewrite Doc

    ... global Pdef dictionary // See the post window for info about which of these are playing Psym( Prewrite(\a, // start with pattern \a ( \a: #[\a, \b], \b: #[\c, \a], \c: #[\a, \b] ), 4).trace ).play ) // Inspect the L-system to see what data ...

  9. PV_ExtractRepeat Doc

    ... oplen).exprange(100, 500).cpsmidi.round.midicps) * 0.1; (loopy + varying).dup }.play; ) // Now the thing that will attempt to separate them out again (inc a buffer for it to use): ~loopbuf = Buffer.alloc(s, 200, 513); ( y = { |which=1, acti ...

  10. 191-kmeans2 Doc

    ... olor.white; //Pen.fillOval(Rect.aboutPoint(c, 15, 15)); //draw centroid }; }; w.play; CmdPeriod.doOnce({w.close}); ) //--play with the number of centroids/clusters ~k= 15 ~k= 35 ~k= 2 ~k= 3 ~k= 10 //--add some gravity to make things harder ...

prev 91 92 93 94 95 96 97 98 99 100 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow