Skip to main content

Neon Speech Module

Project description

Neon Speech

Speech (Voice) Module for Neon Core. This module can be treated as a replacement for the mycroft-core speech module. This module handles input audio, performs STT, and optionally returns the text or forwards it to the skills module for intent parsing.

Neon Enhancements

neon-speech extends mycroft-speech with the following added functionality:

  • Support for continuous STT without a wake word
  • Audio processing module plugin system to modify audio and extract context
  • Messagebus API listeners to handle outside requests for STT or inputs to the skills module
  • Arbitrary configuration supported by passing at module init

Compatibility

Mycroft STT and Wake Word plugins are compatible with neon-speech, with the exception of skipping wake words, which is currently only supported by Neon STT plugins.

Running in Docker

The included Dockerfile may be used to build a docker container for the neon_speech module. The below command may be used to start the container.

docker run -d \
--network=host \
--name=neon_speech \
-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 \
-v /tmp:/tmp:rw \
--device=/dev/snd:/dev/snd \
-e PULSE_SERVER=unix:${XDG_RUNTIME_DIR}/pulse/native \
-e PULSE_COOKIE=/home/neon/.config/pulse/cookie \
neon_speech

Note: The above example assumes Docker data locations are specified in the NEON_DATA_DIR and NEON_CONFIG_DIR environment variables.

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

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

neon_speech-0.3.1a1-py3-none-any.whl (39.0 kB view details)

Uploaded Python 3

File details

Details for the file neon_speech-0.3.1a1-py3-none-any.whl.

File metadata

  • Download URL: neon_speech-0.3.1a1-py3-none-any.whl
  • Upload date:
  • Size: 39.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for neon_speech-0.3.1a1-py3-none-any.whl
Algorithm Hash digest
SHA256 f5f1d7e89e4df189bb7817bd58c664e6438b3ebd12019a8646f4eb8a204ad9ac
MD5 46d5aaa1cc9524747c317130c4f52b7f
BLAKE2b-256 9a016e75335e79e378acaf1516c4b51974fefc6a1f9175784bd52970461e688a

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page