HOAEncoder:
Filter:
SC-HOA/Classes (extension) | Libraries > HOA

HOAEncoder
ExtensionExtension

Panning sounds sources in a higher order Ambisonics sound field

Description

HOAEncoder pans mono sound sources in a higher order Ambisonics sound field, you can chose between plane and near field spherical wave encoding.

References: Lecomte, P., & Gauthier, P.-A. (2015). Real-Time 3D Ambisonics using Faust, Processing, Pure Data, And OSC. In 15th International Conference on Digital Audio Effects (DAFx-15). Trondheim, Norway.

Class Methods

.ar

pseudo Ugen method returning Ugens based on Ambisonics order provided through the first argument.

Arguments:

order

Ambisonics order 1-5.

in

b-format as channel array.

az

azimuth in degree -pi to pi.

elev

elevation in degree -pi/2 to pi/2

gain

in dB

plane_spherical

0: plane 1: spherical (default: plane)

radius

distance of the soundsource (only relevant if plane_spherical is set to 1).

speaker_radius

radius of the speaker layout of the reproduction system.

Returns:

returns encoded HOA scene (4,9,16,25,36 channels depending on the order argument).

Examples