jacdac.sound_level

Submodules

Package Contents

Classes

SoundLevelClient

A sound level detector sensor, gives a relative indication of the sound level.

class jacdac.sound_level.SoundLevelClient(bus: jacdac.bus.Bus, role: str, *, missing_sound_level_value: Optional[float] = None)

Bases: jacdac.bus.SensorClient

A sound level detector sensor, gives a relative indication of the sound level. Implements a client for the Sound level service.

property sound_level Optional[float]

The sound level detected by the microphone, _: /

property enabled Optional[bool]

Turn on or off the microphone.,