README.md

July 31, 2026 ยท View on GitHub

Description

This plugin captures audio from an ALSA device for OpenVoiceOS (OVOS). It implements the Microphone interface from ovos-plugin-manager and registers under the opm.microphone entry point as ovos-microphone-plugin-alsa.

Install

pip install ovos-microphone-plugin-alsa

Configuration

Add this block to your mycroft.conf, or merge it with your existing listener section.

"listener": {
    "microphone": {
        "module": "ovos-microphone-plugin-alsa",
        "device": "pulse",                  # name/alias of the device; default = "default"
        "period_size": 1024,                # frames per period; default = 1024
        "timeout": 5.0,                     # blocks x seconds and raises the Empty exception if no item was available within that time; default = 5.0
        "multiplier": 1.0,                  # Increase/decrease loudness of audio; default = 1.0
        "audio_retries": 0,                 # Number of times to retry listening; default = 0
        "audio_retry_delay": 0.0            # Seconds to wait between retries; default = 0.0
    }
}

License

Apache License 2.0. See LICENSE.