Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (928) Code (86) Doc (150) Help (40) Quark (649) Plugin (3) SCDoc ↗ Forum ↗ Google ↗
  1. WFSPoint Quark

    ... Pos = x@y; } }) .mouseMoveAction_({|v, x, y, mod| var point; if(moving) { x = x.clip(0,width); y = y.clip(0,window.view.bounds.height); point = WFSPointArray[WFSPoint(x,window.view.bounds.height-y)].scaleFromRect(newRect, fromRect)[0]; this ...

  2. README Quark

    ... nv.perc(0.01, 0.1, level: freqMul), t_trig, levelBias: 1 ); (~ffreq.kr(1) * eg).clip(20, 20000) }; // patch the filter envelope to the filter's frequency input ~lpf.set(\ffreq, ~feg); ~feg.set(\freqMul, 40); ~lpf.set(\rq, 0.1); // change th ...

  3. openbci_gui_focuswidget Quark

    ... ).width/2, ub.height*0.35), f1); Pen.pop; alphaY= h3-(h3-h1*(alpha/bands[0][4]).clip(0, 1)); betaY= h3-(h3-h1*(beta/bands[1][4]).clip(0, 1)); Pen.push; Pen.translate(ub.width*0.575, ub.height*0.1); Pen.strokeColor= unfocusedColor; Pen.width ...

  4. XiiSCFreqScope Quark

    ... e, \dbFactor, dbFactor]); }); } freqMode_ { arg mode; freqMode = mode.asInteger.clip(0,1); if(active, { server.sendMsg("/n_free", node); node = server.nextNodeID; this.start; }); } cmdPeriod { scope.changed(\cmdPeriod); // XXX was this if(a ...

  5. RoundedRect Quark

    ... penClass ?? { GUI.pen }; this.asPenFunction( penClass ).value; penClass.fill; } clip { |penClass| penClass = penClass ?? { GUI.pen }; this.asPenFunction( penClass ).value; penClass.fill; } drawExtruded { |penClass, border = 2, angle, invers ...

  6. List Help

    ... st's Array. at(index) Return the item at index . List [ 1, 2, 3 ].at(0).postln; clipAt(index) Same as at , but values for index greater than the size of the List will be clipped to the last index. y = List [ 1, 2, 3 ]; y.clipAt(13).postln; ...

  7. instrSupport Quark

    ... temSpec) and: {spec.itemSpec.isKindOf(ControlSpec)}},{ ^spec.map( this.unmap(v).clip(0.0,1.0) ) },{ ^v }) } color { ^Color.new255(125, 255, 205) } } + StaticSpec { color { ^Color.grey } } + NonControlSpec { color { ^Color.yellow(alpha:0.3) ...

  8. instrSupport Quark

    ... emSpec) and: {spec.itemSpec.isKindOf(ControlSpec)}}, { ^spec.map( this.unmap(v).clip(0.0, 1.0) ) }, { ^v }) } color { ^Color.new255(125, 255, 205) } } + StaticSpec { color { ^Color.grey } } + NonControlSpec { color { ^Color.yellow(alpha:0.3 ...

  9. SGME_GUINode Quark

    ... w.bounds; } bounds_ {|bounds| view.bounds = bounds; } value_ {|val| value = val.clip(-1,1); case { val>0 } { view.setBackgroundImage(imageWhite, 10) } { val==0 } { view.setBackgroundImage(imageHole, 10) } { val<0 } { value = -1; view.setBac ...

  10. ArrayedCollection Doc

    ... eom iota Inherited class methods Instance methods size maxSize isRectangular at clipAt wrapAt foldAt plot swap put clipPut wrapPut foldPut putEach indexOf includes indexOfGreaterThan removeAt takeAt takeThese add addAll extend fill insert b ...

prev 61 62 63 64 65 66 67 68 69 70 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow