audiblelight.micarrays.FOAListener#
- class audiblelight.micarrays.FOAListener(name='foalistener', is_spherical=False, channel_layout_type='foa')#
Bases:
MicArrayFirst Order Ambisonics (FOA) microphone “capsule”
This implementation uses a single listener with 4 ambisonics channels (W, X, Y, Z) following the AmbiX convention. Unlike AmbeoVR which places 4 separate mono capsules, this represents a single point in space with 4-channel ambisonics encoding.
- Parameters:
name (str)
is_spherical (bool)
channel_layout_type (str)
- __init__(name='foalistener', is_spherical=False, channel_layout_type='foa')#
- Parameters:
name (str)
is_spherical (bool)
channel_layout_type (str)
- Return type:
None
Methods
__init__([name, is_spherical, ...])from_dict(input_dict)Instantiate a MicArray from a dictionary.
set_absolute_coordinates(mic_center)Calculates absolute position of all microphone capsules based on a provided center.
to_dict()Returns metadata for this MicArray as a dictionary.
Attributes
channel_layoutReturns the ray-tracing engine ChannelLayout object for this MicArray
coordinates_absolutecoordinates_centercoordinates_polarirsn_capsulesn_listenersReturns the number of listeners this MicArray should be associated with in the engine.
- property capsule_names: list[str]#
- channel_layout_type: str = 'foa'#
- property coordinates_cartesian: ndarray#
- is_spherical: bool = False#
- name: str = 'foalistener'#