-
... com/sc/ // version 2009-04-15 // messed around with by ixi XiiPitchCircle { var size, <win, <tonic, <>drawInts, <mod, <set, radius, <>lines, <offset=0, <steps, <>notes, <scs, <>integers, <>dotsColFn, <>label, text, <>labelAlign, aHLDots, <> ...
-
... new; } *with { arg items, weights; var n; items = items.asCollection; n = items.size; weights = if(weights.isNil) { Array.fill(n, items.size.reciprocal) } { weights.normalizeSum }; ^super.newCopyArgs(items, weights, Array.fill(n, 1), n); } ...
-
... il.if({ ar = [] }); // if first element is array, you have [[],[]...] (ar.at(0).size > 0).if({ args = ar }, { args = [ar] }); // same thing for patches (th.size == 0 or: { th.isString }).if({ th = [th] }); // create nodes: loop thru things ...
-
... {x.asInteger.asDigit}.try ? "" }).join } } + String { digit { ^Array.fill(this.size, { |i| {this[i].digit}.try }); } // ascii { ^Array.fill(this.size, { |i| this[i].ascii }); } //-> remove for 3.3 asUnicode { ^this.ascii } }
-
... 6: 'shift', 7: 'capslock' ); } *new { |... args| if( args[0].isNumber && { args.size == 1 } ) { ^this.fromNumber( args.first ) } { ^this.fromList( *args ) }; } *fromList { |... args| ^super.new.init( args.flat ); } // [\shift, \ctrl] etc. - ...
-
... xt; inf.do { var i = ev[\index]; var n = buf[i]; if(n.size != 0) { // previous note found, change note length len = lenstr.next; }; deg = degstr.next; n.add([deg, len]); len.do { ...
-
... ollect({ |unit, i| ((14 + gap.y) * ( this.getControlsForUnit( unit ).flatten(1).size )) + 14 + gap.y + gap.y; }).sum + (4 * (14 + gap.y)); } getUnits { var units = []; chain.units.do({ |unit| unit.getAllUMaps.do({ |umap| if ( (umap.audioIns ...
-
... t chatUiUpdatePeriodSeconds = 0.2; const keepLastMessageCount = 100; const <fontSize = 18.0; classvar <instance = nil; var name; var asDirector; var chatClient; var chatClientConnected; var quitTasks; var wedged; var window; var chatItemScr ...
-
... r numChans; writeName {} guiBody { arg parent, bounds, showScope=true; var scopeSize = 275, faderHeight, chans, nr; solos = Array.newClear(model.channels.size); mutes = Array.newClear(model.channels.size + 1); faders = Array.newClear(model. ...
-
... ssvar all, initKeys; var <name, <function, <t0, <y0, <outScale, <diffOutScale, <size; *new { |name, function, t0 = 0, y0, outScale = 1, diffOutScale = 1| ^super.newCopyArgs( name, function, t0, y0, outScale, diffOutScale ).initFb1_ODEdef(na ...