-
... s a single beam from an ambisonic soundfield signal. angle: angle of the beam (-pi - pi) elevation: elevation of the beam (-0.5pi, 0.5pi) amp: amplitude (0-1) mode: ambisonic mode (ambix - a.k.a. acn-sn3d, acn-n3d, fuma) this is an Udef def ...
-
... just like Ramp , but always takes the shortest way around a defined circle, wrapping values where appropriate. This can be useful when smoothing panning signals for speaker rings, for instance in Vector Base Amplitude Panning. Class Methods ...
-
... and, \start, (~hoaSoundScene.numFrames * ~hoaSoundScene.numChannels).rand, \az, pi.rand2, \el, (pi*2).rand2 ]) ) ⧉ ✔ So let's make decoder, that is playing the decoded signal on the first 2 channels (0,1) and is listening on channel (2,3,4, ...
-
... : radius from center angleOffset : angleOffset of first speaker (0 = right, -0.5pi is top) SpatioScope .ringPos(5); SpatioScope .ringPos(8); *ring(num, radius, angleOffset, server, parent, bounds) // make a SpatioScope for a ring num , radi ...
-
... Pen.color = if (curr > 0, colorUp, colorDown); Pen.addAnnularWedge(0@0, 16, 20, pi, curr * 2pi); Pen.fill; // plus arrow tip triangle Pen.rotate(curr * 2pi + pi).translate(18, 0); Pen.moveTo(7@0).lineTo(-7@0).lineTo(0@ 10 * curr.sign).lineT ...
-
... / unitSize).floor.asInteger + ii) + 1).asString, Rect.aboutPoint( movePt.rotate(pi), 20, 15) ); }); }); }; Pen.color = Color.red(0.5, 0.5); Pen.font = Font( Font.defaultSansFace, 14 ); Pen.use({ Pen.translate( *(arrayConf.centerPoint).asArr ...
-
... Right, drawBottom,rotPoint,moveBy,rotPointText,drawRectText, drawRectText2,rot1=pi/2,rot2=0, tabLabelView=tab.widget, label=tab.label; followEdges.if{ switch(tabPosition) {\top}{rot1=0;rot2=0} {\left}{rot1=pi;rot2=pi/2} {\bottom}{rot1=pi;ro ...
-
... mat signal, an array: [w, x, y, z] angle The distortion angle, in radians. 0 to pi/2 mul Output will be multiplied by this value. add This value will be added to the output. Discussion: Angle = 0 retains the current directivity of the sound ...
-
... Channels; // setter added for matrix-to-file & file-to-matrix support // most typically called by subclass *new { |kind| ^super.new(kind).init } *newFromMatrix { |matrix, directions| ^super.new(\fromMatrix).initFromMatrix(matrix, directions ...
-
... thods . ar Arguments: in The input signal. angle Distortion angle, in radians. -pi/2 to pi/2 theta Azimuth, in radians. phi Elevation, in radians. radius Radius, in meters. order Ambisonic order. Discussion: Applies focus along the axis def ...