audiblelight.micarrays.MonoCapsule#
- class audiblelight.micarrays.MonoCapsule(name='monocapsule', is_spherical=False, channel_layout_type='mic')#
Bases:
MicArrayA single mono microphone capsule
- Parameters:
name (str)
is_spherical (bool)
channel_layout_type (str)
- __init__(name='monocapsule', is_spherical=False, channel_layout_type='mic')#
- 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 = 'mic'#
- property coordinates_cartesian: ndarray#
- is_spherical: bool = False#
- name: str = 'monocapsule'#