Generate a monofrequent First Order Ambisonic signal (B-format), synthesized from a cosine basis wave. Uses SinOsc internally, a wavetable lookup oscillator with linear interpolation.
freq |
Frequency in Hertz. Sampled at audio-rate. |
phase |
Phase offset or modulator in radians. Sampled at audio-rate. NOTE: phase values should be within the range +-8pi. If your phase values are larger then simply use .mod(2pi) to wrap them. |
azimuthA |
Azimuth of the Active Intensity Vector, in radians. |
elevationA |
Elevation of the Active Intensity Vector, in radians. |
azimuthR |
Azimuth of the Reactive Intensity Vector, in radians. |
elevationR |
Elevation of the Reactive Intensity Vector, in radians. |
alpha |
Active-Reactive Intensity Balance. |
beta |
Potential-Kinetic Energy Balance. |
mul |
Output will be multiplied by this value. |
add |
This value will be added to the output. |
FoaMFreqOsc is provided primarily as a convenience for generating prototype soundfields.
See further discussion of soundfield indicators: FoaAnalyze.