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

Uploaded Source

Built Distribution

File details

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

File metadata

File hashes

Hashes for neon-tts-plugin-audiofiles-0.0.3a1.tar.gz
Algorithm Hash digest
SHA256 66f5f3454c8d0274cc8b44002b8baba0a4f4cdcd17560523c6e3f499008e3d98
MD5 3c0f4ed999d45c5a6a2d1f0e23649607
BLAKE2b-256 0a08d8c38b264fbdad53d6b85e8116fbbb836c509ec07c2a6e69611755e05306

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for neon_tts_plugin_audiofiles-0.0.3a1-py3-none-any.whl
Algorithm Hash digest
SHA256 3d16a9d292eb630c27b3348b4d08dfd7fed6977768ace63498bb6f17f7b617dc
MD5 df328e57ac8436b6a1f1ab0cf425503a
BLAKE2b-256 d18f94e984bc50ba4fe85d9df3dd00c7281c910fdd567583823af048a47777bf

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