Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (266) Code (32) Doc (61) Help (23) Quark (150) SCDoc ↗ Forum ↗ Google ↗
  1. OssiaReference Doc

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

  2. klankperc Quark

    ... ([\klankperc,\k2a],{ arg trig=0.0,sfreqScale=1.0,sfreqOffset=0.0,stimeScale=1.0,foldAt=0.1; Klank.ar( `[ FloatArray[ 87.041, 198.607 ], nil, FloatArray[ 0.165394, 0.15595 ] ], K2A.ar(trig), sfreqScale,sfreqOffset,stimeScale ).squared.fold2( ...

  3. PG_06g_Data_Sharing Help

    ... ] ~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 t ...

  4. J_concepts_in_SC Help

    ... , 20, 30, 40, 50] + [1, 2, 3]; // normal [10, 20, 30, 40, 50] +.f [1, 2, 3]; // folded [10, 20, 30, 40, 50] +.s [1, 2, 3]; // shorter [10, 20, 30, 40, 50] +.x [1, 2, 3]; // cross [10, 20, 30, 40, 50] +.t [1, 2, 3]; // table // operator dept ...

  5. PG_06g_Data_Sharing Doc

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

  6. ArrayedCollection Help

    ... s the value at index 0 y.wrapAt(4).postln; // this returns the value at index 1 foldAt(index) Same as at , but values for index greater than the size of the ArrayedCollection will be folded back. y = [ 1, 2, 3 ]; y.foldAt(3).postln; // this ...

  7. rand-n-step+ by vividsnow (vividsnow) Code

    ... ct(w.bounds.width - 10 / 7 * 5 + 5, 5, w.bounds.width - 10 / 7, 20)).states_([['fold'],['wrap']]).action_({ |b| b.value.booleanValue.if({ border = -1 }, { border = 1 }); }).mouseOverAction_({ status.string = 'behavior on the grid border' ...

  8. Interpl Quark

    ... stln }); this.dump; } @ {arg x; ^this.at(x)} at { arg x; /* at, wrapAt, clipAt, foldAt Index the Interpl with a discreet number a = Interpl.new( [0,40,5], [5,72,\welch], [10,80,-5], [20,0] ); a.clipAt(50).postln; a.at( 3 ).postln; */ var st ...

  9. Array Doc

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

  10. Rational Quark

    ... ct rational results. // floor, ceil, round, roundUp, trunc, frac, mod, wrap and fold are closed // over the rationals, and each returned a Float: // // (7%/2).floor -> 3.0 where 3%/1 is exact // (1%/3).frac -> 0.33333333333333 where 1%/3 is ...

prev 21 22 23 24 25 26 27 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow