Piper-TTS as a ROS 2 Service? #584
Unanswered
slowrunner
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have enabled my Raspberry Pi 5 robot to use Piper-TTS in Python programs by calling a shell script to stream the output of Piper-TTS to a wav file and then play the wav file.
python:
calling piper.sh:
I have not had any trouble using this technique for straight python programs, but when I attempted to build a ROS 2 Humble "say_node" that offers a /say service - Piper-TTS throws an exception on the second or third call to the service with:
I should add ROS 2 Humble is running over Ubuntu 22.04 in a Docker container over 64-bit Raspberry Pi OS Bookworm.
Something I need to change to avoid this failure?
Has anyone else built a ROS 2 Humble driver for Piper-TTS?
Beta Was this translation helpful? Give feedback.
All reactions