Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (100) Code (6) Doc (13) Help (1) Quark (80) SCDoc ↗ Forum ↗ Google ↗
  1. Camera2D Quark

    ... aSin); y = (xMinusx * thetaSin) + (yMinusy * thetaCos); ^RealVector2D[x,y]; } //hack only for when we are at the middle of a side of the space (within a metre) with 0 rotation //TODO: fix the rotation with vectors to be able to use proper m ...

  2. NMLNetRecord Quark

    ... um; DiskOut.ar(bufnum, In.ar(0, server.recChannels)) }).send(server); } // this hack allows for keeping up the recording node despite cmd-period // note that theoretically this may change the state of CmdPeriod.freeServers // we try to clea ...

  3. RecursiveCutProc1 Quark

    ... ats,offset,offend; done=0.0; out=Array.new(0); ////////////////////////////// //HACK for debug, and investigations //currphraselength=8.0; //number of points available for offsetting //quantise=(currphraselength/beatspersubdiv).round(1.0).a ...

  4. ExtendableObject-tests Quark

    ... ~y + 4) % ~x; // 5.0177 or similar a.pop; // more useful direction, perhaps: // hack into any object, e.g. the server Server.default = ExtendableObject(Server.default); // redirect OSC messages // and add a callback ( s.addMethod(\callback, ...

  5. function-hacks Quark

    /* You can define arbitrary functions to be called from Tidal The examples below assume you have stored dirt in a variable ~dirt, andyour first dirt bus in ~d1 NOTE: The interface for ~diversion (see bottom) may change! */ // d1 $ sound "tl ...

  6. psSet-event-type Quark

    ... ) .put(\clear, { rest = true; watcher.remove }); // releaseHolder may well be a hack, // but it should actually be local to the pattern // must protect in a Ref // Pbindf will extract its value automatically // but not use composeEvents() P ...

  7. 2_xosc_pullup Quark

    ... ; elem.valueAction_(val); } } }, '/inputs/digital').permanent_(true); // pullup hack - switches are 1 when open, 2 when pressed MKtl(\xosc).elAt(\sw, (0..7)).do (_.valueAction_(1)); // prepare for modalization: // left buttons set up modes ...

  8. Client Quark

    ... ient sender cmdName allowInterpret open the interpreter to the world (potential hacking danger) disallow close the interpreter access ClientFunc similar to SynthDef - represents a client side stored function *new(name, func) global function ...

  9. XiiPitchCircle Quark

    ... eNonClem(tonic), {sharpsC7}, {flatsC7}); if(tonic==6, {notes.put(5, "Cb")}); // hack to have correct note names for Gb maj ^notes.rotate(13-this.indexOfC7(tonic)).keep(card) } intsC7 {|tonic=0, card=7| ^c7Arr.rotate(13-this.indexOfC7(tonic) ...

  10. Patching Quark

    ... nil : speakers // integer : that out // server : private on that server // temp hack until the \scalar problem is corrected if(source.isKindOf(IrNumberEditor).not,{ bus = bus.asBus(this.rate,source.numChannels,this.server); BusPool.retain(b ...

prev 1 2 3 4 5 6 7 8 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow