Bilateral Ambisonic Encoder Processor
The Bilateral Ambisonic Encoder Processor processes an audio source by applying delay and spatial expansion, simulating near-field effects through binaural filtering, and finally encoding the signals into left and right Ambisonic channels for spatial audio rendering.
Architecture
The internal block diagram of this class is as follows:

Bilateral Ambisonic Encoder Processor - Internal diagram.
Key Components and Flow
The Bilateral Ambisonic Encoder Processor diagram describes the internal workflow for encoding a source signal into Ambisonic channels for both left and right audio streams.
-
AddDelayExpansionMethod: The source signal is first passed through the
left
andright
AddDelayExpansionMethod blocks. These methods apply a delay and spatial expansion to the signal to account for spatial positioning and propagation effects. -
Near Field Effect - Binaural Filter: The processed
left
andright
signals are then passed through a Binaural Filter. This stage simulates near-field audio effects implementing binaural filtering from second-order stages. -
AmbisonicEncoder: The filtered
left
andright
signals are fed into their respective AmbisonicEncoder blocks. These encoders process the samples and output N Ambisonic Channels for both left and right streams. -
Output: The final output consists of Left N Ambisonics Channels and Right N Ambisonics Channels, which represent spatially encoded versions of the source signal.