Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (2448) Code (83) Doc (560) Help (165) Quark (1637) Plugin (3) SCDoc ↗ Forum ↗ Google ↗
  1. ActionMenu Quark

    ActionMenu{ classvar padding = 36,<>buttonClass; var <>items, listview, modifier,buttonNum, <button,>arrowColor, <>defaultAction,<>unfocusClose = true,<>globalAction, winPosition, <value = "default", <>closeOnSelect=true, <>fontSize=15,<too ...

  2. extEventArrayMatching Quark

    ... um; if(ratio == 1) { ^this }; ^this.collect(_.setEventDuration(ratio)) } maximalKeySize { var res = 0; this.do { |each| res = max(each.maximalKeySize, res) }; ^res } }

  3. DirtRemoteSoundFileInfo Quark

    ... onvertBuffersToInfo { |library| var info = Array.new(512); library.bufferEvents.keysValuesDo { |key, eventArray| eventArray.do { |event| var bufnum = event[\buffer]; if(bufnum.notNil) { info = info.add(key); info = info.add(event[\bufNumFra ...

  4. digit2roman Quark

    ... var i = 0; y = this.toUpper.as( Array ).collect(_.asSymbol) .select({ |item| x.keys.includes( item ) }); while { i < y.size } { if( z[ y[i] ].asCollection.includes( y[i+1] ) ) { a = a + ( x[y[i+1]] - x[y[i]] ); i = i+2; } { a = a + x[y[i]] ...

  5. Opus Quark

    ... } freeBufferForKey {arg key, buffer; buffers[key].free; } freeBuffers { buffers.keysValuesDo({arg key, value; value.free; }); buffers.removeAll; } dataForKey {arg key; var foundData; foundData = data[key]; foundData.isNil.if({ ("Data for \\ ...

  6. VGActionsGui Quark

    // new dynamic version VGActionsGui { var <actions, <>displayFunc, <orderedKeys, <>buttonState; var <tagBox, <skip, <buttonRefresh; *new { |parent, bounds, actions, displayFunc, orderedKeys, buttonState| ^super.newCopyArgs(actions, displayF ...

  7. UnicodeResponder Quark

    ... nction,description); } // you can concatenate responders ++ { arg that; var new,keys; if(that.isNil,{ ^this }); if(that.class !== this.class,{ ^KeyDownResponderGroup(this,that) }); // that overides this new = this.class.new; new.dict = dict ...

  8. UnicodeResponder Quark

    ... tion, description); } // you can concatenate responders ++ { arg that; var new, keys; if(that.isNil, { ^this }); if(that.class !== this.class, { ^KeyDownResponderGroup(this, that) }); // that overides this new = this.class.new; new.dict = d ...

  9. extNodeProxy Quark

    ... plicit specs up into halo for faster access addImplicitSpecsToHalo { this.specs.keysValuesDo { |key, value| this.addSpec(key, value) } } getSpec { |key| var foundSpec, synthSpecs, haloSpecs; // if no key given, return a dict with all specs; ...

  10. ChuckBrowserKeyController Quark

    ... _.ascii ++ 127; states = Dictionary[ // matchItem is done on unicode value from keystroke // arrow keys, pass to default action of the view who has focus now (65361..65364) -> { |instance, view, char, modifiers, unicode, keycode, key| view. ...

prev 31 32 33 34 35 36 37 38 39 40 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow