Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1234) Code (312) Doc (341) Help (126) Quark (454) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. PG_Cookbook07_Rhythmic_Variations Doc

    ... ay(keys.size * 2); keys.do({ |key| if(key.envirGet.notNil) { pairs.add(key).add(Pseq(key.envirGet, 1)) }; }); pairs }, // identify rests in the rhythm array // (to know where to stick notes in) getRestIndices: { |array| var result = Array(a ...

  2. softPut Help

    ... od, which // forwards softPut to their envirs: Pdef ( \test , Pbind ( \degree , Pseq ((0..7), inf ))).play; Pdef ( \test ).set( \amp , 0.03) Pdef ( \test ).envir.softPut( \amp , 0.06); // no, too big Pdef ( \test ).envir.softPut( \amp , 0.0 ...

  3. Introduction to miSCellaneous Quark

    ... p = Pbind ( \dur , 0.5, \instrument , \source , \note , Pshuf ((0..11), inf ) + Pseq ([[0.2, 14.2], [0, 4], [0, 4]], inf ), \octave , Pwhite (3, 6), \out , Pseq ([b, a, a], inf ) // here we do fx sequencing ).play ) p.stop // we need to do ...

  4. Interface Doc

    ... // patterns naturally create an .ir input Pswitch1([ ~beatStart1, ~beatStart2 ],Pseq([0,1],inf)) // juggle back and forth ], // stream of beat durations Pseq(~durations,inf)); ~patch },[ // a blank sample Sample.new(nil) ]) .gui_({ arg layo ...

  5. PLbindefPar Doc

    ... [[65, 68]] ~c[2].m = [[87, 90]] // set substreams ~c[[0, 1]].m = [[[65, 70]] + Pseq([0, 1.5], inf), [[75, 80]]] ( ~c.([1, 2], \d, [0.6, 0.35], \m, [ [[75, 80]] + Pseq([0, 1], inf), [[85, 90]] + Pseq([0, 1.5, 2.5], inf) ] ) ) ~c.remove ⧉ ✔ ...

  6. proxyspace_examples Help

    ... 0, 30, 100) }; ~lfo2 = { LFClipNoise .kr(3, 100, 200) }; ~lfo3 = StreamKrDur ( Pseq ([ Prand ([530, 600],1), 700, 400, 800, 500].scramble, inf ) / 3, 0.2); ~out.xmap( \ffreq , ~lfo2); ~out.xmap( \ffreq , ~lfo); ~out.xmap( \ffreq , ~lfo3); ...

  7. Block Doc

    ... toPattern(1,0).play [d.toPattern(1), d.toPattern(2)].ppar(2).play Pdefn(\note1, Pseq([9,1,6,\rest], 1)); Pdefn(\note2, Pseq([\rest,2,1,0, 2], 1)); SynthFile.postAll(\point); SynthFile.read(\point).do{|item| SynthFile.read(\point, item).toSy ...

  8. PG_03_What_Is_Pbind Help

    ... o next , so that Pbind has somewhere to put the values. ( p = Pbind ( \degree , Pseq (#[0, 0, 4, 4, 5, 5, 4], 1), \dur , Pseq (#[0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 1], 1) ).asStream; // remember, you have to make a stream out of the pattern befo ...

  9. API-old-help Quark

    ... ll that method on the object passing in args // expose methods on an object b = Pseq ([1,2,3,4], inf ).asStream; a.exposeMethods(b,[ 'next' , 'reset' ]); s.boot; p = Pbind ( \freq , Prand ([300, 500, 231.2, 399.2], inf ), \dur , Prand ([0.1 ...

  10. PG_06d_Parallel_Patterns Help

    ... tpar with separate groups for the subpatterns. An excellent example of Ppar and Pseq used together to structure an entire piece (Kraftwerk's "Spacelab") can be found in examples/pieces/spacelab.scd . Dynamic parallelizing Ppar and its cousi ...

prev 111 112 113 114 115 116 117 118 119 120 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow