-
... notes = inNotes; name = inName ?? "Unknown chord"; ^this; } *initClass { all = IdentityDictionary[ \one -> Chord.new(notes: [0], name: "Single note"), \maj -> Chord.new(notes: [0, 4, 7], name: "Major"), \min -> Chord.new(notes: [0, 3, 7], ...
-
... This dictionary converts add messages // into move messages. translateMethods = IdentityDictionary[ \addToHead -> \moveToHead, \addToTail -> \moveToTail, \addAfter -> \moveAfter, \addBefore -> \moveBefore, \moveToHead -> \moveToHead, // b/c ...
-
... s:".postln; // must free midi controls in reverse order // globalControls is an IdentityDictionary, so this is the only way gctemp = Array.new(voicer.globalControls.size); voicer.globalControlsByCreation.do({ arg gc; gctemp.add(gc); Post << ...
-
... This dictionary converts add messages // into move messages. translateMethods = IdentityDictionary[ \addToHead -> \moveToHead, \addToTail -> \moveToTail, \addAfter -> \moveAfter, \addBefore -> \moveBefore, \moveToHead -> \moveToHead, // b/c ...
-
... = \audio, index = 0, name| if( this.ioNames.isNil ) { this.ioNames = MultiLevelIdentityDictionary(); }; this.ioNames.put( mode, rate, index.asInteger, name ); } audioInName { |index=0| ^this.prGetIOName( \in, \audio, index ); } controlInNa ...
-
... ue, atTime; ^this.use { ~record.value(boo, atTime) } } *initClass { registery = IdentityDictionary.new; } } MxInlet { var <>name, <>index, <>spec, <>adapter; var <>unit; *new { arg name, index, spec, adapter; ^super.newCopyArgs(name.asSymbo ...
-
... edAtTopPriority { | task | //indices for each of the unique times var indices = IdentityDictionary(); //entries at unique times var entries = IdentityDictionary(); //loop over the queue, it appears just like a PriorityQueue object forBy(1, ...
-
... s:".postln; // must free midi controls in reverse order // globalControls is an IdentityDictionary, so this is the only way gctemp = Array.new(voicer.globalControls.size); voicer.globalControlsByCreation.do({ arg gc; gctemp.add(gc); Post << ...
-
... ize); this.keysValuesDo({ |k, v| new.put(k, v.shallowCopyItems); }); ^new } } + IdentityDictionary { shallowCopyItems { ^super.shallowCopyItems .proto_(proto) // child object should not be modifying parent/proto .parent_(parent) // so we do ...
-
... Dir, orderByYear).init; } init { var currentYear = Date.getDate.year; presets = IdentityDictionary.new; parameterViews = Array.new; voiceError = false; stringPlaying = ""; yearBuckets = Array.new(8); yearBuckets = yearBuckets.add(currentYea ...