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.3a2.tar.gz (554.5 kB view details)

Uploaded Source

Built Distribution

File details

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

File metadata

File hashes

Hashes for neon-tts-plugin-audiofiles-0.0.3a2.tar.gz
Algorithm Hash digest
SHA256 c1eec9d4a510be4432a97ed94ffe323cf134ef33b7708ec1c18d3fd993719f0e
MD5 502358153b469e38b4c14385cbf5aaf2
BLAKE2b-256 b38c71862fe44b2c9b2e1fb80caee2ab51d933e42e840d64fa825c0d6e8e7045

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for neon_tts_plugin_audiofiles-0.0.3a2-py3-none-any.whl
Algorithm Hash digest
SHA256 e53f69e887a23a54beda5cf43275e35d97614ec2490ff447e087e39422b048d8
MD5 ec8789586aac753440142afd6d7f677a
BLAKE2b-256 f5a6e774554982f4f86fe36f0d0d7374cf3dbfffa64a129de74480e275afc222

See more details on using hashes here.

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