Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... "f" ~name = \SimplePad; ~description = "A Simple Pad"; ~channelLayout = \mono; ~function = { | freq=440, width = 0.5, modFreq = 1, aTime = 5, rTime = 5, filter = 2, filterQ = 0, pan = 0.5 | var env = EnvGen.ar(Env([0.01,1,0.01],[aTime, rTim ...

  2. Decoding-FOA Doc

    ... You can query the server: myServer.options.numOutputBusChannels ⧉ ✔ An example Function , ~checkMyServerOutputs , can be found here . ~checkMyServerOutputs throws a warning if myServer.options.numOutputBusChannels < myDecoder.numOutputs . ...

  3. 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; // ...

  4. PHSplayer Doc

    ... Boolean. Determines if Pbind player(s) should stop. Defaults to true. addAction Function to be evaluated at receive time. . pause = stop . free Stop the PHSplayer and all PHSusePlayers that are using the same HS, also free the HS. NOTE: sto ...

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

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

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

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

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

  10. BoidRoids Class by shouhei (xffff) Code

    ... . agents[i][x,y,vx,vy] agents.add([x,y,vx,vy]); } ); } // task function getBoids { //var i; var cx=0; var cy=0; var cvx=0; var cvy=0; for (0,myagentcount-1,{ |i| this.agent_tick(i); // calcul ...

prev 201 202 203 204 205 206 207 208 209 210 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow