Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (3519) Code (203) Doc (848) Help (193) Quark (2225) Plugin (50) SCDoc ↗ Forum ↗ Google ↗
  1. OceanTracker by scottintokyo (Scott L Simon) Code

    ... w(\tracker,{ arg msg; //~ocean.postln; ~ocean.add( msg[3]); if(~ocean.size>=8,{ ~ocean.pop; }); ~ocean.addFirst(msg[3]); }, '/ocean'); OSCdef.new(\tracker2,{ arg msg; //~oceanz.postln; ~oceanz.add( ms ...

  2. GMFaderSlider Quark

    ... .5; var thisHelpersStyle = \line; var thisCenterHelpers = false; var thisMaxFontSize = 32; *new { ^super.new.init; } init { super.init; this.drawFunc_({ this.draw; }); } // Graphical settings minAlpha { ^thisMinAlpha } minAlpha_ { |aNumber| ...

  3. layout_scratch Quark

    ... ield(), 0.3, Button() ]), 0.2, Slider() ], Rect() // optionally give the layout size and placement on the page ), ) layout_(|lay| var remVSpace, remHSpace; var numVElem, numHElem, parentVSpace, parentHSpace; lay.bounds.notNil.if( { remVSpac ...

  4. TestEnvelopePlayer Quark

    ... nths playing"); p.free; 0.5.wait; this.assertEquals( s.audioBusAllocator.blocks.size,0,"should be no busses allocated now"); } }

  5. tl-extensions Quark

    ... r| ^this.value(now, iterator) } } + SequenceableCollection { asTLItem { if(this.size <= 3 and: { this.detect({ |item| item.isNumber.not }).isNil }) { ^this.asQuant.asTLItem } { ^this } } } + Quant { asTLItem { ^this.nextTimeOnGrid(thisThrea ...

  6. SGME_TooltipHandler Quark

    ... } } showTooltip { |x, y| var text = this.makeText; var rect = Rect(x, y, (text.size+1) * 6, 20); hideTooltipTask.notNil.if({ hideTooltipTask.stop }); if (SGME_TooltipHandler.enabled.not) {^this}; tooltipWindow.notNil.if({ tooltipWindow.bou ...

  7. timeDomainEfx Quark

    ... \PitchShift,{ arg audio,pchDispersion=1.01,timeDispersion=1.01,pchRatio=0.5,winSize=0.2; PitchShift.ar( audio, winSize, pchRatio, pchDispersion, timeDispersion ) }, \qAllpassA,{ arg audio,decay=1,maxDelay=0.3,qnty=4,chanDiff=0.1; (qnty.asI ...

  8. sFiles Quark

    ... Players= 8; s.options.numWireBufs= s.options.numWireBufs.max(128); s.options.memSize= s.options.memSize.max(2**16); s.latency= 0.08; s.waitForBoot{ //--functions and objects var players; var paths= Array.newClear(numPlayers); var playFunc; ...

  9. HIDMap Quark

    ... mapAll {arg action={}; if(hidNodes.notNil, { if(hidNodes.notEmpty, { { hidNodes.size.do{HIDMap.unmapAt(0); server.sync; }; action.(); }.fork; }); }); } *mapFunc {arg inFunc, type, spec, extraArgs; var hidMap; hidMap = this.getFunc(inFunc, t ...

  10. Connection Quark

    ... untraceAll { tracing.copy.do(_.trace(false)); } prCollect { if (collectionStack.size > 0) { collectionStack.last.add(this); } } connected { var dependants; traceConnection.notNil.if { ^traceConnection.connected } { dependants = object.depen ...

prev 161 162 163 164 165 166 167 168 169 170 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow