audiblelight.micarrays.MonoCapsule#

class audiblelight.micarrays.MonoCapsule(name='monocapsule', is_spherical=False, channel_layout_type='mono')#

Bases: MicArray

A single mono microphone capsule

Parameters:
  • name (str)

  • is_spherical (bool)

  • channel_layout_type (str)

__init__(name='monocapsule', is_spherical=False, channel_layout_type='mono')#
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

capsule_names

channel_layout

Returns the ray-tracing engine ChannelLayout object for this MicArray

channel_layout_type

coordinates_absolute

coordinates_cartesian

coordinates_center

coordinates_polar

irs

is_spherical

n_capsules

n_listeners

Returns the number of listeners this MicArray should be associated with in the engine.

name

property capsule_names: list[str]#
channel_layout_type: str = 'mono'#
property coordinates_cartesian: ndarray#
is_spherical: bool = False#
name: str = 'monocapsule'#