-
... ven delay and decay times. sc_wrap1(x) Wrap x around ±1, wrapping only once. sc_fold1(x) Fold x around ±1, folding only once. Binary operators sc_wrap(in, lo, hi [, range]) sc_fold(in, lo, hi [, range [, range2]]) sc_pow(a, b) Compute pow(a ...
-
... ble. ( var melodies = ( lowMelody: Pseries(4, Prand(#[-2, -1, 1, 2], inf), inf).fold(-7, 11), highMelody: Pseries(14, Prand(#[-3, -2, 2, 3], inf), inf).fold(7, 18) ); p = Pbind( \degree, Pnsym1(Pwrand(#[lowMelody, highMelody], [0.7, 0.3], i ...
-
... 3] ⧉ ✔ returns: [ 11, 22, 33 ] ⧉ ✔ adverb 'f' Another adverb is 'f' which uses folded indexing instead of wrapped: [10, 20, 30, 40, 50] +.f [1, 2, 3] ⧉ ✔ returns: [ 11, 22, 33, 42, 51 ] ⧉ ✔ adverb 't' The table adverb 't' makes an array of ...
-
... ciprocal, etc.), binary (+, -, *, /, **, min, max, etc.) and n-ary (clip, wrap, fold, linlin, linexp, etc.) operators are all valid with patterns. // Random integers, 1-5 Pwhite(1, 5, inf).asStream.nextN(10); // Random integers 1-5, multipl ...
-
... ensive oscillator to run. Note: This original GravityGrid contains an erroneous folding function, and gravity which is more attractive as the distance increases! Which however, adds interesting distortions to the sound. See GravityGrid2 for ...
-
... scope poll dpoll range exprange curverange unipolar bipolar degrad raddeg clip fold wrap blend lag lag2 lag3 lagud lag2ud lag3ud varlag slew degreeToKey minNyquist snap softRound linlin linexp explin expexp lincurve curvelin bilin prune ch ...
-
... ( p = Pbind( \degree, Pseries(7, Pwhite(1, 3, inf) * Prand(#[-1, 1], inf), inf).fold(0, 14) + Prand(#[[0, -2, -4], [0, -3, -5], [0, -2, -5], [0, -1, -4]], inf), \dur, Pwrand(#[1, 0.5], #[0.8, 0.2], inf) ).play; ) p.stop; ⧉ ✔ Using custom Sy ...
-
... H : only clips values higher than the max. WRAP : wraps values around the range FOLD : folds back values into the range The default is FREE . // same as domain: ~param = OSSIA_Parameter(~some_device, 'param', Float, [0, 2017], bounding_mode ...
-
... 0, 0.1] ~chords = Pbind( \topNote, Pseries(7, Prand(#[-2, -1, 1, 2], inf), inf).fold(2, 14), \bassTriadNotes, Pfunc { ~lastBassEvent[\degree] } + #[0, 2, 4], // merge triad into topnote // raises triad notes to the highest octave lower than ...
-
... erited class methods Instance methods at put insert boundedInsert clipAt wrapAt foldAt clipPut wrapPut foldPut swap replace ++ add addAll addFirst removeAt collect do reverseDo deepCollect reshape windex size normalize normalizeSum plot rev ...