-
... iew.lo*9+1; }; vZoomSlider.mouseDownAction= {|view, x, y, mod, num, cnt| var midPoint; if(cnt==2, { view.setSpanActive(0, 1); }, { midPoint= view.bounds.height*0.5; if(view.range>0, { if(y<midPoint, { view.setDeviation(y.linlin(0, midPoint, ...
-
... `Accept` parameters with quoted semicolons - Lazy-load modules from main entry point - perf: delay type concatenation until needed - perf: enable strict mode - perf: hoist regular expressions - perf: remove closures getting spec properties ...
-
... ue(i,block),tempo); //schedule subevents //can quantise to a new groove at this point, options to add in delta*timedeviation, //delta=0.0 takes at quantise position only if(subevents.notEmpty,{ firstevent=subevents[0]; subevents.do({arg eve ...
-
... <objectPositions; var defaultAmbisonicsOrder = 3; var defaultAmbisonicsShape = \point; var <absorptionModel; var <attenuationModel; var defaultAbsorptionModel = 1; var defaultAttenuationModel = 2; var <spatialTechnique; var defaultSpatialTe ...
-
... yStepsMapped.pop; }); selectors do: { |selector| selector.visible_(true); }; // Point to first stap this.setStep(0, sliders.first.value); this.selectStep(selectors.first, sliders.first, 0); }, { if(mode == "sequencer", { selectors do: { |se ...
-
... slider change ( u = Plotter (bounds: Rect (200, 200, 700, 500)); // evaluation points x = (0, 0.1..20); // EventStreamPlayer is run in separate Environment, // function values have to be polled from there, // evaluate function initially an ...
-
... 00)}; bounds ?? { if(parent.notNil, { bounds = 980@600; }, { bounds = Rect.aboutPoint(Window.screenBounds.center, 490, 300) }); }; parent.isNil.if({ window = Window("", bounds); view = window.view; window.front; }, { view = View(parent, bou ...
-
... ribing the update-date of this class definition classvar gridAddress; // string pointing to network location of EspGrid (normally loopback) classvar send; // cached NetAddr for communication from SC to EspGrid classvar clockAdjust; // manua ...
-
... some type class. class variable access is faster then array access a = [0]; b = Point(0,0) bench{ 10000000.do{ a.at(0) } } //24% slower bench{ 10000000.do{ b.x } } mutation of array is faster then constructing new Tuple x = [1,2,3] ( bench{ ...
-
... var timeperframe= SS_SCMIR.hoptime; //0.023219954648526; //converting from 1024 point windows at 44100 SR var framenow=0, framenext; var averagevector; var newfeaturedata; //one vector per segment var temp; segmenttimes = segments.copy; num ...