Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (3120) Code (144) Doc (1251) Help (358) Quark (1341) Plugin (26) SCDoc ↗ Forum ↗ Google ↗
  1. Phrase Plugin

    ... art % phrase.size; } returnProbs_{ arg probs, seed; // If input probs is just a number, then fill the array // with that number. If it's an array, lace it. if(probs.class.superclass == SimpleNumber, { returnProbs = returnProbs.fill(probs); ...

  2. FFTSubbandPower Plugin

    ... e 1 (default) is to scale the same way as FFTPower does (according to the total number of bins in the FFT). This means that if you add up the power from the various bins, you'll get the same result as if you'd just used FFTPower. This gives ...

  3. SeqCol-asAddendsOf Plugin

    ... nds to the sum. // Useful for fitting the inter-offset times of an // arbitrary number of notes to the length of a measure. asAddendsOf{ arg sum; var result, values, val; result = this.class.new; values = this.copy; while({ sum > 0 },{ val ...

  4. MCLDTreeUGens Plugin

    ... postln("Descended positions: % %".format(bitpos1, bitpos2)); // Then we sum the number of remaining bits, // i.e. the number of steps needed to go up the tree and back down again res = bitpos1 + bitpos2; //"d(%,%)=%".format(path1.asBinaryDi ...

  5. STKtest Plugin

    ... r}.play(s) // prob {StkBeeThree.ar}.play(s) // prob // FIXED: undefined control number 7??? // But doesn't sound right {StkModalBar.ar(40, 5, mul:6)}.play(s) // prob // This one throws an error that seems to need fixing! {StkFlute.ar(440, 3 ...

  6. STKinstructions Plugin

    /* This package contains a number of ports of the Stk physical models. They are not highly optimized and initializations can be very expensive. To get around this triggers are supplied in all units so that they can be fired up in paused sta ...

  7. Vocoder Plugin

    // car is "pitch you hear" (like a saw wave, or sound), mod is voice, num is number of bands // to be spaced over the threshhold, , hpf and scale add back some of mod Vocoder { *ar { arg car, mod, num, low=100, high=5000, q=0.02, hpf=5000, ...

  8. MCLDBufferUGens Plugin

    ... ze; // size of first mean-array classsize = numdims + (numdims*numdims) + 2; // number of floats for each class ^arr.collect{|cl| cov = Matrix.with(cl[1]); cl[0] // mean ++ cov.inverse // inverse of covariance matrix ++ (cl[2] / cov.det.sqr ...

  9. compar Plugin

    ... = \ctlLag.kr(0.1); var src, dst, filterIn, mods, env, tmpIter; var ampEnvs; // number of FM neurons var numNodes = 3; // controls var preAmp = \preAmp.kr(0.1, ctlLag); var postAmp = \postAmp.kr(0.1, ctlLag); var dryAmp = \dryAmp.kr(1, ctlL ...

  10. FreeVerb1 Plugin

    ... ize the tap table for early reflections tapData = // delay amplitude Moorer/Loy numbers as quoted in Pope, SC Tutorial... [ [0.0046, 0.841], [0.0218, 0.504], [0.0268, 0.379], [0.0298, 0.346], [0.0485, 0.272], [0.0572, 0.192], [0.0595, 0.217 ...

prev 1 2 3 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow