Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... rtAliveThread { if(thread.isNil) { thread = Routine { // var testStream = Pseq([Pn(0, 200), Pn(1, inf)]).asStream; loop { // randomized sync times, to avoid contention at integer valued beats // stealing this idea from Scott Wilson's Beacon ...

  2. PLn Quark

    ... eams will be finished before replacements Part of: miSCellaneous Inherits from: Pn Takes Symbol args for later reference by the Streams, which will read from variables in the Environments of their instantiation. See PLx suite . In contrast ...

  3. PSPdiv Quark

    ... ivPS, divBasePS, divTypePS, sizes, maxSize; pulse.isKindOf(Number).if { pulse = Pn(pulse) }; evPat = evPat.asArray; div = div.asArray; divBase = divBase.asArray; divType = divType.asArray; // div, divBase and divTape: size must be equal and ...

  4. PHSparUse Quark

    ... 6.25], \legato , 0.2, \amp , Prand ([0.03, 0.05, 0.07], inf ) ]], hsIndices: [ Pn ( Pshuf ([0,0,1,1],1), inf ) ] ).play(c,q); ) // stop x, help synths still playing, producing values for y x.stop; // resume x x.play(c,q); // freeing the PH ...

  5. Instr Quark

    ... rts; pathParts = symbolized.collect(_.asString); pathParts.size.do { arg i; var pn; pn = rootPath +/+ pathParts[ (0..pathParts.size - i - 1)].join(thisProcess.platform.pathSeparator); (pn ++ ".*").pathMatch.do { arg path; var pathName; var ...

  6. Instr Quark

    ... rts; pathParts = symbolized.collect(_.asString); pathParts.size.do { arg i; var pn; pn = rootPath +/+ pathParts[ (0..pathParts.size - i - 1)].join(thisProcess.platform.pathSeparator); (pn ++ ".*").pathMatch.do { arg path; var pathName; var ...

  7. numberExtras Quark

    ... turned. If the array is an array of [p,q] it will return a string of "p1/q1 ... pn/qn" separated by char. [7,4].ratioPost; [ [1,1], [9,8], [81,64] ].ratioPost; [ [5,4], [4,3], [64,45] ].ratioPost(" -> "); lcd The lowest common denominator t ...

  8. ddwPatterns Quark

    ... st to be embedded. Also it will reshuffle when // wrapping around the boundary. Pnshuf : Pshuf { var <>local = true; var itemStream; *new { |list, repeats = 1, local = true| ^super.new(list, repeats).local_(local) } embedInStream { |inval| ...

  9. ddwFilterPatterns Quark

    ... hould return patterns, each of which should be embedded in the stream Pembedn : Pn { embedInStream { |event| var stream, result; stream = pattern.asStream; repeats.value.do({ (result = stream.next(event)).notNil.if({ event = result.embedInS ...

  10. startup14-perc Quark

    ... Stream, deltas; ~compactPatterns.if({ deltas = Array.new(~amps.size); dStream = Pn(~divCycle.asPattern, inf).asStream; thisDelta = totalDelta = 0; ~amps.do({ |step, i| (step > 0).if({ // there's a note here (thisDelta > 0).if({ deltas.add(t ...

prev 11 12 13 14 15 16 17 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow