Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... I.inphlux inputs. // this works well, but in the long run, relative setting // (just influencing) the influx is more flexible. ( ~flatcatNtmiKeys = ~flatcatkeys.drop(3); ~flatcatSpecs = ~flatcatkeys.collect { |param| Ndef(\flatcatKr).getSpe ...

  2. MxLoader Quark

    ... alue(object); if(data.notNil, { registerData.add( id -> data ) }) }); // should just register cables cables = mx.cables.collect { arg cable; [mx.findID(cable.outlet), mx.findID(cable.inlet), cable.mapping, cable.active] }; ^[registerData, c ...

  3. sputter Quark

    ... ogic gates, but that responds to and outputs a continuous range of numbers, not just a 1 or 0. I have five options that you can select between, by setting the method control to 0, 1, 2, 3, or 4 (values in between and outside get rounded). E ...

  4. PHS Quark

    ... rintout of variables which may be used within a PHS definition // timeGrains is just a time ID, depending on granularity, not used for scheduling // demandIndex indicates the index of the stream of durations // posted demandIndex = 1, as tw ...

  5. UAudioDeviceSpec Quark

    ... ^str.editDistance( other ); } { // This is the same algorithm as the primitive, just in // sclang to allow equality matrix = Array.iota(other.size + 1); if(str.isEmpty || other.isEmpty) { ^str.size; }; // use identity if not given another w ...

  6. TestBuffer Quark

    ... eroOffset Cheby Buffer should have value 0 for its middle value"); } // This is just a helper method getSignalMidValue { arg sig; ^sig[sig.size >> 1] } }

  7. ModalSpec Quark

    ... roduces degrees like 28.000000000000014 ??? // no time to fix it there, so I'll just improve the condition here ^(((num = degree % 1).inclusivelyBetween(-1e-5, 1e-5)).if({ degToKey[degree.asInteger % scale.size] }, { degToKey[degree.asInteg ...

  8. complex-copy-paste_jit_MFunc_style Quark

    ... getActives; // test helper function q.srcTogPlay(0, 0); // stop src 0 -> slider just sets src 1 q.srcTogPlay(2, 1); // add src 2, so src 1 and 2 are controlled q.srcTogPlay(1, 0); // stop 1, only src2 remains controlled q.srcTogPlay(2, 0); ...

  9. SimpleRepublic Quark

    ... newVal < 0) { this.removeParticipant(key); presence.removeAt(key); (" --- % has just left the building. --->".format(key)).repostln; } { presence.put(key, newVal) } }; if(verbose) { presence.repostln }; } addParticipant { |key, addr| addrs. ...

  10. Public Quark

    ... Window create a log window. lurk / boss / merge change behaviour diametrically (just try it out) // example ( var addresses; Public .startListen; // start an osc responder to dispatch the messages addresses = [ NetAddr ( "127.0.0.1" , 57120 ...

prev 31 32 33 34 35 36 37 38 39 40 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow