Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (2937) Code (123) Doc (1095) Help (322) Quark (1383) Plugin (14) SCDoc ↗ Forum ↗ Google ↗
  1. Instr Quark

    ... n a stream next { arg ... inputs; ^func.valueArray(inputs) } <>> { arg that; // function composition : // create an instr that passes output of this to the first input of that ^CompositeInstr(this, that.asInstr) } papply { arg ... args; // ...

  2. TestMathLib Quark

    /* UnitTest.gui These tests are for "miscellaneous" mathlib functions that don't have their own class. */ TestMathLib : UnitTest { test_correlation { var x, y, n, p; n = 1000000; // Uncorrelated x = {10.0.sum3rand}.dup(n); y = {10.0.sum3ran ...

  3. HOADecLebedev_tests Quark

    ... booted already, this will trigger evaluation of the above-defined doWhenBooted function s.reboot; ) Ndef(\decoder).scope; // scope decoder (no need to listen...) ( Ndef(\decoder, { var order = 2; // reduce order to 2 var numChans = (order+ ...

  4. NNdef Quark

    ... ef(\x)[1] = nil NNdef(\x)[0] = nil NNdef(\x).play NNdef(\x).clear //on changing function event network is automatically destroyed and recreated ( NNdef(\x, { var freq = MIDIMKtl('bcr20000').elementAt(\kn,0,0).enIn.nexp(100,1000).enKr; var a ...

  5. ZeroXBufRd Quark

    ... orrupted buffers in multi buffer examples for no obvious reason. NOTE: For full functionality at least SC 3.7 is recommended (rate sequencing doesn't work in 3.6) CREDITS: Thanks to Tommaso Settimi for an inspiring discussion, which gave me ...

  6. BoxMatrix Quark

    ... t; this.getBox(boxPoint).putAll(dict) } withBox { arg boxPoint,func; // execute function in en boxes[boxPoint] = this.getBox(boxPoint).make(func) } get { arg boxPoint,attr; ^this.getBox(boxPoint).at(attr) } getBox { arg boxPoint; var b; if( ...

  7. Instr Quark

    ... n a stream next { arg ... inputs; ^func.valueArray(inputs) } <>> { arg that; // function composition : // create an instr that passes output of this to the first input of that ^CompositeInstr(this,that.asInstr) } papply { arg ... args; // p ...

  8. TZeroXBufRd Quark

    ... #bufMix, outSize = this.checkBufMix(bufMix, bufSize); // args might be passd as Function of drate ugens, then expand #zeroX, xNum, xRep, power, mul, add, rate, dir, interpl, overlapSize, length, maxTime, att, rel, curve, doneAction = this.u ...

  9. TextSequencer Quark

    ... mber of time steps (seconds if speed==1). ^tree[0].at(0) } /* sounds: a list of functions (or other TextSequencer instances) * doCut: if a sound entry is a TextSequencer, then expand that * sequence only up to the next item's time. * string ...

  10. Cluster Quark

    ... y Object a = Cluster ([ Point (2,3), Point (4,5)]); a.rho //clApply applies the function to all elements of the Cluster and returns another Cluster a = Cluster ([ Point (2,3), Point (4,5)]); a.clApply( _ + Point (5,6)) //applyN applies the ...

prev 91 92 93 94 95 96 97 98 99 100 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow