-
... ST_30) minimum pitch */ streamSliderElements[0].addView(Slider(plate, Rect.aboutPoint(Point(0.4, 0.4)*plate.bounds.extent, 10, 40))); streamSliderElements[0].action= {|val| sendOsc.value([[\sStream, \lvVolume, val]])}; StaticText(plate, Rec ...
-
/* \point_distance Creates an UMap for converting the distance between two points (or point UMaps) to a value range. point1: the first point point2: the second point fromRange: the distance range from which the output value will be calculat ...
-
// below is code for generating groups of moving or static points ( // circle n = 12; // number of events r = 8; // radius a = UScore( *n.collect({ |i| UChain(0, i, [ \formant, [ \freq, 50.0 rrand: 60, \formant, 100 exprand: 1000, ] ], [ \t ...
-
... th def ^gen.kr } defName { ^"ksp"++gen.spline.hash } beatDuration { ^gen.spline.points.last[0] } rate { ^\control } spec { ^(spec ?? { \unipolar.asSpec }) } } SplineFr { var <>spline, <>dimension=0, <>loop=false, <>spec, <>frameRate, <>inte ...
-
... usr.bounds; var step; Pen.smoothing= false; Pen.color= Color.black; Pen.stringAtPoint("FFT Plot", Point(10, 10), f0); Pen.push; Pen.translate(ub.left, ub.bottom); Pen.stringAtPoint(fs, Point(ub.width-fs.bounds(f1).width/2, wb.height-ub.bott ...
-
... usr.bounds; var step; Pen.smoothing= false; Pen.color= Color.black; Pen.stringAtPoint("FFT Plot", Point(10, 10), f0); Pen.push; Pen.translate(ub.left, ub.bottom); Pen.stringAtPoint(fs, Point(ub.width-fs.bounds(f1).width/2, wb.height-ub.bott ...
-
... nextY }, 270, 253 )); // window.acceptsMouseOver_(true); xySlots = xySlots.add([Point(nextX, nextY), name++slotHiLo]); // [xySlots, nextX, nextY].postln; if(nextX+275 > Window.screenBounds.width, { nextX = shiftXY ?? { 0 }; nextY = xySlots. ...
-
... P library in PureData. The copied methods pertain to forming a triangulation of points which forms a mesh grid suitable for use with VBAP and used here to visualizate a point mesh. A future implementation could perform a convex hull operati ...
-
... outbus, tgt, addAct, fxOn, cFreqWin, theQ; var name = "Spectral Equalizer"; var point; var stereoChList, monoChList; var onOffButt, cmdPeriodFunc; var bufA, bufB; var spectralsl; size = 1024; spectralsl = Array.fill(size, 0.0); s = server ? ...
-
... r.outlineColor); Pen.width_(super.outlineSize); if(isPlaying.not) { Pen.moveTo( Point( symbolSize / 2, 0 ).rotate(0 - (2pi / 3)).translate( Point( this.bounds.width / 2, this.bounds.height / 2 ) ); ); Pen.lineTo( Point( symbolSize / 2, 0 ). ...