-
/* Alternative to DiffString. Different approaches to matching characters between the source and target strings are implemented. An approach is selected with methods uncharismatically named "diff0, diff1, diff2" { | char, sourceIndex, targe ...
-
... ote; [ [ 60, 64, 67 ], 3, [ 3, 2.95, 2.9 ], [ nil, nil, nil ] ] // which is the string representation of SequenceNote ([ 60, 64, 67 ], 3, [ 3, 2.95, 2.9 ], [ nil , nil , nil ]) asSequenceNote The main note object will be returned, omitting ...
-
... ote; [ [ 60, 64, 67 ], 3, [ 3, 2.95, 2.9 ], [ nil, nil, nil ] ] // which is the string representation of SequenceNote ([ 60, 64, 67 ], 3, [ 3, 2.95, 2.9 ], [ nil , nil , nil ]) asSequenceNote The main note object will be returned, omitting ...
-
... delimiter=$ , blockSize=0, completionFunc; var source, stream, isRichText, doc, string; isRichText = path.endsWith(".rtf") or: { path.endsWith(".html") } or: {path.endsWith(".htm") }; protect { if(isRichText){ /* source = Document.open(path ...
-
... true,"; },{ boos = boos + "false,"; }); }); words.post; " ".post; if(c.isKindOf(String),{ c.postln },{ if(c.isPrint,{ c.postln; },{ u.postln; }); }); ("k.register( " + k + " , " + boos + "{").postln; "".postln; "});".postln; }); }) } // con ...
-
... e, "; }, { boos = boos + "false, "; }); }); words.post; " ".post; if(c.isKindOf(String), { c.postln }, { if(c.isPrint, { c.postln; }, { u.postln; }); }); ("k.register( " + k + " , " + boos + "{").postln; "".postln; "});".postln; }); }) } // ...
-
... labels and functions, not like in PopUpMenu , where items is simply an array of strings. If label is nil , then no staticText is created. Class Methods EZPopUpMenu. new ( parentView , bounds , label , items , globalAction , initVal: 0 , ini ...
-
... d // synthesis using periodic noise. The following can sometimes // sound quite string-like: s.boot; ( var scale = 0.25; var octaves = 4; var offset = rand2(100.0!2); // gaussian(10,1!2); var frames = 512; var buf; ~bufs = ~bufs ?? { 2.coll ...
-
... ials; // the original freqs and amps d.postln; // pitch sets are represented as strings with the oblique p/q d.harmonicity.round(0.001); // Harmonicity measure for each ratio ⧉ ✔ . make2 To make a dissonance curve between 2 different sets o ...
-
... uld be things that can meaningfully be compared for equality. Numbers, symbols, strings, etc, are all fine. (Note: You typically create a KDTree using an Array of points, but the array and the ordering of elements is not stored. The asArray ...