# NeonAI Audio Files TTS Plugin
[Mycroft](https://mycroft-ai.gitbook.io/docs/mycroft-technologies/mycroft-core/plugins) compatible
TTS Plugin for playing back static audio files. Plugin will look for a file whose name matches the requested
TTS string and play it back.
## Configuration:
```yaml
tts:
module: neon-tts-plugin-audiofiles
neon-tts-plugin-audiofiles:
audio_file_path: ~/tts_audio_files
```
## Usage
The path to audio files should be specified in configuration as [noted above](#configuration).
If using this with the default [Neon Docker Implementation](https://github.com/NeonGeckoCom/NeonCore/tree/dev/docker),
audio files will be read from `xdg/data/neon/AudioFileTTS` by default.
Audio filenames should generally match the text used to generate them,
with any special characters (i.e. `/`) replaced with `_`. If
unsure about capitalization, files may be lowercased, though a properly cased
file will take priority over a lowercased one.
For example, the tts request `What time is it?` would resolve
the file `what time is it_.wav`
Some default audio files are provided with this plugin, but it is expected that
any potential TTS requests have supporting `wav` audio files at `audio_file_path`.
Audio files may be organized in any directory structure within that directory.
### Examples
| text | filename |
|------------------|----------------------|
| What time is it? | What time is it_.wav |
| It is 11:30 AM | it is 11_30 am.wav |
Raw data
{
"_id": null,
"home_page": "https://github.com/NeonGeckoCom/neon-tts-plugin-audiofiles",
"name": "neon-tts-plugin-audiofiles",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "mycroft plugin tts",
"author": "Neongecko",
"author_email": "developers@neon.ai",
"download_url": "",
"platform": null,
"description": "# NeonAI Audio Files TTS Plugin\n[Mycroft](https://mycroft-ai.gitbook.io/docs/mycroft-technologies/mycroft-core/plugins) compatible\nTTS Plugin for playing back static audio files. Plugin will look for a file whose name matches the requested\nTTS string and play it back.\n\n## Configuration:\n```yaml\ntts:\n module: neon-tts-plugin-audiofiles\n neon-tts-plugin-audiofiles:\n audio_file_path: ~/tts_audio_files\n```\n\n## Usage\nThe path to audio files should be specified in configuration as [noted above](#configuration). \nIf using this with the default [Neon Docker Implementation](https://github.com/NeonGeckoCom/NeonCore/tree/dev/docker),\naudio files will be read from `xdg/data/neon/AudioFileTTS` by default. \n\nAudio filenames should generally match the text used to generate them, \nwith any special characters (i.e. `/`) replaced with `_`. If\nunsure about capitalization, files may be lowercased, though a properly cased\nfile will take priority over a lowercased one.\nFor example, the tts request `What time is it?` would resolve\nthe file `what time is it_.wav`\n\nSome default audio files are provided with this plugin, but it is expected that\nany potential TTS requests have supporting `wav` audio files at `audio_file_path`.\nAudio files may be organized in any directory structure within that directory.\n\n### Examples\n| text | filename |\n|------------------|----------------------|\n| What time is it? | What time is it_.wav |\n| It is 11:30 AM | it is 11_30 am.wav |\n\n\n\n",
"bugtrack_url": null,
"license": "BSD-3.0",
"summary": "A \"TTS\" plugin for Neon",
"version": "0.0.2",
"project_urls": {
"Homepage": "https://github.com/NeonGeckoCom/neon-tts-plugin-audiofiles"
},
"split_keywords": [
"mycroft",
"plugin",
"tts"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "bf2b255125acda898e8500a3abb90c49cfd2e6c1ec956d8256b191b3d6525e6d",
"md5": "fc18f12f6a23477ddd478faccb4f5bee",
"sha256": "694a5fb1b0c68c3461ee3e663092a5af69de808e58648538f5557de2fafbd320"
},
"downloads": -1,
"filename": "neon_tts_plugin_audiofiles-0.0.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "fc18f12f6a23477ddd478faccb4f5bee",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 552552,
"upload_time": "2023-01-18T19:30:23",
"upload_time_iso_8601": "2023-01-18T19:30:23.578584Z",
"url": "https://files.pythonhosted.org/packages/bf/2b/255125acda898e8500a3abb90c49cfd2e6c1ec956d8256b191b3d6525e6d/neon_tts_plugin_audiofiles-0.0.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-01-18 19:30:23",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "NeonGeckoCom",
"github_project": "neon-tts-plugin-audiofiles",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "neon-tts-plugin-audiofiles"
}