Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (3519) Code (203) Doc (848) Help (193) Quark (2225) Plugin (50) SCDoc ↗ Forum ↗ Google ↗
  1. GMLineMultiSlider Quark

    ... .interactionRect.left + (thisBeat * (super.interactionRect.width / super.values.size)), super.interactionRect.top, super.interactionRect.width / super.values.size, super.interactionRect.height ) ); } { Pen.fillRect( Rect( super.interactionR ...

  2. extString-findReplace Quark

    ... SC3.2, will look at it later + String { replaceAt {arg replaceString, pos = 0, size; // overwrite a part of a string // more flexible than .overWrite // not in place // can use a specified size of the part to remove if(size.isNil) {size = ...

  3. MKtlElementGUI Quark

    ... | var lastElement; gui.element.getElementsForGUI.pairsDo({ |key, item| if( item.size == 0 ) { if( lastElement.notNil && { lastElement.type != item.type }) { gui.parent.asView.decorator.nextLine; }; lastElement = item; } { gui.parent.asView. ...

  4. align Quark

    ... \align, { |f, path, n| var direction, amount, mode; var current, mean, extent, size; current = path.positions.deepCopy; direction = f.get( \direction ); mode = f.get( \mode ); switch( mode, \line, { current = current.collect(_.rotate( dire ...

  5. GMListPianoRoll Quark

    ... view, mousePosX, mousePosY| var xIndex = super.getXIndex( mousePosX, thisValues.size); var yIndex = super.getYIndex( mousePosY, thisEntries.size, true); this.prUpdateValues(xIndex, yIndex); if(thisActionMode == \values) { aFunction.value(th ...

  6. Convolve Quark

    ... Lv3 License Convolve { classvar <>convBuf, <>convArray; *makeWhole {|arrays, fftSize| var temp; temp = ((arrays[0].size/fftSize).ceil*fftSize).asInteger-arrays[0].size; arrays = arrays.collect{|array| array.addAll(Array.fill(temp, {0}))}; ^ ...

  7. SimpleNumber-asTimeString Plugin

    ... tring; decimal = this.asInteger; hours = (decimal.div(3600)).asString; if(hours.size < 2, { hours = "0" ++ hours }); minutes = (decimal.div(60) % 60).asString; if(minutes.size < 2, { minutes = "0" ++ minutes }); seconds = (decimal % 60).asS ...

  8. AllGui Quark

    ... ocess.interpreter.p }); if (space.notNil) { ^space }; ^ProxySpace.all.maxItem(_.size); } *init { |force = false| if (inited.not or: { force }) { inited = true; labels = List[]; countFuncs = (); openFuncs = (); [ [ \global, { this.countGloba ...

  9. Mountains by simon (Dindoléon) Code

    ... maxWidth_( 100 ); var selected_view = 0; var views = Array.fill( parameters.size, { UserView() } ); var synth = SynthDef( \synth, { | out, freq = 200, amp = 0.25 | var snd, snd2, release; var env, envctl; var env2, envctl ...

  10. Collection-extensions Quark

    ... dices.add(i) }) }); ^indices } collectIndices { |func| var indices = Array(this.size); this.do({ |item, i| func.value(item, i).if({ indices = indices.add(i) }); }); ^indices } detectIndexFrom { |func, start = 0, step = 1| var index = start; ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow