Skip to content

retico-team/retico-speechbraintts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

About

Local speechbrain speech synthesis for retico.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages