Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... { |numArrays = 4| ^SynthDef( this.getDefName( numArrays ), { // synth args: var point = 0@0, pointFromBus = 0; var pointLag = 0; var outBus = 1999; // output: var output; pointFromBus = \pointFromBus.kr( pointFromBus ); point = (\point.kr( ...

  2. contrainPoint Quark

    + Point{ constrain{ |rect| if ( rect.contains( this ).not, { x = x.clip( rect.left, rect.left + rect.width ); y = y.clip( rect.top, rect.left + rect.height ); }); } constrainCopy{ |rect| var point = this.copy; if ( rect.contains( this ).not ...

  3. USpeakerConf Quark

    USpeakerConf : WFSPointGroup { classvar <>default; classvar <>current; var listener; *new { |positions, listener| ^super.newCopyArgs( positions, listener ).init; } init { this.changed( \init ); } listener_ { |point| listener = point.asPoint ...

  4. crossfade_point Quark

    /* \crossfade_point Creates an UMap for crossfading between two points via linear interpolation. The points can also be UMaps. a: the first point b: the second point crossfade: (0-1) the crossfading position (a to b) -- this is an UMapDef d ...

  5. Simple Reverb Quark

    ( ~points = all {: Point(6*x,6*y), x <- [-1,1], y <- [-1,1]}; Udef(\justAPoint, { |point = #[0,0]| UOut.kr(0, point.asArray) }, [[ \point: 0@0, WFSPointSpec( 200, 0.1 ) ]]).sendSynthDef(s); UChain(*([\diskSoundFile, \justAPoint ]++4.collect ...

  6. Simple Reverb Quark

    ( ~points = all {: Point(6*x,6*y), x <- [-1,1], y <- [-1,1]}; Udef(\justAPoint, { |point = #[0,0]| UOut.kr(0, point.asArray) }, [[ \point: 0@0, WFSPointSpec( 200, 0.1 ) ]]).sendSynthDef(s); UChain(*([\diskSoundFile, \justAPoint ]++4.collect ...

  7. point_speed Quark

    /* \point_speed Creates an UMap for measuring the speed of a point (or point UMap) and convert it to a value. point: the point fromRange: the speed range from which the output value will be calculated toRange: the value range to which the s ...

  8. extVarGuiPlayerSection Quark

    ... = iconViewGroup[0].bounds.width, y = iconViewGroup[0].bounds.height; Pen.moveTo(Point(x * playX1, y * playY1)); Pen.lineTo(Point(x * (1-playX1), y * 0.5)); Pen.lineTo(Point(x * playX1, (1-playY1) * y)); Pen.width = 1.4 * fac; Pen.strokeColo ...

  9. XiiSnd Quark

    XiiSnd { var <>point, <>pitch, rect, stageRect; var fillcolor, strokecolor; var rot, predatorArray, preyArray; var xDistance, yDistance, destpoint, move, friction; var posNegX, posNegY; var xAway, yAway; var outbus, inbus, selected; // temp ...

  10. KDTree Quark

    ... find the median index, but if even-sized data we want to // make sure we find a point, so we don't use the average-of-two-centre-points that .median uses medianPos = array.size >> 1; sorted = array.copy; sorted.hoareFind(medianPos, { |a,b| ...

prev 1 2 3 4 5 6 7 8 9 10 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow