retico-speechbraintts
Local speechbrain speech synthesis for retico.
Installation and requirements
You can install the module via pip:
$ pip install retico-speechbraintts
For this, PyTorch has to be installed:
$ pip install torch
Example
from retico_core import *
import retico_wav2vecasr
import retico_speechbraintts
microphone = audio.MicrophoneModule()
asr = retico_wav2vecasr.Wav2VecASRModule("en")
tts = retico_speechbraintts.SpeechBrainTTSModule("en")
speaker = audio.SpeakerModule(rate=22050)
microphone.subscribe(asr)
asr.subscribe(tts)
tts.subscribe(speaker)
network.run(asr)
print("Running the TTS. Press enter to exit")
input()
network.stop(asr)
Metadata
Release files for retico-speechbraintts 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| retico-speechbraintts-0.1.3.tar.gz | 8.3 kB | Details |
Release files / retico-speechbraintts-0.1.3.tar.gz
| Download URL | retico-speechbraintts-0.1.3.tar.gz |
|---|---|
| Size | 8.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
85282d1fa3507d8722f404a80da4e7c1c6ad45abe1057b5af4da23cce67cb0f5
|
|
BLAKE2b-256 checksum How to use checksums |
8b8762e3141d8a84eede864d41d1f92e5ab7d88ec82278b240618a99227123ac
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|