Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... a , Prand ([[b, 0.1], [c, 0.5]], inf ), // will get "bars" of length 4/5 \dur , Pn ( Pshuf ([1, 1, 2]/5)), \amp , 0.3, // data dispatch from above, these values will be sent \rel , Pkey ( \data ).collect( _ [1]), \out , Pkey ( \data ).colle ...

  2. PHSparPlayer Quark

    ... egato , 0.2, \amp , 0.06 ]], hsIndices: [1] ); ~p3 = PHSparUse (h, pbindArgs: [ Pn ( Pshuf ([0.2, 0.1, 0.1], 1), inf ), [ \midinote , Pkey ( \theseVals ) + 5, \legato , 0.2, \amp , 0.06 ]], hsIndices: [[0, 1]] ); ~p4 = PHSparUse (h, pbindAr ...

  3. UGenPatterns Overview Quark

    ... euse the knowledge you have about how for example SinOsc works. generators: PClipNoise PDC PExpRand PFSinOsc PImpulse PIRand PLFPulse PLFSaw PLFTri PLine PMouseX PMouseY PMouseButton PPulse PRand PSaw PSilent PSinOsc PWhiteNoise PXLine modi ...

  4. HoaMatrix Quark

    ... ng.postln; this.halt }) } initFromFile { |filePathOrName, searchExtensions| var pn, dict; var instVars, instMeths; // (redundant) instance variables & methods to remove from fileParse instVars = List.with(\kind, \matrix, \order, \filePath, ...

  5. BP Quark

    ... fn doesn't exist, the Symbol will be turned into a pattern that outputs itself: Pn(symbol, inf). Pdefn ( \randomArpeg , Prand ([ \up , \down , \random ], inf )); // in your setup code; then... \randomArpeg =>.arpeg BP ( \ch1 ); // to use on ...

  6. BP Quark

    ... fn doesn't exist, the Symbol will be turned into a pattern that outputs itself: Pn(symbol, inf). Pdefn ( \randomArpeg , Prand ([ \up , \down , \random ], inf )); // in your setup code; then... \randomArpeg =>.arpeg BP ( \ch1 ); // to use on ...

  7. ddwPatternLengthEstimation Quark

    ... teLength * b.estimateLength } { min(a.estimateLength, b.estimateLength) } } } + Pnaryop { estimateLength { var len = a.estimateLength; arglist.do { |pat| len = min(len, pat.estimateLength); }; ^len } } // some have a length argument + Pseri ...

  8. 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 ...

  9. NMLAuthenticate Quark

    ... re if(challenge.isKindOf(String), { challenge = challenge.ascii }); challInds = Pn(Plazy({Pshuf((0..(challenge.size - 1)), 1)}), inf).asStream; this.makeOSCFunc; } makeOSCFunc { challResponseOSCFunc = OSCFunc({|msg, time, addr| var inds; in ...

  10. Sieves and Psieve patterns Quark

    ... .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 do ...

prev 11 12 13 14 15 16 17 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow