-
... /variables persisting between spawns var beatsleft, nextblock, offset; var temp,index; *new { arg dofunc,offsetscale=1.0, durationscale=1.0,phraselength=8.0,bpsd=0.5; ^super.new(bpsd,phraselength).initOffsetCP(dofunc,offsetscale, durationsc ...
-
... <activeCmds, <>autoSyncAtEnd, <>onStop, <status = \idle, routine, <condition, <>index, <clock, <>shouldSync = true, <>id; // useful only when a TLSeq is forked within another TLSeq *new { |array, sequencer, autoSync| if(array.includes(nil)) ...
-
... row }) }) } real_ { arg bool; real = (bool ? true).booleanValue } addPole { arg index, loc; if(index.isKindOf(Integer) or: { index == nil }, { if(loc.isKindOf(Polar) and: { loc.magnitude.isKindOf(SimpleNumber) and: { loc.angle.isKindOf(Simp ...
-
... { |func| objects.do( func ); } first { ^objects.first } last { ^objects.last } indexOf { |obj| var index; index = objects.indexOf( obj ); if( index.isNil ) { objects.do({ |item, i| index = [ i, item.indexOf( obj ) ]; if( index[1].notNil ) ...
-
... { |func| objects.do( func ); } first { ^objects.first } last { ^objects.last } indexOf { |obj| var index; index = objects.indexOf( obj ); if( index.isNil ) { objects.do({ |item, i| index = [ i, item.indexOf( obj ) ]; if( index[1].notNil ) ...
-
... ues_ { |aCollection| thisValues = aCollection.deepCopy; thisValues.do({ |value, index| if(value.notNil) { if(value.isKindOf(Array)) { thisValues[index] = value.asList; }; }; }); this.refresh; } entries { ^thisEntries } entries_ { |anArray| ...
-
/* \select_8_point Creates an UMap that can select one from 8 points. index: the index of the point (0-7) interpolation: interpolation type (0:step, 1:linear) // cubic: todo point0 - point7: the values of the steps (can be UMaps) -- this is ...
-
... ze = 64; var thisUnselectedRatio = 0.8; var thisDrawSelected = true; var thisAltIndex = nil; var thisDisplayAltValue = true; var thisSVGRatio = 0.8; *new { ^super.new.init; } init { super.init; // Allowed events this.setEventHandler( QObjec ...
-
... = []; } dispatch { arg key, obj; var delta = Main.elapsedTime - startTime; var index; if(manual.not) { histories[key] = histories[key].add(delta).add(obj); } { index = this.findTimeIndex(key, virtualTime); if(index.notNil && alwaysReplace) ...
-
... ths = Array.newClear(config.maxChans); ~selected = OrderedIdentitySet[]; ~selectIndex = { |self, index| self.selected = self.selected.add(index).sort; }; ~deselectIndex = { |self, index| self.selected = self.selected.remove(index); }; ~task ...