# Neon Audio
Audio Module for Neon Core. This module can be treated as a replacement for the
[mycroft-core](https://github.com/MycroftAI/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.
```shell
docker run -d \
--network=host \
--name=neon_audio \
-v ~/.config/pulse/cookie:/tmp/pulse_cookie:ro \
-v ${XDG_RUNTIME_DIR}/pulse:${XDG_RUNTIME_DIR}/pulse:ro \
-v /run/dbus/system_bus_socket:/run/dbus/system_bus_socket:rw \
-v /tmp/.X11-unix:/tmp/.X11-unix:ro \
--device=/dev/snd:/dev/snd \
-e PULSE_SERVER=unix:${XDG_RUNTIME_DIR}/pulse/native \
-e PULSE_COOKIE=/tmp/pulse_cookie \
-e DISPLAY=${DISPLAY} \
neon_audio
```
Raw data
{
"_id": null,
"home_page": "https://github.com/NeonGeckoCom/neon_audio",
"name": "neon-audio",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "",
"author": "Neongecko",
"author_email": "developers@neon.ai",
"download_url": "https://files.pythonhosted.org/packages/27/d9/157bf955fc70d4ad3802f28a785d24ba2e417972a20b5ed55440f773c3f3/neon-audio-1.5.1.tar.gz",
"platform": null,
"description": "# Neon Audio\nAudio Module for Neon Core. This module can be treated as a replacement for the\n[mycroft-core](https://github.com/MycroftAI/mycroft-core) speech module. This module handles input text, performs TTS, \nand optionally returns the audio or plays it back locally.\n\n## Neon Enhancements\n`neon-audio` extends `mycroft-audio` with the following added functionality:\n* Support for translated output languages\n* Support for multiple language spoken responses (multiple users and/or multi-language users)\n* Messagebus API listeners to handle outside requests for TTS\n* Arbitrary configuration supported by passing at module init\n\n## Compatibility\nMycroft TTS plugins are compatible with `neon-speech`.\n\n## Running in Docker\nThe included `Dockerfile` may be used to build a docker container for the neon_audio module. The below command may be used\nto start the container.\n\n```shell\ndocker run -d \\\n--network=host \\\n--name=neon_audio \\\n-v ~/.config/pulse/cookie:/tmp/pulse_cookie:ro \\\n-v ${XDG_RUNTIME_DIR}/pulse:${XDG_RUNTIME_DIR}/pulse:ro \\\n-v /run/dbus/system_bus_socket:/run/dbus/system_bus_socket:rw \\\n-v /tmp/.X11-unix:/tmp/.X11-unix:ro \\\n--device=/dev/snd:/dev/snd \\\n-e PULSE_SERVER=unix:${XDG_RUNTIME_DIR}/pulse/native \\\n-e PULSE_COOKIE=/tmp/pulse_cookie \\\n-e DISPLAY=${DISPLAY} \\\nneon_audio\n```\n",
"bugtrack_url": null,
"license": "BSD-3-Clause",
"summary": "Neon Audio Module",
"version": "1.5.1",
"project_urls": {
"Homepage": "https://github.com/NeonGeckoCom/neon_audio"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "7b40a6e73958a816dc9fcf7e6cfdc510e4eeb197645f4a7b91ec09411732c94a",
"md5": "d7ae48fb0e4a1c36d980292e5ff08216",
"sha256": "52f342227a2b8d2612c76cb065a5edf16d37b1e59cc9367f655b7bc00d4c1b65"
},
"downloads": -1,
"filename": "neon_audio-1.5.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "d7ae48fb0e4a1c36d980292e5ff08216",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 30008,
"upload_time": "2024-02-24T00:44:22",
"upload_time_iso_8601": "2024-02-24T00:44:22.502436Z",
"url": "https://files.pythonhosted.org/packages/7b/40/a6e73958a816dc9fcf7e6cfdc510e4eeb197645f4a7b91ec09411732c94a/neon_audio-1.5.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "27d9157bf955fc70d4ad3802f28a785d24ba2e417972a20b5ed55440f773c3f3",
"md5": "1ed16f298fd0f1d1cd3506d7da34e9ec",
"sha256": "418b008b2e968d42563ae9b09181df42770633c96834020abe88e8aeb2638948"
},
"downloads": -1,
"filename": "neon-audio-1.5.1.tar.gz",
"has_sig": false,
"md5_digest": "1ed16f298fd0f1d1cd3506d7da34e9ec",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 17383,
"upload_time": "2024-02-24T00:44:24",
"upload_time_iso_8601": "2024-02-24T00:44:24.357715Z",
"url": "https://files.pythonhosted.org/packages/27/d9/157bf955fc70d4ad3802f28a785d24ba2e417972a20b5ed55440f773c3f3/neon-audio-1.5.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-02-24 00:44:24",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "NeonGeckoCom",
"github_project": "neon_audio",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "neon-audio"
}