Skip to content
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

fix/playback_thread startup #180

Merged
merged 1 commit into from
Oct 8, 2023
Merged

Conversation

JarbasAl
Copy link
Member

@JarbasAl JarbasAl commented Oct 8, 2023

if using a fallback TTS the thread is started twice and throws an exception

if using a fallback the thread is started twice

fix test

fix test

missing import

Mycroft -> OpenVoiceOS

fix type hints

feat/tts_transformers

.

move PlaybackThread to ovos-audio

.

feat/ovos_dialog_tts_transformers

listener has AudioTransformers
core has MetadataTransformers and UtteranceTransformers

this PR extends the concept to ovos-audio for text before TTS stage, and wav file after TTS but before playback

use case demonstration https://gist.github.com/JarbasAl/16788bdcff3fa5bfb3634d6f2116cc04

this ties into OpenVoiceOS/ovos-persona#4
@JarbasAl JarbasAl added the bug Something isn't working label Oct 8, 2023
@codecov
Copy link

codecov bot commented Oct 8, 2023

Codecov Report

All modified lines are covered by tests ✅

❗ No coverage uploaded for pull request base (dev@aaac417). Click here to learn what that means.

Additional details and impacted files
@@          Coverage Diff          @@
##             dev    #180   +/-   ##
=====================================
  Coverage       ?   0.00%           
=====================================
  Files          ?      57           
  Lines          ?    3916           
  Branches       ?       0           
=====================================
  Hits           ?       0           
  Misses         ?    3916           
  Partials       ?       0           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@JarbasAl JarbasAl merged commit 606aa33 into dev Oct 8, 2023
10 checks passed
@JarbasAl JarbasAl deleted the fix/multiple_playback_thread_start branch October 8, 2023 20:49
@github-actions github-actions bot mentioned this pull request Oct 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant