-
... is collection of associations + SequenceableCollection { detectRecognised { arg list, index=0; ^this.detect { |item| item.recognise(list, index) } } selectRecognised { arg list, index=0; ^this.select { |item| item.recognise(list, index) } } ...
-
// a a = (); b = WatchList.envir(a); a.put(\x, 1); b.list; a.put(\y, 1); b.list; a.put(\x, nil); // keep old items in list b.list; a.put(\a, 123); b.list; Ndef(\a); c = WatchList.proxy(Ndef(\a)); c.list; Ndef(\a).set(\freq, 234); c.list; Nd ...
-
... layerPool : PlayerSocket { // implements selectable interface var <>selected, <>list, <>autostart=false; *new { arg list,selected=0,env,round=0.0,rate=\audio,numChannels=2; list = loadDocument(list); ^super.prNew(rate, //with patches they s ...
-
List: Filter: Description Size limitations of arrays and flexibility of lists in SuperCollider Class methods new newClear copyInstance newUsing Inherited class methods Instance methods asArray array array at clipAt wrapAt foldAt put clipPut ...
-
... ules) .transparent_(transparent).maxContextSize_(maxContextSize) } rules_ { arg list; rules = list; maxKeySize = rules.findMaximalKeySize; } embedInStream { arg inval; var list, stream, outval, match; var rule, dropSize; var offset = 0; var ...
-
List list of items of variable size Inherits from: Object : Collection : SequenceableCollection List is a subclass of SequenceableCollection with unlimited growth in size. Although not a subclass of Array or its superclass ArrayedCollection ...
-
LinkedList doubly linked list Inherits from: Object : Collection : SequenceableCollection LinkedList implements a doubly linked list. Instance Methods Most methods are inherited from the superclasses. addFirst(obj) Add an item to the head o ...
-
~stop.value; // von auszen neue "verben" einführen geht so: ~verben['?'] = { |liste| liste.do({ |x| x.put(\rate, rrand(2.0, 2.2)) }) }; ~sage.value("the missile knows greater at all times ?"); // mit weniger mickey mousing: ~verben['?'] = { ...
-
StoredList { classvar <>verbose = false; var <id, <list, <>suffix, <>fileExt = ".scd"; var <>dirname = "settings", <>dirpath; var <>addToDisk = false; *new { |id, list, suffix = ".pxpreset"| ^super.newCopyArgs(id, list ?? { List[] }, suffix ...
-
KeyChain { classvar <all, <>verbose = false; var <key, <>list, <>index = 0, <nextIndex = 0, <nextKey, <>repeats = 1; *initClass { all = () } *new { |key, list, index| var res = all[key]; if (res.isNil) { res = super.newCopyArgs(key, list ?? ...