jacdac.microphone

Submodules

Package Contents

Classes

MicrophoneClient

A single-channel microphone.

class jacdac.microphone.MicrophoneClient(bus: jacdac.bus.Bus, role: str)

Bases: jacdac.bus.Client

A single-channel microphone. Implements a client for the Microphone service.

property sampling_period: int | None

Get or set microphone sampling period. Sampling rate is 1_000_000 / sampling_period Hz., _: us