Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1702) Code (152) Doc (537) Help (191) Quark (806) Plugin (16) SCDoc ↗ Forum ↗ Google ↗
  1. Spectrogram Quark

    ... losed, { userview.refresh }); }.defer; }); rate.reciprocal.wait; // framerate }.loop; }).start; }.defer(0.1); // allow the creation of an fftbuf before starting } stopruntask { running = false; runtask.stop; try{fftSynth.free }; } inbus_ {a ...

  2. startup00-ddwSynths Quark

    ... eMethod), \ddwSynths); // use a pair of enveloped PlayBufs to avoid clicks when looping back on the sample SynthDef(\bufRoll, { |start, time = 1, bufnum, rate = 1, amp = 1, strokesPerSec = 18, attack = 0.002, decay = 0.01, // attack and dec ...

  3. Sample Quark

    BufferProxy { // blank space for delays, loopers etc. var <>buffer,<patchOut,<readyForPlay = false,<server; var <>size=0,<>numChannels=1,<>sampleRate=44100.0; // while building the synth def... var <>forArgi,bufnumControl; *new { arg numFra ...

  4. Sample Quark

    BufferProxy { // blank space for delays, loopers etc. var <>buffer, <patchOut, <readyForPlay = false, <server; var <>size=0, <>numChannels=1, <>sampleRate=44100.0; // while building the synth def... var <>forArgi, bufnumControl; *new { arg ...

  5. runner Quark

    ... tant).and(more[2].isNil) } //this means that the graph sequence is finished. No loop {this.removeActant(more[4]) } } gui { arg step = 35, controlNum ; RunnerGUI.new(this, step, controlNum: controlNum).connectAllActants } clock { arg x = 0, ...

  6. Event patterns and Functions Quark

    ... nes q.nextN(60); This example was still similar to the ones before, basically a loop modified by a factor. But imagine that a Plazy could give out arbitrary new Patterns, the choice itself could depend on an environment-dependant parameter. ...

  7. README Quark

    ... e4 d5, [g#5 b5 g#5 b5 g#5 b5]/2]", ]; var song = JSMini("0!4 1!4 2!4 3!2 4!2"); loop { song.cycle.do { |part| var trig, delta, dur, str, num; # trig, delta, dur, str, num = part; part = JSMini(parts.wrapAt(str.asInteger)); part.cycle.do { | ...

  8. MView Quark

    ... ; j = JITView(123); // now type "x = x + 1" // -> 2 // 2. Window resize by code loops when userview with drawfunc is present. m = MView(123); m.drawFunc.disable(\all); m.parent.bounds_(Rect(100, 100, 150, 24)); // crash m.parent.bounds_(m.p ...

  9. ChuckBrowserKeyController Quark

    ... eyspec| var view, char, modifiers, unicode, keycode, newkeyspec, action, envir; loop { #view, char, modifiers, unicode, keycode, envir = keyspec; (action = states.matchAt(unicode)).notNil.if({ // if an error occurs, it might crash the routi ...

  10. ZeroXBufRd Quark

    ... thZeroX: 1, doneAction: 2); Silent .ar }.play ) // check the waveform b.plot // loop 3rd half waveset // compare plot and scope x = { ZeroXBufRd .ar(b, z, zeroX: 2) }.play s.scope x.release // loop a whole waveset // demand rate ugens in Ze ...

prev 71 72 73 74 75 76 77 78 79 80 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow