Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (163) Code (5) Doc (50) Help (10) Quark (97) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. JInT_TriggerFinger Quark

    ... 1]).collect(_.kr).lag(0.025) * 400 + [400, 800]) // SinOsc.ar(k.kr([\c1, \c2], \polar).lag(0.025) * 400 + [400, 800]) * k[ \pad1 ].kr(2)[1].lag(0.1) * 0.5 } ) ~x.play ~x.free ~x.clear j.stop HIDresponder .releaseAll

  2. USpeakerConf Quark

    ... rConf.generate( size, this ); } } + Nil { asUSpeakerConf { ^USpeakerConf( { |i| Polar( 8, i.linlin(0,15,0,2pi) ).asPoint } ! 15 ); } } + WFSPath_Old { asWFSPointGroup { ^WFSPointGroup( this.positions.collect(_.asPoint) ); } }

  3. Spherical Quark

    ... z { ^rho * sin(phi) } real { ^this.x } imag { ^this.y } asSpherical { ^this } asPolar { ^this.asPoint.asPolar } // implemented as a projection asComplex { ^Complex.new(this.real, this.imag) } // implemented as a projection asPoint { ^Point. ...

  4. line Quark

    ... terDelay2 = 0.00015; var input, lfoA, lfoB, phaseShiftA, phaseShiftB, env, saw, polarity, phaseA, phaseB, phase, snd; // Makes three lines with a slope of 1/second input = Line.ar( start: 0 , end: att + hold + rel, dur: att + hold + rel, do ...

  5. RoundedRect Quark

    ... rs[1].set } { colors[0].set }; if( rc@@3 != 0 ) { penClass.moveTo( centers[3] + Polar( (rc@@3) - border, pi - (angle@@1) ).asPoint ); penClass.addArc( centers[3], rc@@3, pi - (angle@@1), angle@@1 ); } { penClass.moveTo( centers[3] + ((borde ...

  6. Specs Quark

    ... >units, <>mode; // constrains inside rect var clipRect; // mode can be \point, \polar, \deg_cw, \deg_ccw // only for gui; output will always be Point *new { |rect, step, default, units, mode| ^super.newCopyArgs( rect ? inf, (step ? 0).asPoi ...

  7. GMXYUserView Quark

    ... max, scale ); }; }; }; ^mousePos } // Maps the X position of the cursor to a bipolar scale getXMouseMappingBipolar { |mousePos, min, max, scale, invert = false, expMin = 0.001| mousePos = this.getXMousePos(mousePos, invert); // Special cas ...

  8. PitchSet Quark

    ... = PitchSet .makeProbMatrix; g.doSomething; // explanation g.cleanUpMethod; calcPolarity (polarity, filteredScale) Short prose description of method. polarity - Explanation of polarity. Default value is nil. Other information. filteredScale ...

  9. WFS_Specs Quark

    ... - 40; vws[ \mode ] = UPopUpMenu( view, 45 @ bounds.height ) .items_( [ \point, \polar, \deg_cw ] ) .title_( "mode" ) .action_({ |pu| mode = pu.item; this.setMode( vws, mode ); }); vws[ \mode ].extraMenuActions = { var makeAction = { |name, ...

  10. Room Quark

    ... x, y1, px, y2, x1, y1, // 2d corners x1, y2, x2, y1, x2, y2 ] } /* method: refs8polar Calculates the polar coordinates of the mirror sources (phi, distance) with the listener position as reference Parameters: px, py The source position lx, ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow