Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (102) Code (23) Doc (29) Help (13) Quark (37) SCDoc ↗ Forum ↗ Google ↗
  1. Pdelta Quark

    ... nts // the time point pattern puts 4 notes in random places in the bar p = Pn ( Plazy ({ Pseq (({ 4.0.rand } ! 4).round(0.125).sort, 1) }), inf ); // trace lets us see the time points first q = Pdelta (p.trace).asStream; q.nextN(6); 0.25 1. ...

  2. Pdelta Quark

    ... nts // the time point pattern puts 4 notes in random places in the bar p = Pn ( Plazy ({ Pseq (({ 4.0.rand } ! 4).round(0.125).sort, 1) }), inf ); // trace lets us see the time points first q = Pdelta (p.trace).asStream; q.nextN(6); 0.25 1. ...

  3. Re: midified arpeggiator/auto-accompaniment using patterns by 0-eQ (elgiano) Code

    ... indices.first ?? Rest(1) }, seq: {|n,notes| notes.asArray.collect{|i| Plazy{n.get(i)}} } ); MIDIdef.noteOn( \mynoteonhandler, // just a name for this handler { |val, num, chan, src| ~n.noteOn(num) } ); ...

  4. Looping sampler with crossfading by coreyker (coreyker) Code

    ... instrument: \simpler ,buf: ~buf ,octave: Prand([3,4,5],inf) ,degree: Pn(Plazy({Pseq([-4,0,5,7,9,12].scramble.clump(2),2)})) ,dur: 0.5 ,strum: Prand([0, 0.125, 0.25], inf) ,strumEndsTogether: false ,loopStart: Pwhite(90000, 1 ...

  5. sclang-dirt Quark

    ... umps = names.asArray.scramble.curdle(0.1); Pdef(\x, Pbind( \type, \dirt, \s, Pn(Plazy { var n = clumps.choose; postln(join(n, " ") ++ "\n"); Pfuncn({ n.choose }, 2 ** rrand(6, 9)) }), \cut, Prand([1, 2, 3], inf), \n, Pwhite(0, 20, inf), \sp ...

  6. PR Quark

    ... al.read; // other initialization may take place here too Pbind ( \degree , Pn ( Plazy ({ Pseq ((0..7).scramble, 1) }), inf ), \delta , 0.125, \sustain , 0.16, \instrument , \default ); }; }) => PR ( \simplePbind ); Event .default => PR ( \s ...

  7. PR Quark

    ... al.read; // other initialization may take place here too Pbind ( \degree , Pn ( Plazy ({ Pseq ((0..7).scramble, 1) }), inf ), \delta , 0.125, \sustain , 0.16, \instrument , \default ); }; }) => PR ( \simplePbind ); Event .default => PR ( \s ...

  8. Draft code for wearefive by 0-91 (tedthetrumpet) Code

    ... \out, Pseq([~mbus,~ebus],inf)) Pbindef(\u, \out, ~ebus) Pbindef(\u, \buf, Pn(Plazy({Pseq({~bufs.choose}!10,4)}))) Pbindef(\u).stop Pbindef(\u).play Pbindef(\v, \instrument, \rh2, \dur, 1/2, \scale, Scale.dorian, \octave, [3,4], \a ...

  9. Night creatures by ttsesmetzis (ttsesmetzis) Code

    ... sig = PinkNoise.ar( amp ! 2 ); Out.ar( out, sig ) }).add; creature = Plazy { var number, freq, phase, dur, amp; if ( 0.68.coin ){ number = 1.0.rand; phase = number.linlin( 0, 1, 69, 193 ); freq = number.linlin ...

  10. demo: backtracking constraint solver by jamshark70 (jamshark70) Code

    ... ), \dur, 1, \legato, 0.2, \amp, Pseq([0.1, 0.05, 0.05], inf) ), Pn(Plazy({ var list = List.new, remain; if(~time.isNil) { ~time = thisThread.beats }; (thisThread.beats - ~time).debug("elapsed"); remain = ~backtracki ...

prev 1 2 3 4 5 6 7 8 9 10 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow