Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1076) Code (138) Doc (359) Help (130) Quark (446) Plugin (3) SCDoc ↗ Forum ↗ Google ↗
  1. ParaSpace Quark

    ... arg node; node.color = oldcolor}); // not very interesting scale mapping... all random freqs (feel free to map boxes to freqs) freqList = Array .fill(225, {200 + (5000.rand)}); 15.do({ arg i; 15.do({ arg j; a.createNode(14+(i*20), 14+(j*20) ...

  2. UserView Doc

    ... Where); w.refresh; } }; u.mouseUpAction = { clicked = nil; } ) ⧉ ✔ // draw some random shapes ( var drawFunc, mouseDownFunc, mouseUpFunc, mouseMoveFunc, sat = 0, startX; drawFunc = { |me| Pen.use{ 10.do{ Color.red(rrand(0.0, 1), rrand(0.3, ...

  3. MultiSliderView Doc

    ... 0).states_([["reference = nil"], ["reference filled", Color.white], ["reference random", Color.yellow]]) .action_({ |b| b.value.booleanValue.if({ (b.value > 1).if( { m.reference = Array.fill(n, { 1.0.rand }) }, { m.reference = Array.fill(m. ...

  4. Dtag Doc

    ... ([4, 4.1], 0, 8) ) * 0.1 ! 2 }.play; ) // a more complicated tag system whith a random axiom. // u = 4 // v varies [1..6] with cursor position // reinitialised when ended, a 1 sec pause each overrun. ( { var tag, index, axiom, rules, freq, ...

  5. 13-Buffers Doc

    ... et them b.setn(0, Array.fill(b.numFrames, {1.0.rand})); // fill the buffer with random values b.getn(0, b.numFrames, {|msg| msg.postln}); // get them b.free; ⧉ ✔ There is an upper limit on the number of values you can get or set at a time ( ...

  6. XiiWorms Quark

    ... 5, 620, 470), a); p.supplyTextFields([sampleNameField, pitchSampleField]); p.setRandomBuffer(gBufferPoolNum); // new prey gets a random buffer preyArray = preyArray.add(p); a.replaceDrawList(preyArray); a.addToDrawList(predatorArray); preyA ...

  7. GFIS Quark

    ... same parametrical function, with determined signals it's a waste of CPU and for random UGens the result is different. For the strict interpretation of FIS define the parameter signal outside and refer to it from inside func . init - Init va ...

  8. SCMultiSliderView Help

    ... tates_([[ "reference = nil" ],[ "reference filled" , Color .white],[ "reference random" , Color .yellow]]) .action_({ |b| b.value.booleanValue.if({ (b.value>1).if( {m.reference= Array .fill(n, {1.0.rand})}, {m.reference= Array .fill(m.size, ...

  9. How_to_create_a_description_file_for_OSC Doc

    ... r.langPort ); n.sendMsg( "/buttons", *[ 1, 1, 0, 0, 1 ].scramble ); // send new random states ( Tdef( \autoaction, { loop { n.sendMsg( "/buttons", 2.rand, 2.rand, 2.rand, 2.rand, 2.rand ); 1.0.wait; }; }).play; ); m.free; ⧉ ✔ As in the simp ...

  10. VarGui_shortcut_builds Doc

    ... p * amp * EnvGen.kr(Env.adsr(att, dec, susLevel, rel), gate, doneAction: 2); // random spatialization (for sequencing) by L/R delay [DelayL.ar(src, maxDelay, Rand(0, maxDelay)), DelayL.ar(src, maxDelay, Rand(0, maxDelay))] }) ; // ensure sa ...

prev 101 102 103 104 105 106 107 108 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow