Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1204) Code (149) Doc (369) Help (93) Quark (575) Plugin (18) SCDoc ↗ Forum ↗ Google ↗
  1. scale_point Quark

    /* \scale_point Creates an UMap for scaling and moving a point. The point can also be UMaps. point: the first point scale: a multiplier for x/y move: a point to add to the point -- this is an UMapDef definition file part of the WFSCollider ...

  2. Scale Quark

    /* using this human readable syntax: Scale('b', 'major') returns a FloatArray FloatArray[ 2, 4, 6, 7, 9, 11, 13 ] */ CXScale { classvar noteNames, scales, scalesArray; *initClass { noteNames = IdentityDictionary[ 'a'->0, 'a#'->1, 'bb'->1, ' ...

  3. freqStream Quark

    /* taking degrees, frequencies, durations, scales in various combinations and returning objects that supply frequency */ Spec.specs.addAll([ \freqStream -> StreamSpec(\freq.asSpec.as(StaticSpec)), \scale -> ScaleSpec(#[0, 2, 4, 5, 7, 9, 11] ...

  4. 02_Connections Quark

    ... d play the AlgaPattern a = AlgaPattern(( def: \sine, dur: 0.5 )).play(chans: 2, scale: 0.7); }); ) //Replace the definition in the AlgaPattern a.replace(\saw, time: 2, sched: 1); //Note that 'def' also supports ListPatterns a.from(Prand([\s ...

  5. ModalFreq Quark

    ModalFreq : AbstractPlayerProxy { // players or floats will work var <>degree,<>scale,<>root,<>octave=4.0,<>stepsPerOctave=12.0; *new { arg degree=0,scale,root=0.0,octave=4.0,stepsPerOctave=12.0; ^super.new.degree_(degree).scale_(scale ?? { ...

  6. 080-function_plot Quark

    ... 00, w, x, y, dx, dy, widthCartPlane, heightCartPlane, rad, theta, func, cnt= 0, scale= 2; w= RedWindow("func plot", Rect(128, 64, width*scale, height*scale)).front; widthCartPlane= 16; heightCartPlane= 16; //--loop w.draw{ cnt= cnt+0.05%(wi ...

  7. Scaling Quark

    ... play; b = AlgaNode({SinOsc.ar(1)}); c = AlgaNode({LFNoise1.ar([100, 1000])}); //scale: per channel scaling a.from(b, \f, scale:[[300, 10], 500]); }); ) a.mixFrom(b, \f, scale:[-1, 1, 50, 1000]); a.mixFrom(c, \f, scale:[-1, 1, 50, 1000]); a. ...

  8. scale Quark

    WFSPathTransformerDef( \scale, { |f, path| path.positions_( path.positions * [f.get( \scale ) ] ); }, [ \scale, 1@1 ] ) .setSpec( \scale, PointSpec( 10, 0.1 ) ) .useSelection_( true );

  9. DissonanceCurve Quark

    ... Out .ar(out, sin * amp); }).memStore; ) ( var carrier, modulator, depth, curve, scale; carrier = 440; modulator = 600; depth = 100; curve = DissonanceCurve .fm(carrier, modulator, depth, 1200); scale = curve.scale; ) *fft (buffer, size, cut ...

  10. rotate_point Quark

    /* \rotate_point Creates an UMap intended that rotates and scales an input point. point: the point to rotate (can be an UMap) rotate: the amount of rotation in degrees (-pi - pi) scale: a scale amount (0.25 - 4) -- this is an UMapDef defini ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow