-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TTS #27
base: main
Are you sure you want to change the base?
Conversation
… audio via ssh on local system.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we clean up the code (print statements, formatting, etc) and also have e2e benchmarks for this? Additionally can we also modify the config file to have audio out as a flag which triggers piper if set to true.
|
||
LOGGER = None | ||
DEFAULT_CONFIG = "recipe/default.yaml" | ||
DEFAULT_CONFIG = "/home/piuser/voice/nyuntam/examples/experimentals/voice_engine/recipe/rpi5.yaml" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we have a relative path?
def create_tts_wav( | ||
stop_event: threading.Event, | ||
tts_processing_queue: queue.Queue, | ||
output_dir: str = "/home/piuser/voice/core/test-output" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lets have a relative path as default
… the audio file and then delete it and continue
…workflow on that path
This reverts commit c0df6d0.
This PR adds a TTS engine for e2e voice assistant on Pi.
TTS engine functions in the following way :
A queue of word outputs form the LLM is maintained and once a delimiter ['.', '!', '?' , ":" , ";"] is reached, queue is emptied and the sentence is sent to the STT engine.
STT used : https://github.com/rhasspy/piper