Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1500) Code (97) Doc (308) Help (89) Quark (1000) Plugin (6) SCDoc ↗ Forum ↗ Google ↗
  1. UMixer Quark

    ... 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 ...

  2. FolderLibrary Quark

    ... 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 ...

  3. mobile-objects Quark

    ... ).*/ ~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 ...

  4. Fracture Quark

    ... 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 ...

  5. WFSPath2 Quark

    ... 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 ...

  6. wfsSource Quark

    ... 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 ...

  7. RedToolsMenu Quark

    ... 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 ...

  8. JSON Quark

    ... 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 ...

  9. extStartupChoose Quark

    ... .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 } }

  10. TimeRuler Quark

    /* 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 ...

prev 51 52 53 54 55 56 57 58 59 60 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow