Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

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
    }
}

Related projects

License

Apache License 2.0. See LICENSE.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ovos_microphone_plugin_alsa-0.1.4a6.tar.gz (8.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ovos_microphone_plugin_alsa-0.1.4a6-py3-none-any.whl (8.7 kB view details)

Uploaded Python 3

File details

Details for the file ovos_microphone_plugin_alsa-0.1.4a6.tar.gz.

File metadata

File hashes

Hashes for ovos_microphone_plugin_alsa-0.1.4a6.tar.gz
Algorithm Hash digest
SHA256 092b95bef73476284e05a5b5cb2e0e755a8d08ab7be3e34c0b43b0b464389ba7
MD5 c85f481a6f7f58d6d62bbf79c39ce1c6
BLAKE2b-256 0bc75359005cd369af525507207297e25bafa8bdda14ce15eb55f3aa94dcff45

See more details on using hashes here.

File details

Details for the file ovos_microphone_plugin_alsa-0.1.4a6-py3-none-any.whl.

File metadata

File hashes

Hashes for ovos_microphone_plugin_alsa-0.1.4a6-py3-none-any.whl
Algorithm Hash digest
SHA256 b0c44cd56aecf8316bf164ddd3d710b598b8a134417a5401efd69daa919e773a
MD5 6d6e5299dca318ffdabb1ec27107435a
BLAKE2b-256 e59a11ee070490afd6b801e29042df0c4ba429948017c55fb5707be265db0dfd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page