/  Encoders and Converters

EncodeN

ABFormat

BAFormat

Ambisonic virtual encoders and microphone utilities. Encoder works from 1st to 5th order.

EncodeN

inherits : UGen : Object

A fifth order ambisonic virtual source encoder.

constructors

EncodeN()

Default constructor for EncodeN.

EncodeN(float azimuth, float elevation)

Initialize encoder with an azimuth and elevation.

member functions

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.


ABFormat

inherits : UGen : Object

A class for converting A-Format ambisonics signals to B-Format ambisonic signals.

constructors

ABFormat()

Default constructor for ABFormat.


BAFormat

inherits : UGen : Object

A class for converting B-Format ambisonics signals to A-Format ambisonic signals.

constructors

BAFormat()

Default constructor for BAFormat.