Skip to content

Commit

Permalink
Update playback queue for improved ovos-audio compat.
Browse files Browse the repository at this point in the history
  • Loading branch information
NeonDaniel committed Oct 2, 2023
1 parent 9ddf59a commit 6ab3066
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions neon_audio/tts/neon.py
Original file line number Diff line number Diff line change
Expand Up @@ -334,8 +334,7 @@ def execute(self, sentence: str, ident: str = None, listen: bool = False,
vis = self.viseme(r["phonemes"]) if r["phonemes"] \
else None
# queue for playback
self.queue.put((self.audio_ext, wav_file, vis, ident,
listen))
self.queue.put((wav_file, vis, listen, ident, message))
self.handle_metric({"metric_type": "tts.queued"})
else:
LOG.warning(f'no Message associated with TTS request: {ident}')
Expand Down

0 comments on commit 6ab3066

Please sign in to comment.