Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1381) Code (129) Doc (443) Help (138) Quark (657) Plugin (14) SCDoc ↗ Forum ↗ Google ↗
  1. 5_modal_functionality_2_midi Quark

    ... \sl, 1 ).action.disable( \sl2Sound2 ); }{ Ndef( \sound2 ).play } }; } ); ); // just enable controls for sound1 when top button of column 0 is pressed: ( k.elAt( \bt, 0, 0 ).action = MFunc.new; k.elAt( \bt, 0, 0 ).action.add( \trace, { |mkt ...

  2. webMouse Quark

    ... ge name \mouse 1: user name as selected on page, or assigned from server (could just be count: anon1, anon2, etc; or random names) 2: random influx chan 1, stays constant for this touch-sequence etc Todo: - think through polyphony: -- multi ...

  3. MKtlLookup Quark

    ... ice : %, idInfo: %.\n\n" // .postf(thisMethod, deviceLookupName, idInfo); }; // just in case this ever happens: // more outs than ins, so independent outs left over // was: if (insOutsMatch.not) { ... } if (numOutPorts > numInPorts) { info. ...

  4. TESTING Quark

    ... SuperCollider's testing framework has two built-in helper functions that can do just that. The first is called `setUp` (notice the capital 'U'), and it will be called **before** each and every _test case_ in a given _test class_. The second ...

  5. VarGui shortcut builds Quark

    ... rtcut methods. // Here the Function passed to ctrBefore has no index arg, // it just produces 4 different tuples of // init values for the step sequencers, // the pBefore Function determines 4 different octave registers // quant arg ensures ...

  6. extColPen-PostScript Quark

    ... ll" ] }, // ovalstroke doesn't exist // probably need to use curves for this // just paints a rect for now /* \strokeOval, { cmd[1].asArray ++ [ "rectstroke" ] }, \fillOval, { cmd[1].asArray ++ [ "rectfill" ] }, */ \strokeOval, { c = 0.75 / ...

  7. kraken Quark

    ... as deviceValueAction, but that triggers inflAction multiple times, // so better just do a set here first var krakd = NTMI.kraken; var krakEls = MKtl(\kraken).elAt(\ribbon); var oldVals = krakEls.deviceValue; krakEls.deviceValue = rawvals; i ...

  8. EQspecs Quark

    ... .001); }); ^(out ++ ")") } edit { arg targ, b, addAct = \addToTail, amp = 1; // just like .play // assumes your synth or process is already playing isPlaying.not.if({ this.play(targ, b, addAct, amp); }); // should be playing to edit MultiEQ ...

  9. WFPathBufferView Quark

    ... p://www.gnu.org/licenses/>. */ WFSPathBufferView { // this is not finished yet, just a copy of BufSndFileView for now classvar <timeMode = \seconds; // or \frames classvar <all; classvar <clipBoard; var <wfsPathBuffer; var <parent, <view, < ...

  10. VoicerMIDISocket Quark

    ... any method you like. The example below creates a lookup table for some sort of just intonation. Also see the classes in the ddwTemperament quark. The tuning in the example below could be written more simply using TuningRatios, provided ddw ...

prev 41 42 43 44 45 46 47 48 49 50 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow