Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... ller // m = MKtl.make(\meXYController, \meXYControl); // m.addVirtualElement(\xyPolar, {| me | // atan2(me.elements[\x], me.elements[\y]) // }); // ~post = { |el| [el.name, el.value].postln }; x.addAction(~post); x.value_(1.0.rand); x.value ...

  2. ZPlane Quark

    ... ng the location of the desired poles and zeros on the Z-plane and feeding these polar coordinates to FilterCoef . ZPlane can also calculate the frequency and phase response of the desired filter. A number of convenience methods are also imp ...

  3. sine Quark

    ... athGeneratorDef( \sine, { |f, path, n| var start, end, phase, amp, periods; var polar; start = f.get( \start ); end = f.get( \end ); periods = f.get( \periods ); amp = f.get( \amp ); phase = f.get( \phase ) * pi; polar = (end - start).asPol ...

  4. p_map_polar Quark

    /* \p_map_polar Creates an pattern UMap for converting angle and distance (rho, theta) to a cartesian point rho: distance from center (0-1) theta: angle (-pi - pi) center: center of the mapped area radius: radius of the mapped area -- this ...

  5. WFSPathTransformer Quark

    ... e; var <modeY = \replace; var <modeT = \replace; var <blend = 1; // 0 to 1 var <polar = false; *defClass { ^WFSPathGeneratorDef } applyFunc { |obj, def| var copy, result; var newX, newY, newT; var size; copy = obj.deepCopy; def = def ?? { t ...

  6. SCTransportWindow Quark

    ... pi); Pen.stroke; Color.black.alpha_(0.5).set; Pen.moveTo( view.bounds.center + Polar( view.bounds.height * width, 4pi/3 ).asPoint ); Pen.lineTo( view.bounds.center + Polar( view.bounds.height * width, 0 ).asPoint ); Pen.lineTo( view.bounds ...

  7. clip Quark

    ... path.positions.collect( _ - center ); range = f.get( \clipRadius ); if( f.get( \polar ) == true ) { range = range.clip(1.0e-12, inf); obj = obj.collect({ |item| item = (item / range).asPolar; [item.rho, item.theta] }).flop; obj[0] = switch( ...

  8. draw wavefields Quark

    ... oints, prePan, crossfader, crossfades, arrayPan; var focusMul = 1; var corners, polar, p1, p2, clip = true; var showWaveFronts = true, showListener = false; c.draw(m); corners = c.uniqueCorners; focusMul = c.focusDetector.kr( p ); Pen.use({ ...

  9. ZPlane Quark

    ... nil, { if(newPoles.isKindOf(Array), { newPoles.do({ arg pole; if(pole.isKindOf(Polar), { angle = pole.angle.wrap(-pi, pi); if(angle == pi.neg, { angle = pi }); poles = poles.add(Polar.new(pole.magnitude, angle)); //Add conjugate if arg 're ...

  10. roundPanOutput Quark

    ... point = #[0,0], dbRollOff = (-6), speakerRadius = 0.19| var sig, panned, pankr, polar, angle, amp; var mics, numChans, orientation; sig = UIn.ar( 0 ); numChans = Udef.numChannels; orientation = \orientation.ukr( 0.5, 0, numChans ); mics = ( ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow