Ambisonic virtual encoders and microphone utilities. Encoder works from 1st to 5th order.
A fifth order ambisonic virtual source encoder.
EncodeN()
Default constructor for EncodeN.
EncodeN(float azimuth, float elevation)
Initialize encoder with an azimuth and elevation.
float azi()
Get last given azimuth.
float azi(float azimuth)
Set azimuth.
float elev()
Get last given elevation.
float elev(float elevation)
Set elevation.
void pos(float azimuth, float elevation)
Set the position of the encoder given azimuth and elevation angles.
float sh(int n)
Get nth spherical harmonic currently being used.
void sh(float[] coordinates)
Set 1D array of all spherical harmonics currently being used.
void sh(float value, int n)
Set nth spherical harmonic to be used.
float[] sh()
Get 1D array of all spherical harmonics currently being used.
void weights(float[] weights)
Set 1D array of weighting for all spherical harmonics.
float[] weights()
Get 1D array of weighting for all spherical harmonics.
[ top ]
A class for converting A-Format ambisonics signals to B-Format ambisonic signals.
ABFormat()
Default constructor for ABFormat.
[ top ]
A class for converting B-Format ambisonics signals to A-Format ambisonic signals.
BAFormat()
Default constructor for BAFormat.
[ top ]