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 Distributions

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

Built Distribution

neon_tts_plugin_audiofiles-0.0.2-py3-none-any.whl (552.6 kB view hashes)

Uploaded Python 3

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