-
... = require('parseurl') ``` ### parseurl(req) Parse the URL of the given request object (looks at the `req.url` property) and return the result. The result is the same as `url.parse` in Node.js core. Calling this function multiple times on t ...
-
Runner { // the runner is the object controlling all the active actants // there can be many Actants but one and only Runner var <>graph ; var <>bpm ; var <>actantDict, <>na ; var <>statsDict ; // counts each vertex occurence var <>weight ; ...
-
... s for infinite MIDI knobs that send relative values : move a single param of an object by a relative normalized amount. let obj provide the spec, if there is none, make it unipolar. // tests: Ndef(\a).gui.moveTo(0,400); // does nothing (no ...
-
... workaround prBeginDragAction = { |view, x, y| this; // Current instance is the object to drag. }; prCanReceiveDragHandler = { |view, x, y| var canReceive = View.currentDrag.isKindOf(PatternBoxParamView); if (View.currentDrag.isKindOf(Patte ...
-
/* A Delegator keeps the responsibility for updating with its object Therefore, no certralised storage is neccessary Every message to the receiver will cause an update. This allows us a better separation of concerns, because the receiver do ...
-
... world= RedWorld(RedVector[width], wgrav, 20, 0.02); //dim,grav,maxvel,damp //--objects { var loc= RedVector[width/2]; var vel= RedVector[0]; var accel= RedVector[0]; RedPendulum(world, loc, vel, accel, 1.5, 50) //world,loc,vel,acc,mass,siz ...
-
// for all objects that use .set for numerical params, // and support getSpec (via Halo) + Object { setUni { |...args| this.set(*this.mapPairs(args)) } setBi { |...args| this.set(*this.mapPairs(args, bipolar: true)) } // single, to match pr ...
-
//multiple objects in a 3d world //with simple sound - individual fm sounds as they bounce ( s.waitForBoot{ var width= 300, height= 300, depth= 300, w, wgrav, world, n= 10, ss= 1.25, ff= 0.25, synths; //--synthesis SynthDef("fm3Dtest", {|ou ...
-
... l; MIDIIn.connectAll; */ // then run all of this at once: ( // make an NPVoicer object for the polyphony q = q ? (); q.roli = NPVoicer(Ndef(\roli)); // tell it to play to audio outputs q.roli.play; // make a simple synthdef for each note Sy ...
-
... / Class Methods *new (helpSynth, pbindArgs, hsIndices) Creates a new PHSparUse object. helpSynth - A HSpar object. pbindArgs - Collection of the form [ dur1, pbindData1, ... , durN, pbindDataN ] , with dur i - Duration value or pattern / s ...