Skip to main content

A "TTS" plugin for Neon

Project description

NeonAI Audio Files TTS Plugin

Mycroft 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:

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. If using this with the default Neon Docker Implementation, 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

Project details


Download files

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

Source Distribution

neon-tts-plugin-audiofiles-0.0.3.tar.gz (554.4 kB view details)

Uploaded Source

Built Distribution

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

neon_tts_plugin_audiofiles-0.0.3-py3-none-any.whl (552.6 kB view details)

Uploaded Python 3

File details

Details for the file neon-tts-plugin-audiofiles-0.0.3.tar.gz.

File metadata

File hashes

Hashes for neon-tts-plugin-audiofiles-0.0.3.tar.gz
Algorithm Hash digest
SHA256 4470544438c00e7b0d8aa94c80f01d1d88b19052cd263d3eedfb6d9823f3dd8b
MD5 d024e5d9561e6e71b292304fac977766
BLAKE2b-256 f168ec81b05761fcd5dd79d3c738bfb3f38fc21c364a15b3ee3163e57a3f1dff

See more details on using hashes here.

File details

Details for the file neon_tts_plugin_audiofiles-0.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for neon_tts_plugin_audiofiles-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 9b24c354db276a3caa2cb44404159b5c7ec47c06550a11c1a7f38f07e13b5d7c
MD5 72b66617cb0eb7de82372d788b02b814
BLAKE2b-256 f664f23cfd9d14680ddac00c21d8b224ee23010fa98f4c834320a3cc43e6bbc3

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 Pingdom Monitoring Sentry Error logging StatusPage Status page