-
// for composite MKtls, join the two element groups if possible + MKtlElementGroup { // see if top level of names can be dropped: // if no name overlaps between second levels, ok. canFlatten { |post = true| var ok, allNames, dupes; if (elem ...
-
/* Unit Library The Game Of Life Foundation. http://gameoflife.nl Copyright 2006-2013 Miguel Negrao, Wouter Snoei. GameOfLife Unit Library: you can redistribute it and/or modify it under the terms of the GNU General Public License as publis ...
-
... ; }); z = x ++ y; 17.do({ z.next.postln }); ) Routines can be combined with the composition operator <> ( x = Routine ({ arg inval; 2.do({ [1,2,3,4].do({ arg i; if(inval.isNil) { nil .alwaysYield }; inval = (i * inval).yield; }); }) }); y = ...
-
UMapGUI : UGUI { classvar <>nowBuildingUMap; var <>header, <>userView, <>mainComposite; var <>removeAction; var <>parentUnit; var <removeButton; var <>wasBuildingUMap; *viewNumLines { |unit| ^super.viewNumLines( unit ) + 1 + (2/18); } makeV ...
-
TWChoose randomly select one of several inputs An output is selected randomly on recieving a trigger from an array of inputs. the weights of this choice are determined from the weights array. If normalize is set to 1 the weights are continu ...
-
TestSample : UnitTest { test_standardizePath { //this.assertEquals( Sample.standardizePath("a11wlk01.wav"), "a11wlk01.wav" ) this.assert( Sample.standardizePath("a11wlk01.wav").find("//").isNil, "should not have two // anywhere in the path" ...
-
... Voss algorithm for 1/f noise. This type of signal is noteworthy for algorithmic composition because of its self-similar (fractal) qualities. See also: Pmcvoss Pvoss(lo, hi, generators, length) lo, hi lower and upper boundary of values (defa ...
-
... Voss algorithm for 1/f noise. This type of signal is noteworthy for algorithmic composition because of its self-similar (fractal) qualities. See also: Pmcvoss Pvoss(lo, hi, generators, length) lo, hi lower and upper boundary of values (defa ...
-
InputRouterGUI { var <inputRouter, <view, <views, <controller, <skin; var <rowHeight = 15; var <>buttons; *new { |inputRouter, parent, bounds| ^super.new.init( parent, bounds, inputRouter) } init { |parent, bounds, ir| var resize =0; if( pa ...
-
/* Unit Library The Game Of Life Foundation. http://gameoflife.nl Copyright 2006-2011 Miguel Negrao, Wouter Snoei. GameOfLife Unit Library: you can redistribute it and/or modify it under the terms of the GNU General Public License as publis ...