-
... 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 ...
-
... 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 ...
-
... 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 ...
-
/* \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 ...
-
... 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 ...
-
... 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 ...
-
... 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( ...
-
... 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({ ...
-
... 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 ...
-
... 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 = ( ...