-
... ents = score.events; var viewBounds; unitControllers.do(_.remove); evs = events.select({ |x| x.canFreeSynth && x.hideInGUI.not }); maxTrack = evs.collect{ |event| event.track }.maxItem + 1; count = 0; spec = [-90,12,\db].asSpec; if(mixerVie ...
-
... ent( item, [ newElement ], 'folder' ); } ); ^newElement; } at { |key| ^contents.select( { |item| item.name.asSymbol == key.asSymbol } ).first } put { |key, anElement| if( anElement.class == String ) { anElement = FolderLibraryElement.newFro ...
-
... ).*/ ~saveKeys.collect(_.asString), keys, faderKeys, toggleKeys; keys = allKeys.select { |key| "23".includes(key[1]) }.as(Array).sort; // looking for /2... or /3... keys = keys ++ sort(allKeys.select({ |key| key[1] == $1 and: { "ft".include ...
-
... otechips; chipscopy = this.getChips(); if (note.isArray) {notechips = chipscopy.select({|chip| note.any({|n| n == chip[\pitch]})})} {notechips = chipscopy.select({|chip| chip[\pitch] == note})}; ^notechips; } playNote {arg note; var notechi ...
-
... his.times[..flooredIndex-1]; times = times ++ [ time - times.sum ]; }; }; } /// SELECTION ////////////////////////////////////////// copySelection { |indices, newName = "selection" | // indices should not be out of range! var pos, tim; indi ...
-
... keyValuePairs = (keyValuePairs ? []).clump(2) // exclude point for staticPoint .select({ |arr| arr[0] !== \point }).flatten(1); unit.synths.do({ |sn| var args = keyValuePairs; if( sn.class == Group ) { // is an array group or preview synth ...
-
... nt characters'], { if(Main.versionAtMost(3, 5), { ("there are"+Document.current.selectedText.size+"characters in the current selection").postln; }); }, ['system', 'post all window positions'], { Window.allWindows.do{|x| x.name.post; " ".pos ...
-
... All(quoteChar.asString); // remove backquoted chars quoteIndices = quoteIndices.select{|idx, i| s[idx-1] != $\\ } ?? {[]}; ^quoteIndices.clump(2); } *getUnquotedTextIndices {|s, quoteChar = "\""| ^((([-1] ++ this.getQuotedTextIndices(s, quo ...
-
... .add( StaticText(w).align_('center').maxSize_(Size(400, 60)) .string_("Click to select, shift-click to edit, Alt-Click to reboot:") ); w.layout.add( GridLayout.columns(*buttons.clump(numRows)) ); w.front; ^w } }
-
/* time ruler uses a GridLines is zoomable like any other can move the range select and play head into here later would take: position, relocateFunction MxTimeGui */ TimeRuler { var <maxTime; var view, zoomCalc, gridLines; var <position; va ...