Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... le is part of redUniverse /redFrik RedFingerprint { var <>array, <>normalize, <>points; *new {|array, normalize= true| ^super.newCopyArgs(array, normalize).calc; } calc { var p= Point(0, 0); points= array.copyRange(0, array.size.div(2)*2-1) ...

  2. WFSEditViews Quark

    ... ://www.gnu.org/licenses/>. */ /* These are basic editors for WFSPath2 and (WFS-)Points. use classes: WFSPathView( parent, bounds, object ); // object: a WFSPath2 WFSPathTimeView( parent, bounds, object ); // object: a WFSPath2 WFSPointView( ...

  3. KDTree Quark

    + KDTree { //Search within a circle (/hypersphere) defined by a point and a radius, and sort the outcome by it's distance from the point by decending order radiusSort { |point, radius=1| var outcome; outcome = this.radiusSearch(point, radiu ...

  4. point_axis Quark

    /* \point_axis Creates an UMap for converting a point (or point UMap) to a single value, by projecting it on a line. The line can be the x axis (default) or y axis, but via the 'rotate' argument it can also be somewhere in between. point: t ...

  5. 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( ...

  6. 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 ...

  7. 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 ...

  8. 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 ...

  9. 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 ...

  10. 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 ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow