Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1643) Code (228) Doc (514) Help (194) Quark (697) Plugin (10) SCDoc ↗ Forum ↗ Google ↗
  1. Dseq Help

    ... c .ar(freq) * 0.1 }.play; ) // audio rate ( { var a, freq, trig; a = Dseq ({ 10.rand } ! 32, inf ); trig = Impulse .ar( MouseX .kr(1, 10000, 1)); freq = Demand .ar(trig, 0, a) * 30 + 340; SinOsc .ar(freq) * 0.1 }.play; )

  2. start Quark

    ... at .at to store anything you like. For example: c.at[\exampleVariable] = 10000.rand; // Get the value c.at[\exampleVariable];

  3. Function Help

    ... / example ( var a, b, c; a = { [100, 200, 300].choose }; // a Function b = { 10.rand + 1 }; // another Function c = a + b; // c is a Function. c.value.postln; // evaluate c and print the result ) See AbstractFunction for function compositio ...

  4. Play soundfiles by vandretgaaendeelevator (Bjørn Houdorf) Code

    ... rund this ( // 2. and then run this t = Task({ ({ var num= b.size.rand; var buf= b[num]; 0.1*Splay.ar(PlayBuf.ar(buf.numChannels, buf, 1, 1, 0, 0)); }.play; ) }); ) ( // 3. Then run this z = Task({ ...

  5. Editor Doc

    ... nt.default) Editor.for((type: \instr,instr:"test.makeDef",env:Env.perc,beat: 64.rand,degree: 20.rand)).gui ⧉ ✔ Arguments: object ... args additional arguments are supplied to the purveyor function . editorFor private. this is the handler di ...

  6. Patch Doc

    ... hArgsIndices synthDef outClass respawnOnChange stepChildren inputs setInput set rand doesNotUnderstand argNames argNameAt specAt spec rate numChannels indexFromName argFromName loadSubject createArgs defName asSynthDef watchNoncontrols resp ...

  7. Cello by nicolaariutti (nicolaariutti) Code

    ... r(in, 2).sum; sig = DelayN.ar(sig, 0.03, 0.03); sig = CombN.ar(sig, 0.1, {Rand(0.01,0.099)}!32, dec); sig = SplayAz.ar(2, sig); sig = LPF.ar(sig, lpf); 5.do{sig = AllpassN.ar(sig, 0.1, {Rand(0.01,0.099)}!2, 3)}; sig = LPF. ...

  8. NRand Help

    NRand NRand(lo, hi, n) Generates a single random float value in a sum of n uniform distributions from lo to hi. n = 1 : uniform distribution - same as Rand n = 2 : triangular distribution n = 3 : smooth hump as n increases, distribution con ...

  9. Play Quark

    ... ("/n_free", 2002); s.quit; w.close;}) // .states_([["Stop ", Color.black, Color.rand],["Stop ", Color.white, Color.red]]) // .keyDownAction_({arg ... args; args.postln; s.sendMsg("/n_free", 2002); s.quit; w.close;}); // w.onClose_({arg ... ...

  10. pmCrotales Quark

    ... nv.perc(attackTime: 0, releaseTime: rel, curve: curve).kr(doneAction: 2); mod = Rand(modLo, modHi); snd = PMOsc.ar( carfreq: freq, modfreq: mod * freq, pmindex: env * tone, mul: env * amp ); snd = HPF.ar(snd, freq / 2); snd = Mix.ar(snd) * ...

prev 61 62 63 64 65 66 67 68 69 70 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow