Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... , nil , nil ] // cyclical time points // the time point pattern puts 4 notes in random places in the bar p = Pn ( Plazy ({ Pseq (({ 4.0.rand } ! 4).round(0.125).sort, 1) }), inf ); // trace lets us see the time points first q = Pdelta (p.tr ...

  2. convolution Quark

    ... ng options for conversion to .partconv. There is also a button for generating a random impulse response based on an algorithm by Dan Stowell. On macOS if you have one of the following plugins/programs installed there will also be an 'import ...

  3. ServerPatternTriggering5 Quark

    ... y happen at the right busses SynthDef(\sinePerc_writer, { //\trig comes in as a random number. This generates a 1 for length of dur. It won't reset until dur it's over. var trig = Trig.kr(Changed.kr(\trig.kr(0)), \dur.kr(2)); //Always latch ...

  4. README Quark

    ... o: { |i| l.fader("Sine", i, (i % 20) * 50, 362 * floor(i / 20), 50, 362); }; // Random slider values. 40 do: {|i| l.lemurConnection.oscNetAddr.sendMsg('/_'++i++'/x', 1.0.rand)}; // Draw a phase shifting sine p = 0; t = Task({ loop { p = p + ...

  5. pulselet Quark

    ... p, pan + uses Formlet resonator for sinewave with simple Decay2 envelope + new: random coinGate pulse reduction + new: spread introduces phase shift between pulse trains Ndef(\pulselet).clear; Ndef(\pulselet).gui; Ndef(\pulselet).play; */ N ...

  6. MultiProc Quark

    ... f(pf.isNil && bf.isNil,{pf= {procs.size.rand}}); phrasefunc=pf; blockfunc=bf; //random, just need seomthing which is automatically going to finish straight away currproc=procs.choose;//if(blockfunc.isNil,{procs.at(phrasefunc.value)},{procs. ...

  7. 03b_shared_coding_drawer Quark

    ... rderedNames; ///// more drawing examples - see also Pen.help // draw silly fast random rectangles MFdef(\demoDraw).add(\randRects, { |uv| Pen.color = Color.rand; // Pen.fillRect(Rect(10,10,200, 200)); 2.do { Pen.fillRect( Rect(q.draw.extent ...

  8. TestHoaMatrixRotation Quark

    ... Tests; #r1, r2, r3 = 3.collect({ rrand(-2pi, 2pi) }); axes = "xyz".scramble; // randomize the convention // initialize the initializedPws an targetPws vars this.initPlanewaves(dirs, axes, r1, r2, r3, order); rMtx = HoaMatrixRotation(r1, r2, ...

  9. 5b_RandomOrbit_switcher Quark

    // RandomOrbit chordal keyboard example: // // 6 keys with two states - this is the maximum for macOS keyboards // - if pressed within chordTime, the bits accumulate, then fire as one change // - if all released to 0 within chordTime, the c ...

  10. predators Quark

    ... layer; one that was controlled by the properties of an ALife system rather than random number generators. The predators have properties like energy, speed, restlessness, friction and focus on a prey. They loose energy by not eating from the ...

prev 21 22 23 24 25 26 27 28 29 30 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow