-
... w); k4Forces.add(TraerVector3D.new); k4Velocities.add(TraerVector3D.new); }); } step {|deltaT| this.allocateParticles; ///////////////////////////////////////////////////////// //save original positions and velocities s.particles.size.do{|i ...
-
XiiScale { var <degrees, <descDegrees, <stepsPerOctave, <tuning, <>name, lastIndex = 0, setStepsNextTuning = false; *new { | degrees, tuning, descDegrees | // can't use arg defaults because nils are passed in by doesNotUnderstand // nils in ...
-
... his GUI widget can be useful in various situations such as representing scales, step sequencers, etc. In some cases it might be better to use the class BoxGrid . The grid is basically a graphical representation of 2 dimensional array of col ...
-
... knobs change slots volume m.elAt(\vols).do { |el, i| el.action = { |el| var valStep = el.deviceValue - el.prevDeviceValue; NTMI.slots.volStep(i, valStep); }; }; // left bottom 4 buttons toggle sound slots on/off m.elAt(\playBts).do { |el, ...
-
... n ); vws[ \curveType ] = UPopUpMenu( vws[ \comp ], 60 @ viewHeight ) .items_([ \step, \lin, \exp, \sine, \welch, \curve, \squared, \cubed ]) .value_( Env.shapeNumber(env.curves.asCollection.wrapAt(i-1)) ) .font_( font ) .action_({ |pu| if( ...
-
... g("BP(%) pattern processing time".format(bp.collIndex)); if(~isMain) { pat } { PstepDurPair(pat, 1) } }; ~embedInStream = { |inval| var dur = ~dur.(), startTime = thisThread.clock.beats, next, pitch, bp, rout; if(BP.exists(~bpKey)) { // thi ...
-
... ue).spec_(\freq.asSpec) b = a.getState(); a.editMode = true; a.randomize a.proxySteps; a.proxyStepsMapped; a.loadState(b); a.spec = \freq.asSpec; Server.killAll */ SCMKnobSequencerView : SCMViewBase { var <spec, <labelText, <value, valueMap ...
-
... ap = [0,1].asSpec; }; range = mp; } // currently only does minimum: calibrate{ |steps=100| // about two seconds currently var calib,values; values = Array.new( steps ); range = [0,1].asSpec; calib = Routine{ var mean; steps.do{ |it,i| value ...
-
... in ); vws[ \curveType ] = PopUpMenu( vws[ \comp ], 60 @ viewHeight ) .items_([ \step, \lin, \exp, \sine, \welch, \curve, \squared, \cubed ]) .value_( Env.shapeNumber(env.curves.asCollection.wrapAt(i-1)) ) .font_( font ) .action_({ |pu| if( ...
-
... SE, \cursor] = 0; defaults[\FADER_BASE, \grid] = 0; defaults[\FADER_BASE, \grid_steps] = 1; defaults[\FADER_BASE, \physics] = 0; defaults[\FADER_BASE, \precision] = 3; defaults[\FADER_BASE, \unit] = ""; defaults[\FADER_BASE, \value] = 0; de ...