Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (2366) Code (121) Doc (629) Help (191) Quark (1309) Plugin (116) SCDoc ↗ Forum ↗ Google ↗
  1. set_reset_ff Quark

    ... file part of the Unit lib default UMapDefs set */ UMapDef( \set_reset_ff, { var index, output; index = SetResetFF.kr( \trigger.tr, \reset.tr ); index = Slew.kr(index, 1 / \lag.kr(0.0), 1 / \lag.kr ); output = SelectX.kr( index, [ \value1.kr ...

  2. toggle_ff Quark

    ... on file part of the Unit lib default UMapDefs set */ UMapDef( \toggle_ff, { var index, output; index = ToggleFF.kr( \trigger.tr ); index = Slew.kr(index, 1 / \lag.kr(0.0), 1 / \lag.kr ); output = LinSelectX.kr( index, [ \value1.kr(0.0), \va ...

  3. asJSON Quark

    ... his.outlets.collect(_.asJSON) ) } } + MxInletApp { asJSON { ^( name: this.name, index: this.index, spec: this.spec.asJSON ) } } + MxOutletApp { asJSON { ^( name: this.name, index: this.index, spec: this.spec.asJSON ) } }

  4. Phrand Quark

    ... { arg inval; var item, size, history = [], histSizeStr = histSize.asStream; var index; repeats.value(inval).do({ arg i; var count = 0; size = list.size; index = size.rand; while { history.includes( index ) && { count < 1000 }; } // prevent ...

  5. heatMap Quark

    ... {|pcol| pcol.collect{|patch| patch.background}}; } reset { //patches.do{|pcol, xindex| pcol.do{|patch, yindex| patch.background_(prCachedBkgrnds[xindex][yindex])}}; if(prHighlighted.notNil){ patches[prHighlighted.x][prHighlighted.y].backgro ...

  6. TabbedViewTab Quark

    ... Is used by TabbedView2 *******/ TabbedViewTab : SCViewHolder{ var <>tabbedView,<index,context, <>label, <>closable=false, <>widget, <>homeView, <>focusAction,<>unfocusAction,<tabWidth=\auto, <>tbwdth=10,<useDetachIcon=false, <>rightClickDet ...

  7. TabbedViewTab Quark

    ... Is used by TabbedView2 *******/ TabbedViewTab : SCViewHolder{ var <>tabbedView,<index,context, <>label, <>closable=false, <>widget, <>homeView, <>focusAction,<>unfocusAction,<tabWidth=\auto, <>tbwdth=10,<useDetachIcon=false, <>rightClickDet ...

  8. Collection Quark

    + Collection { lastMinIndex { // return the last index of minimum value when there are more then one ^this.size - 1 - this.reverse.minIndex; } lastMaxIndex { // return the last index of minimum value when there are more then one ^this.size ...

  9. IdxItemsSpec Quark

    ... c.map( inval/size ).asInteger ); } // from string to number unmap { |inval| var index = items.indexOfEqual( inval ); if ( index.notNil ){ ^(spec.unmap( index ) * size).asInteger; }; ^nil; } asSpec { ^this; } warp_ { |argWarp| spec.warp_(arg ...

  10. deepFind Stuff Quark

    ... ay, replace)\ \\ \\ \ addToSubTree \ |key, branch, subtree, replace=true| \ var index = this .detectIndexInPairs(key, subtree);\ \ ^if(index.isNil) \\ subtree.addAll(branch)\ \ \\ if(replace) \\ subtree[index + 1] = branch;\ subtree[index] ...

prev 11 12 13 14 15 16 17 18 19 20 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow