-
... "*", 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 ...
-
... 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 ...
-
... 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: { / ...
-
... 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 ...