Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1703) Code (71) Doc (521) Help (167) Quark (932) Plugin (12) SCDoc ↗ Forum ↗ Google ↗
  1. extPoint-blend Quark

    // wslib 2007 + Point { blend { |that, blendfrac = 0.5| that = that.asPoint; ^Point( x.blend( that.x, blendfrac ), y.blend( that.y, blendfrac ) ); } } + Rect { blend { |that, blendfrac = 0.5| that = that.asRect; ^Rect( left.blend( that.left ...

  2. README Quark

    ... Read Me ======================== _A SuperCollider Quark to encapsulate a set of points which represent a spherical design, allowing for searching, basic transformations and visualization of the design._ #### Spherical designs >Let *X* be a ...

  3. wfsMasterIn Quark

    ... _( \private ) .uchainInitFunc_({ |unit, chain| // this function replaces the wfsPoint unit in the chain // by a \shared_point, and any of \map_control_point UMaps // further in the chain by corresponding \shared_point_in unit.def = \soundIn ...

  4. Redraw Quark

    ... DownAction= {|v, x, y, m| mod= m; if(mod.isShift.not, { pmouse= nil; }); mouse= Point(x, y); userView.refresh; }; userView.mouseMoveAction= {|v, x, y, m| mouse= Point(x, y); userView.refresh; }; userView.mouseUpAction= {|v, x, y, m| mouse= ...

  5. GMSymbolMultiSlider Quark

    ... ( value, super.min, super.max, super.scale, super.expMin ); }; symbolPosition = Point( super.interactionRect.left + (caseSize * index) + (caseSize / 2), super.interactionRect.bottom - symbolPosition ); } { if(super.polarity == \uni) { symbo ...

  6. SplineMapper Quark

    ... inSpec to the gui it will size the display to precisely the range and limit the points to movement within the range. ( b = BSpline ([ [ 0.0, 0.028571428571429 ], [ 0.2890365448505, 0.39428571428571 ], [ 0.7641196013289, 1.0 ], [ 1.0, 0.0 ] ...

  7. extString-boundsM9 Quark

    ... ted!! // M9 stands for Font( "Monaco", 9 ) /* var lines; origin = ( origin ?? { Point( 0,0 ) } ).asPoint; lines = this.split( $\n ); ^Rect( origin.x, origin.y, this.class.widthM9( lines.collect( _.size ).maxItem ), this.class.heightM9( line ...

  8. UMapGUI Quark

    ... belWidth = RoundView.skin.labelWidth ? 80; userView.drawFunc = { |vw| var rect, points, lastPoint; Pen.width = 1; Pen.fillColor = unit.guiColor; Pen.strokeColor = Color.black.alpha_(0.5); rect = vw.bounds.moveTo(0,0).insetBy(0.5,0.5); //Pen ...

  9. DistToSource2D Quark

    DistToSource2D { *new { |sourceX = 0, sourceY = 0, micX = 0, micY = 0| ^Point( sourceX, sourceY ).dist( Point( micX, micY ) ); } *stereo { |sourceX = 0, sourceY = 0, width = 0.3| ^this.new( sourceX, sourceY, [ width.neg, width ] / 2, 0 ); } ...

  10. asJSON Quark

    ... collect(_.asJSON) ) } } + MxUnitApp { asJSON { ^( name: this.name, id: this.id, point: this.point.asArray, spec: this.spec.asJSON, inlets: this.inlets.collect(_.asJSON), outlets: this.outlets.collect(_.asJSON) ) } } + MxInletApp { asJSON { ...

prev 21 22 23 24 25 26 27 28 29 30 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow