Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (2937) Code (123) Doc (1095) Help (322) Quark (1383) Plugin (14) SCDoc ↗ Forum ↗ Google ↗
  1. README Quark

    ... routers, and you might run into an error along the lines of `router.ws is not a function`. After setting up `express-ws`, you will be able to add WebSocket routes (almost) the same way you add other routes. The following snippet sets up a s ...

  2. SETOIDistance Quark

    ... the distance between the interactands and evaluates a class-wide user-definable function. *distfunc_(function) function might have SETOIDistance .distFunc = { |distance, isValid, parts| postf("%<->% : %\n", parts[0].id, parts[1].id, distanc ...

  3. PolyTouchResponder Quark

    ... olyTouchResponder : MIDIResponder { classvar <ptrinit = false,<ptrs; *new { arg function, src, chan, num, veloc, install=true,swallowEvent=false; ^super.new.function_(function) .matchEvent_(MIDIEvent(nil, src, chan, num, veloc)) .swallowEve ...

  4. Sequencer Quark

    ... e { |defName, addr| all.removeAt(defName).value(addr) } } Sequencer { classvar <functions; classvar cmd, responder; *initClass { var langID = inf.asInteger.rand; // make sure to look up function in the right client cmd = "/sequencer" ++ lan ...

  5. PL_ListProxy Quark

    ... { listHasChanged = false; itemHasChanged = false } }; index = i; ^this; } do { |function, ref = (`true)| var i = 0, size = this.streamSources.size; while { (i < size) and: { ref.() } } { function.value(this.source(i), i); i = i + 1; } } doN ...

  6. MoltenPiece Quark

    ... directly. Accessing Instance and Class Variables initAction_(arg1) initAction A function you should provide, which allocates the necessary resources (loading of buffers etc.) before playAction executes. You should fork a thread in this func ...

  7. README Quark

    ... ss of the request, using the given `trust` parameter. The `trust` argument is a function that returns `true` if you trust the address, `false` if you don't. The closest untrusted address is returned. <!-- eslint-disable no-undef --> ```js p ...

  8. 0_index Quark

    ... ... you are welcome to share your own sound processes here! // some more modal functionality using MFunc: (~basePath +/+ "5_modal_functionality_2_hid.scd").openDocument; (~basePath +/+ "5_modal_functionality_2_midi.scd").openDocument; (~ba ...

  9. README Quark

    ... ('wss://echo.websocket.org/', { origin: 'https://websocket.org' }); ws.onopen = function open() { console.log('connected'); ws.send(Date.now()); }); ws.onclose = function close() { console.log('disconnected'); }); ws.onmessage = function in ...

  10. Fb1_ODEdef Quark

    ... Boston, MA 02110-1301, USA. */ Fb1_ODEdef { classvar all, initKeys; var <name, <function, <t0, <y0, <outScale, <diffOutScale, <size; *new { |name, function, t0 = 0, y0, outScale = 1, diffOutScale = 1| ^super.newCopyArgs( name, function, t0, ...

prev 1 2 3 4 5 6 7 8 9 10 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow