Neon Audio Module
Project description
Neon Audio
Audio Module for Neon Core. This module can be treated as a replacement for the mycroft-core speech module. This module handles input text, performs TTS, and optionally returns the audio or plays it back locally.
Neon Enhancements
neon-audio
extends mycroft-audio
with the following added functionality:
- Support for translated output languages
- Support for multiple language spoken responses (multiple users and/or multi-language users)
- Messagebus API listeners to handle outside requests for TTS
- Arbitrary configuration supported by passing at module init
Compatibility
Mycroft TTS plugins are compatible with neon-speech
.
Running in Docker
The included Dockerfile
may be used to build a docker container for the neon_audio module. The below command may be used
to start the container.
docker run -d \
--network=host \
--name=neon_audio \
-v ${NEON_DATA_DIR}:/home/neon/.local/share/neon:rw \
-v ${NEON_CONFIG_DIR}:/home/neon/.config/neon:rw \
-v ~/.config/pulse/cookie:/home/neon/.config/pulse/cookie:ro \
-v ${XDG_RUNTIME_DIR}/pulse:${XDG_RUNTIME_DIR}/pulse:ro \
--device=/dev/snd:/dev/snd \
-e PULSE_SERVER=unix:${XDG_RUNTIME_DIR}/pulse/native \
-e PULSE_COOKIE=/home/neon/.config/pulse/cookie \
neon_audio
Note: The above example assumes Docker data is stored in the standard user locations
~/.local/share
and~/.config
. You may want to change these values to some other path to separate container and host system data.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Hashes for neon_audio-0.4.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e1ca5ba46839c6111d5f92c45e77c54d7d8802d401bb70718ac02e61af075c37 |
|
MD5 | abded3c9a72e520860bd04de8daf8dde |
|
BLAKE2b-256 | a01cfa5e13968a582dbe0ecbe287e867c9cb0e004f9a070d671bf3485e167e23 |