-
... 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); ...
-
... 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 ...
-
... 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 ...
-
... 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 ...
-
... 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 ...
-
/* 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 ...
-
// 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, ...
-
... 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 ...
-
... = \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 ...
-
... 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 ...