-
... error = absdif(automaticDerivative, symbolicDerivative); var fine = error.flat.every(_ < 0.000001); this.assert(fine, "parametric curve 1: automatic and symbolic differentiation should match" ); } test_parametricSurface_1 { var r1 = 0.4; v ...
-
... r; modSynthCtrNums = synthCtrNum; forBy(0, varCtr.size - 2, 2, {|i| varCtr[i+1].every(_.isSequenceableCollection).if { varCtr[i+1].do({|item,j| if ((k <= (varCtrNum - minPartitionSize)) && ((k == 0) || (allowVarsBreak && (((j == 0) && (k >= ...
-
... rnNil = false; (args.size == 0).if { ^(this == 0).if { 0 }{ this.abs } }; (args.every { |i| i.isKindOf(Integer) }).not.if { "lcmByGcd requires Integers".error }; args.any(_ == 0).if { ^0 }; lcm = args.inject(this, { |x, y, i| // z must be f ...
-
... Units.asCollection; defs = inUnits.collect(_.def); firstDef = defs[0]; if( defs.every({ |item| item == firstDef }) ) { def = firstDef; if( def.isKindOf( MultiUdef ).not or: { dkey = def.defNameKey; dval = units[0].get( dkey ); units.every({ ...
-
... timing of one or several layers of event patterns by a single pulse pattern. In every layer single pulse durations or integer multiples ('division bases') of pulse durations can be divided by Integers or proportionally. For every layer the ...
-
... u (window is refreshed by this rate) counterAction an action to be eveluated at every counter step w.counterAction = { |wnd| wnd.pos.postln; };
-
... s not copy positions = positions.collect( func ); this.changed( \positions ); } every { |func| ^positions.every( func ); } copySelection { |indices | // indices should not be out of range! var pos, tim; indices = indices ?? { (..positions.s ...
-
... e ]}, 200, //nr of points to plot 2, // channels 0.25, // plot dtime 1 // write every n data points ).start; ) // stop and restart the data r.stop r.reset.play // stop and restart the plotter m.stop; m.start; // you can access Plotter and s ...
-
... "scd"; // keeps a backup of all opened and edited files // this will save your every move and keep them when sc freezes or unexpectedly quits // - deletes file after closing document // - duplicate filenames not supported *initClass { curr ...
-
... Butz.run(\inphlux); // connect sliders 0-6 to NTMI.inphlux inputs 9-15: // now every slider introduces a complex change in the sound // by influencing every parameter to some degree /////// note that this is absolute control mode! MKtl('te ...