Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (119) Code (25) Doc (43) Help (17) Quark (34) SCDoc ↗ Forum ↗ Google ↗
  1. ChuckExamples Quark

    ... (notes.asChord, 1) }, { Pn (notes, 1) }); } => ArpegPat ( \block ); #{ |notes| Pxrand (notes, inf ) } => ArpegPat ( \xrand ); #{ |notes| Pseq (notes.sort, inf ) } => ArpegPat ( \up ); #{ |notes| Pseq ([notes.sort, notes+7, notes+7, notes+1 ...

  2. cl-manual-examples Quark

    ... "*", 8, 0.5)::\rand("\seq("123")\seq("7854")\seq("26,")")"; // no repeats (like Pxrand) /y = "\ins("*", 8, 0.5)::\xrand("\seq("123")\seq("7854")\seq("26,")")"; // 2-5random notes after 6, // note here that articulation/transposition applies ...

  3. preprocessor-generators Quark

    ... em = max((i == 0).binaryValue, item.item.asFloat.asInteger.abs); Pdup((1 << i), Pxrand((item.neg .. item), inf)) }, inf ); Pfin(repeats.next, tuple.collect(_.sum) // note that this cannot infloop because // all generators at minimum produce ...

  4. pitch-processes Quark

    ... p.child.makeChordPattern = { var lastTop = 0, firstArg = { |val| val }; Pclutch(Pxrand(~chords, inf), Pfunc { |ev| var newChord = ev[\top][\newChord]; newChord == \new or: { // 'or': \new *always* forces new chord newChord == \hold and: { / ...

  5. Collection Doc

    ... responds to the message "value". Array.fill(10, { |i| 2 ** i }); Array.fill(10, Pxrand([0, 1, 2], inf).iter); Array.fill(10, 7); // an object that doesn't respond with a new value is just repeatedly added. ⧉ ✔ Collection. fill2D ( rows , co ...

  6. Array Doc

    ... responds to the message "value". Array.fill(10, { |i| 2 ** i }); Array.fill(10, Pxrand([0, 1, 2], inf).iter); Array.fill(10, 7); // an object that doesn't respond with a new value is just repeatedly added. ⧉ ✔ Array. fill2D ( rows , cols , ...

  7. CVCenter Quark

    ... green| b.do({ |blue| colors.add(Color(red, green, blue)); }) }) }); nextColor = Pxrand(colors, inf).asStream; if (cvs.isNil, { nextCVKey = 1; }, { if (cvs.isKindOf(Dictionary).not and:{ cvs.isKindOf(IdentityDictionary).not and:{ cvs.isKindO ...

  8. ClassTree Doc

    ... t of values that are embedded Pwrand - embed values randomly chosen from a list Pxrand - embed values randomly chosen from a list PatternProxy - stream reference Pdefn - non event stream reference definition TaskProxy - event stream referen ...

  9. SequenceableCollection Doc

    ... responds to the message "value". Array.fill(10, { |i| 2 ** i }); Array.fill(10, Pxrand([0, 1, 2], inf).iter); Array.fill(10, 7); // an object that doesn't respond with a new value is just repeatedly added. ⧉ ✔ SequenceableCollection. series ...

prev 11 12

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow