Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (81) Code (15) Doc (29) Help (15) Quark (22) SCDoc ↗ Forum ↗ Google ↗
  1. Fracture Doc

    ... grate chips into pitch-based playback streams: //nice blended single tone ( p = Pbindf(Pcollect({|n| f.noteChips(n).choose ?? Rest(0.2)}, Pseq([f.notes.choose], inf)), \dur, Pfunc({|e| (e[\end] - e[\start])/f.buffer.sampleRate}), \amp, Penv ...

  2. Pspawn Doc

    ... ning events // To reuse patternChoices, the Pspawns wrap the base patterns in a Pbindf, which adds new values ( var patternChoices = ( up: { Pbind(\degree, Pseries(rrand(-4, 5), 1, rrand(4, 10)), \dur, 0.125) }, down: { Pbind(\degree, Pseri ...

  3. Psetp Doc

    ... values of one key Source: FilterPatterns.sc Subclasses: Paddp , Pmulp See also: Pbindf , Pset Description Sets a value in an event stream until it ends, repeats this with new values until the value stream ends. Class Methods Psetp. new ( na ...

  4. Pdef Doc

    ... f(\x, Pbind(\note, Pbrown(0, 6, 0.1, inf))); Pdef(\x).quant = 0; // no waiting. Pbindf(Pdef(\x), \dur, 0.03).play; Pbindf(Pdef(\x), \dur, 0.1, \ctranspose, 15).play; Pbindf(Pdef(\x), \dur, 0.3, \ctranspose, 2).play; // now change the defini ...

  5. EventPatternProxy Doc

    ... top; m.stop; // EventPatternProxy can be used in multiple patterns ( x = Ppar([ Pbindf(Pn(a, inf), \gtranspose, Pdup(8, Pseq(#[0, 2, 0, 3], inf)) ), Pbindf(Pn(a, inf), \gtranspose, Pdup(8, Pseq(#[7, 4, 0, 3], inf)), \dur, 0.6 ), Pbindf(Pn(a ...

  6. Pchain Doc

    ... nction : Object pass values from stream to stream Source: Patterns.sc See also: Pbindf Description Pchain(pattern1, pattern2, ... patternN) pattern1 <- pattern2 <- ...patternN Values produced by the stream of pattern2 are used as inval to t ...

  7. PbindProxy Doc

    ... b, 6, 2, 5, 0, 3, 0, 2], inf)); x.play; // embed in other patterns: ( Ppar([ x, Pbindf(x, \ctranspose, 4) ]).play; ) x.set(\degree, Pseq([1b, 5, 1b, 4, 0], inf), \dur, 0.4); ⧉ ✔ helpfile source: /usr/local/share/SuperCollider/HelpSource/Cla ...

  8. SoundFileAnalysis Doc

    ... / how many? ~events.choose.play; // play a random one // play back as a pattern Pbindf(Pseq(~events.copy.scramble, inf), \rate, 1).play; Pbindf(Pseq(~events.copy.scramble, inf), \rate, 2, \dur, 1.4).play; // if you need, write to files ~wri ...

  9. PLn Doc

    ... ]) + [0, 5]; p = Pbind( \dur, Pseq([0.4, 0.2, 0.2], inf), \note, PLn(\a) ); q = Pbindf(p, \note, PLn(\b)); x = Ppar([p, q]).play; ) // replace the lower event stream, new notes start after end of embedding Pseq ~a = Pseq([3, 2, 0]) + [0, -5 ...

  10. PSdup Doc

    ... use PSdup as base for alterings // it takes the last event stored in PS(p) r = Pbindf(Padd(\midinote, PLrand([1,2,4,5]), PSdup(q)), \pan, -1); // as in general with event stream data sharing it's recommended to invent a small delta // betw ...

prev 1 2 3 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow