-
... ts.notNil and: { bundleExts.includesEqual(ext) }) or: (ext.size > 0) and: { ext.every(_ == $ ).not and: { ext[0].isAlpha } } } }
-
... iSCellaneous Inherits from: Pn Variation of Pshuf which scrambles the list with every repeat. See also: Pshuf , PLshuf , PLshufn , PLx suite Creation / Class Methods *new (list, repeats) Creates a new Pshufn object. list - list to be scramb ...
-
... fTime (optional): shared absolute time origin — playEnv passes one origin to // every gesture it spawns so per-gesture processing time never skews the timeline. *playArgs{|args, refTime| args.playSamples = SamplerQuery.getPlayTime(args); // ...
-
/* { { 100.rand }.value; }!5 // random, different every time { { 100.rand }.valueSeed; }!5 // detto when seed is nil { { 100.rand }.valueSeed(123); }!5 // same number with same seed ( 100.rand.postln; // random ({ { 100.rand }.valueSeed(123 ...
-
... h as tr "teststring" .collect({ |char| " " ++ char }); // inserts spaces before every char "teststring" .collect({ |char| if( char == $s ) { "" } { char } }); // removes "s" "teststring" .collect({ |char| char.ascii }); "teststring" .tr( $s ...
-
... ir.files.do{|file| // Skip compilation if an error happened earlier if(compiled.every{|isTrue| isTrue}, { if(this.isFaustFile(file), { var result = this.compileFile(file, outputDir); compiled = compiled.add(result == 0); }) }) }; compiledOK ...
-
... s the n most consonant degrees. Defaults to inf, which makes a Scale degree for every degree of the Tuning . // Example ( d = DissonanceCurve .fm(1563, 560, 1200, 1200); c = d.scale(3); c.degrees.postln; ) plot Plots the DissonanceCurve // ...
-
... {|obj| var ol= obj.loc; redObj.loc.manhattan(ol)<=maxDist and: { surr.any{|s| s.every{|l, i| l==ol[i]}} } } } surroundingLocations {|redObj| ^surroundings.collect{|arr| arr+redObj.loc%dim}; } dim_ {|redVec| dim= redVec; this.prInitSurroundi ...
-
/* \function Creates an UMap that evaluates a SuperCollider function every time the UChain is started function: the function. The result of the function should be a value between 0 and 1 value: the result of the function (for display only) ...
-
... ues a pattern will yield before stopping. It's impossible to predict exactly in every case, but for simple patterns the number might be close enough. Pseries.fromEndpoints(start, end, length) Pgeom.fromEndpoints(start, end, length) Given th ...