Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (119) Code (25) Doc (43) Help (17) Quark (34) SCDoc ↗ Forum ↗ Google ↗
  1. 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 ...

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

  3. 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: { / ...

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

prev 1 2 3 4

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow