Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (408) Code (88) Doc (107) Help (49) Quark (164) SCDoc ↗ Forum ↗ Google ↗
  1. PatternProxy Doc

    ... , x, \dur, 1/3) ]) ).play; ) x.source = Prand([0, 3, [1s, 4]], inf); x.source = Pn(Pshuf([0, 3, 2, 7, 6], 2), inf); // if quant is set, the update is done at the next beat or whatever is specified: x.quant = 4; x.source = Pn(Pseries(0, 1, 8 ...

  2. PopUpTreeMenu Doc

    ... {|path| var deepPathMatch, syms, tree; var dir= path.dirname; deepPathMatch= {|pn| var arr= []; pn.pathMatch.do{|x| if(x.last.isPathSeparator, { arr= arr++deepPathMatch.value(PathName(x++"*")); }, { arr= arr++PathName(x); }) }; arr }; syms ...

  3. Pfunc Doc

    ... Event stream; this can even be done inside a Pbind. q = Pbind(\freq, 300, \dur, Pn(0.3, 2)); q.trace.play; // Sound-wise ineffective modification of the incoming stream p = Pbind(\degree, 6) <> q; p.trace.play; // Instead p = Pbind(\degree, ...

  4. PwarpDur Doc

    ... eam.all; dur = exprand(2.5, 6.0); sp.par(Pbind( \instrument, \default, \degree, Pn(Pshuf(notes, 1), inf), \pan, sin(Ptime() * rrand(0.8, 1.5) + rrand(0, 2pi)), \dur, PwarpDur( 1 / rrand(18, 30), cycleDur: 1, curve: rrand(1.5, 2.2) * #[-1, 1 ...

  5. UGenPatterns Doc

    ... the knowledge you have about how for example SinOsc works. Generators PBlip PClipNoise PCuspN PDC PDust PDust2 PExpRand PFBSineN PFSinOsc PGbmanN PHenonN PImpulse PIRand PLatoocarfianN PLFClipNoise PLFNoise0 PLFNoise1 PLFNoise2 PLFPulse PLF ...

  6. Peuclid Doc

    ... defn(\numHits, 5); Pdefn(\numBeats, 12); // can also Pdef(\euclid, Pbind( \hit, Pn(Peuclid(Pdefn(\numHits), 12, 48)), \amp, Pkey(\hit) * 0.2 + 0.02, \instrument, \tic, \ringtime, 0.1, \freq, 2000, \dur, 0.125, )).play; ) Pdefn(\numHits, 2pi ...

  7. Sieves_and_Psieve_patterns Doc

    ... ).plot // distorted periodicity by union with random patterns PSVunion_i([4, 7, Pn(Pshuf([2, 5, 9])) ]).asStream.nextN(100).plot PSVunion_i([4, 7, Pwhite(3, 5) ]).asStream.nextN(100).plot ⧉ ✔ 2c) Sequencing logical operations // This is don ...

  8. 16-Sequencing-with-Patterns Doc

    ... patterns modify the output of value patterns. These are called FilterPatterns. Pn (pattern, repeats) repeat the pattern as many times as repeats indicates Pdup (n, pattern) repeat individual values from a pattern n times. n may be a numeri ...

  9. PG_Cookbook03_External_Control Doc

    ... means modwheel ) ( p = Pbind( \degree, Pwhite(-7, 12, inf), \dur, Pwrand([0.25, Pn(0.125, 2)], #[0.8, 0.2], inf), \legato, Pfunc { ~legato } // retrieves value set by MIDI control ).play; ) p.stop; c.free; ⧉ ✔ If Pfunc { } is bothersome in ...

  10. Psync Doc

    ... , pan)) }).add; ) ( // a fixed duration pattern: f = Pbind( \dur, 0.5, \degree, Pn(4, 1), \instrument, \help_sinegrain ); // this pattern has indetermined length: a = Prand([ Pbind( \dur, Pseq([0.02, 0.002, 0.1, 0.1], 2), \degree, Pseq([9, ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow