Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... dVal.isNil or:{mulVal.isNil or:{freqVal.isNil}}, {^inval}); inval= ((counter*2).fold(-1, 1)*2-1*mulVal+addVal).yield; counter= counter+freqVal.reciprocal%1; }; ^inval; } } PLFPulse : Pattern { var <>freq, <>iphase, <>width, <>mul, <>add, <> ...

  2. MCElectronique.sc by brianlheim (brianlheim) Code

    ... / value. Any paramter can be replaced by a preexisting variable clipped/wrapped/folded to the high and low values. // in [\freq, [1,44100],[200,1600]], the first set of values are the clip range for a UGen input; the second // set of ...

  3. Adverbs Doc

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

  4. allFX Quark

    ... r tempo.. fr = SinOsc.kr((modH * tempo), [0, 0.4]).exprange(0.5, 3).madd(freqH).fold(20, 19000); RHPF.ar(in, fr, rqH) }, 1, [ \bpm, [20, 360, \exp], \rqH, \rq, \modH, [0, 32, 5, 1/1000], \freqH, \freq, ] ); ProxyChain.add3( '5LPF', \filterI ...

  5. SamplerInstruments Quark

    ... vePan = Lag.kr(pan, 0.05); //dur arrives as the wall-clock length (bend already folded in by SamplerQuery), //so the envelopes run on plain wall time — no reciprocal compensation. var skwgen = EnvGen.kr(skwctl, 1, 1, 0, timeScale: antiClipE ...

  6. SegWarp Quark

    ... rp : Warp { /* segmented Warp creates an env inside if not provided with one // fold in the center: x = SegWarp([0,1,0]); x.map( 0.5 ); // -> 1 x.map( [0,1] ); // -> [0,0] x.map( 0.25 ); // -> 0.5 // format of input array: // [ [ value, pos ...

  7. Undocumented-Classes Help

    ... on ExponentialWarp EZNumber FaderWarp Filter FilterPattern Finalizer FlowLayout Fold FrameInspector FreeSelfWhenDone FuncFilterPattern FuncStream FuncStreamAsRoutine FunctionDefInspector GetFileDialog GetStringDialog Gradient GraphBuilder H ...

  8. PG_05_Math_on_Patterns Doc

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

  9. xoscSim Quark

    ... temperature: imuvals = imuvals.collectInPlace { |val| (val + 0.2.rand2 * 0.95).fold2(8.0).round(0.01) }; tempval = if (ev.dt.coin) { tempval = rrand(40, 60) }; // imuvals.round(0.001).postln; // map backwards to get realistic raw values: i ...

  10. UGen Help

    ... p(lo, hi) Wraps the receiver in a Clip UGen, clipping its output at lo and hi . fold(lo, hi) Wraps the receiver in a Fold UGen, folding its output at lo and hi . wrap(lo, hi) Wraps the receiver in a Wrap UGen, wrapping its output at lo and ...

prev 11 12 13 14 15 16 17 18 19 20 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow