Package Summary
Tags | No category tags. |
Version | 2.1.31 |
License | BSD |
Build type | CATKIN |
Use | RECOMMENDED |
Repository Summary
Checkout URI | https://github.com/jsk-ros-pkg/jsk_3rdparty.git |
VCS Type | git |
VCS Version | master |
Last Updated | 2025-05-13 |
Dev Status | DEVELOPED |
CI status | No Continuous Integration |
Released | RELEASED |
Tags | No category tags. |
Contributing |
Help Wanted (0)
Good First Issues (0) Pull Requests to Review (0) |
Package Description
Additional Links
Maintainers
- Shingo Kitagawa
Authors
- Hideaki Ito
google_cloud_texttospeech
ROS Interface for Google Cloud Text-to-Speech
Preparation
- Register Google Cloud Text-to-Speech API
- Put the credential json for Google Cloud Text-to-Speech API in your robot
Installation
For python2.7, you need to use google-cloud-texttospeech==1.0.1
.
sudo pip install google-cloud-texttospeech==1.0.1
Usage
Launch sound_play with Google Cloud Text-to-Speech
roslaunch google_cloud_texttospeech google_cloud_texttospeech.launch credential:=/your/credential/json/path
Say something
For python users
import rospy
from sound_play.libsoundplay import SoundClient
rospy.init_node('say_node')
client = SoundClient(sound_action='robotsound', sound_topic='robotsound')
client.say('hello!')
client.say('こんにちは', voice='ja')
You can change the voice by changing the voice_name. Look at the following website for further details. Google Cloud Text-to-Speech Supported voices and languages
We can use standard and WaveNet voices. WaveNet voices are higher quality voices with different pricing; in the list, they have the voice type ‘WaveNet’.
You can also choose the language by specifying the language code.
ja
for Japanese, de
for German, etc.
client.say('你好', voice='cmn-TW-Wavenet-A')
client.say('Hallo', voice='de')
For roseus users
$ roseus
(load "package://pr2eus/speak.l")
(ros::roseus "say_node")
(speak "JSKへようこそ。" :lang "ja-JP-Wavenet-B" :wait t)
(speak "Welcome to JSK." :lang "en-US-Wavenet-A" :wait t)
(speak "欢迎来到 JSK" :lang "cmn-TW-Wavenet-A" :wait t)
(speak "Willkommen bei JSK" :lang "de-DE-Wavenet-A" :wait t)
Tips
By default, generated audio files are stored at $HOME/.ros/google_cloud_texttospeech/cache
.
If you want to change the cache directory, please set GOOGLE_CLOUD_TEXTTOSPEECH_CACHE_DIR
as an environment variable.
If you don’t want to cache the files, please set GOOGLE_CLOUD_TEXTTOSPEECH_CACHE_ENABLED=false
.
Changelog for package google_cloud_texttospeech
2.1.31 (2025-05-13)
2.1.30 (2025-05-10)
2.1.29 (2025-01-05)
2.1.28 (2023-07-24)
2.1.27 (2023-06-24)
2.1.26 (2023-06-14)
- add LICENSE files (#476)
- Contributors: Kei Okada
2.1.25 (2023-06-08)
- [google_cloud_texttospeech] Add cache option (#267)
- Contributors: Kei Okada, Iory Yanokura
2.1.24 (2021-07-26)
2.1.23 (2021-07-21)
- [google_cloud_texttospeech] Fixed for 2.0.0 and later versions. (#266)
- [google_cloud_texttospeech] Support multiple languages. (#269)
- Contributors: Iory Yanokura
2.1.22 (2021-06-10)
- add google_cloud_texttospeech packagef( #218)
- Contributors: Shingo Kitagawa, Shun Hasegawa
2.1.21 (2020-08-19)
2.1.20 (2020-08-07)
2.1.19 (2020-07-21)
2.1.18 (2020-07-20)
2.1.17 (2020-04-16 21:51)
2.1.16 (2020-04-16 15:21)
2.1.15 (2019-12-12)
2.1.14 (2019-11-21)
2.1.13 (2019-07-10)
2.1.12 (2019-05-25)
2.1.11 (2018-08-29)
2.1.10 (2018-04-25)
2.1.9 (2018-04-24)
2.1.8 (2018-04-17)
2.1.7 (2018-04-09)
2.1.6 (2017-11-21)
2.1.5 (2017-11-20)
2.1.4 (2017-07-16)
2.1.3 (2017-07-07)
2.1.2 (2017-07-06)
2.1.1 (2017-07-05)
2.1.0 (2017-07-02)
2.0.20 (2017-05-09)
2.0.19 (2017-02-22)
2.0.18 (2016-10-28)
2.0.17 (2016-10-22)
2.0.16 (2016-10-17)
2.0.15 (2016-10-16)
2.0.14 (2016-03-20)
2.0.13 (2015-12-15)
File truncated at 100 lines see the full file
Wiki Tutorials
Dependant Packages
Name | Deps |
---|---|
jsk_3rdparty |
Launch files
- launch/google_cloud_texttospeech.launch
-
- sound_play_machine [default: localhost] — Machine to run sound_play node (default: localhost)
- sound_play_respawn [default: true] — Respawn sound_play node or not (default: true)
- credential [default: $(optenv GOOGLE_APPLICATION_CREDENTIALS /etc/opt/jsk/robot/google-speech-recognition.json)] — Credential json path for Google Cloud Text-to-Speech (default: $GOOGLE_APPLICATION_CREDENTIALS or /etc/opt/jsk/robot/google-speech-recognition.json)
- use_english [default: true] — Use Google Cloud Text-to-Speech for English or not (default: true)
- use_japanese [default: true] — Use Google Cloud Text-to-Speech for Japanese or not (default: true)
- english_speed [default: 100] — English speaking speed (default: 100)
- japanese_speed [default: 100] — Japanese speaking speed (default: 100)
- cache [default: $(optenv GOOGLE_CLOUD_TEXTTOSPEECH_CACHE_ENABLED true)] — Cache generated sound file (default: true)
Messages
Services
Plugins
Recent questions tagged google_cloud_texttospeech at Robotics Stack Exchange
Package Summary
Tags | No category tags. |
Version | 2.1.31 |
License | BSD |
Build type | CATKIN |
Use | RECOMMENDED |
Repository Summary
Checkout URI | https://github.com/jsk-ros-pkg/jsk_3rdparty.git |
VCS Type | git |
VCS Version | master |
Last Updated | 2025-05-13 |
Dev Status | DEVELOPED |
CI status | No Continuous Integration |
Released | RELEASED |
Tags | No category tags. |
Contributing |
Help Wanted (0)
Good First Issues (0) Pull Requests to Review (0) |
Package Description
Additional Links
Maintainers
- Shingo Kitagawa
Authors
- Hideaki Ito
google_cloud_texttospeech
ROS Interface for Google Cloud Text-to-Speech
Preparation
- Register Google Cloud Text-to-Speech API
- Put the credential json for Google Cloud Text-to-Speech API in your robot
Installation
For python2.7, you need to use google-cloud-texttospeech==1.0.1
.
sudo pip install google-cloud-texttospeech==1.0.1
Usage
Launch sound_play with Google Cloud Text-to-Speech
roslaunch google_cloud_texttospeech google_cloud_texttospeech.launch credential:=/your/credential/json/path
Say something
For python users
import rospy
from sound_play.libsoundplay import SoundClient
rospy.init_node('say_node')
client = SoundClient(sound_action='robotsound', sound_topic='robotsound')
client.say('hello!')
client.say('こんにちは', voice='ja')
You can change the voice by changing the voice_name. Look at the following website for further details. Google Cloud Text-to-Speech Supported voices and languages
We can use standard and WaveNet voices. WaveNet voices are higher quality voices with different pricing; in the list, they have the voice type ‘WaveNet’.
You can also choose the language by specifying the language code.
ja
for Japanese, de
for German, etc.
client.say('你好', voice='cmn-TW-Wavenet-A')
client.say('Hallo', voice='de')
For roseus users
$ roseus
(load "package://pr2eus/speak.l")
(ros::roseus "say_node")
(speak "JSKへようこそ。" :lang "ja-JP-Wavenet-B" :wait t)
(speak "Welcome to JSK." :lang "en-US-Wavenet-A" :wait t)
(speak "欢迎来到 JSK" :lang "cmn-TW-Wavenet-A" :wait t)
(speak "Willkommen bei JSK" :lang "de-DE-Wavenet-A" :wait t)
Tips
By default, generated audio files are stored at $HOME/.ros/google_cloud_texttospeech/cache
.
If you want to change the cache directory, please set GOOGLE_CLOUD_TEXTTOSPEECH_CACHE_DIR
as an environment variable.
If you don’t want to cache the files, please set GOOGLE_CLOUD_TEXTTOSPEECH_CACHE_ENABLED=false
.
Changelog for package google_cloud_texttospeech
2.1.31 (2025-05-13)
2.1.30 (2025-05-10)
2.1.29 (2025-01-05)
2.1.28 (2023-07-24)
2.1.27 (2023-06-24)
2.1.26 (2023-06-14)
- add LICENSE files (#476)
- Contributors: Kei Okada
2.1.25 (2023-06-08)
- [google_cloud_texttospeech] Add cache option (#267)
- Contributors: Kei Okada, Iory Yanokura
2.1.24 (2021-07-26)
2.1.23 (2021-07-21)
- [google_cloud_texttospeech] Fixed for 2.0.0 and later versions. (#266)
- [google_cloud_texttospeech] Support multiple languages. (#269)
- Contributors: Iory Yanokura
2.1.22 (2021-06-10)
- add google_cloud_texttospeech packagef( #218)
- Contributors: Shingo Kitagawa, Shun Hasegawa
2.1.21 (2020-08-19)
2.1.20 (2020-08-07)
2.1.19 (2020-07-21)
2.1.18 (2020-07-20)
2.1.17 (2020-04-16 21:51)
2.1.16 (2020-04-16 15:21)
2.1.15 (2019-12-12)
2.1.14 (2019-11-21)
2.1.13 (2019-07-10)
2.1.12 (2019-05-25)
2.1.11 (2018-08-29)
2.1.10 (2018-04-25)
2.1.9 (2018-04-24)
2.1.8 (2018-04-17)
2.1.7 (2018-04-09)
2.1.6 (2017-11-21)
2.1.5 (2017-11-20)
2.1.4 (2017-07-16)
2.1.3 (2017-07-07)
2.1.2 (2017-07-06)
2.1.1 (2017-07-05)
2.1.0 (2017-07-02)
2.0.20 (2017-05-09)
2.0.19 (2017-02-22)
2.0.18 (2016-10-28)
2.0.17 (2016-10-22)
2.0.16 (2016-10-17)
2.0.15 (2016-10-16)
2.0.14 (2016-03-20)
2.0.13 (2015-12-15)
File truncated at 100 lines see the full file
Wiki Tutorials
Dependant Packages
Name | Deps |
---|---|
jsk_3rdparty |
Launch files
- launch/google_cloud_texttospeech.launch
-
- sound_play_machine [default: localhost] — Machine to run sound_play node (default: localhost)
- sound_play_respawn [default: true] — Respawn sound_play node or not (default: true)
- credential [default: $(optenv GOOGLE_APPLICATION_CREDENTIALS /etc/opt/jsk/robot/google-speech-recognition.json)] — Credential json path for Google Cloud Text-to-Speech (default: $GOOGLE_APPLICATION_CREDENTIALS or /etc/opt/jsk/robot/google-speech-recognition.json)
- use_english [default: true] — Use Google Cloud Text-to-Speech for English or not (default: true)
- use_japanese [default: true] — Use Google Cloud Text-to-Speech for Japanese or not (default: true)
- english_speed [default: 100] — English speaking speed (default: 100)
- japanese_speed [default: 100] — Japanese speaking speed (default: 100)
- cache [default: $(optenv GOOGLE_CLOUD_TEXTTOSPEECH_CACHE_ENABLED true)] — Cache generated sound file (default: true)
Messages
Services
Plugins
Recent questions tagged google_cloud_texttospeech at Robotics Stack Exchange
Package Summary
Tags | No category tags. |
Version | 2.1.31 |
License | BSD |
Build type | CATKIN |
Use | RECOMMENDED |
Repository Summary
Checkout URI | https://github.com/jsk-ros-pkg/jsk_3rdparty.git |
VCS Type | git |
VCS Version | master |
Last Updated | 2025-05-13 |
Dev Status | DEVELOPED |
CI status | No Continuous Integration |
Released | RELEASED |
Tags | No category tags. |
Contributing |
Help Wanted (0)
Good First Issues (0) Pull Requests to Review (0) |
Package Description
Additional Links
Maintainers
- Shingo Kitagawa
Authors
- Hideaki Ito
google_cloud_texttospeech
ROS Interface for Google Cloud Text-to-Speech
Preparation
- Register Google Cloud Text-to-Speech API
- Put the credential json for Google Cloud Text-to-Speech API in your robot
Installation
For python2.7, you need to use google-cloud-texttospeech==1.0.1
.
sudo pip install google-cloud-texttospeech==1.0.1
Usage
Launch sound_play with Google Cloud Text-to-Speech
roslaunch google_cloud_texttospeech google_cloud_texttospeech.launch credential:=/your/credential/json/path
Say something
For python users
import rospy
from sound_play.libsoundplay import SoundClient
rospy.init_node('say_node')
client = SoundClient(sound_action='robotsound', sound_topic='robotsound')
client.say('hello!')
client.say('こんにちは', voice='ja')
You can change the voice by changing the voice_name. Look at the following website for further details. Google Cloud Text-to-Speech Supported voices and languages
We can use standard and WaveNet voices. WaveNet voices are higher quality voices with different pricing; in the list, they have the voice type ‘WaveNet’.
You can also choose the language by specifying the language code.
ja
for Japanese, de
for German, etc.
client.say('你好', voice='cmn-TW-Wavenet-A')
client.say('Hallo', voice='de')
For roseus users
$ roseus
(load "package://pr2eus/speak.l")
(ros::roseus "say_node")
(speak "JSKへようこそ。" :lang "ja-JP-Wavenet-B" :wait t)
(speak "Welcome to JSK." :lang "en-US-Wavenet-A" :wait t)
(speak "欢迎来到 JSK" :lang "cmn-TW-Wavenet-A" :wait t)
(speak "Willkommen bei JSK" :lang "de-DE-Wavenet-A" :wait t)
Tips
By default, generated audio files are stored at $HOME/.ros/google_cloud_texttospeech/cache
.
If you want to change the cache directory, please set GOOGLE_CLOUD_TEXTTOSPEECH_CACHE_DIR
as an environment variable.
If you don’t want to cache the files, please set GOOGLE_CLOUD_TEXTTOSPEECH_CACHE_ENABLED=false
.
Changelog for package google_cloud_texttospeech
2.1.31 (2025-05-13)
2.1.30 (2025-05-10)
2.1.29 (2025-01-05)
2.1.28 (2023-07-24)
2.1.27 (2023-06-24)
2.1.26 (2023-06-14)
- add LICENSE files (#476)
- Contributors: Kei Okada
2.1.25 (2023-06-08)
- [google_cloud_texttospeech] Add cache option (#267)
- Contributors: Kei Okada, Iory Yanokura
2.1.24 (2021-07-26)
2.1.23 (2021-07-21)
- [google_cloud_texttospeech] Fixed for 2.0.0 and later versions. (#266)
- [google_cloud_texttospeech] Support multiple languages. (#269)
- Contributors: Iory Yanokura
2.1.22 (2021-06-10)
- add google_cloud_texttospeech packagef( #218)
- Contributors: Shingo Kitagawa, Shun Hasegawa
2.1.21 (2020-08-19)
2.1.20 (2020-08-07)
2.1.19 (2020-07-21)
2.1.18 (2020-07-20)
2.1.17 (2020-04-16 21:51)
2.1.16 (2020-04-16 15:21)
2.1.15 (2019-12-12)
2.1.14 (2019-11-21)
2.1.13 (2019-07-10)
2.1.12 (2019-05-25)
2.1.11 (2018-08-29)
2.1.10 (2018-04-25)
2.1.9 (2018-04-24)
2.1.8 (2018-04-17)
2.1.7 (2018-04-09)
2.1.6 (2017-11-21)
2.1.5 (2017-11-20)
2.1.4 (2017-07-16)
2.1.3 (2017-07-07)
2.1.2 (2017-07-06)
2.1.1 (2017-07-05)
2.1.0 (2017-07-02)
2.0.20 (2017-05-09)
2.0.19 (2017-02-22)
2.0.18 (2016-10-28)
2.0.17 (2016-10-22)
2.0.16 (2016-10-17)
2.0.15 (2016-10-16)
2.0.14 (2016-03-20)
2.0.13 (2015-12-15)
File truncated at 100 lines see the full file
Wiki Tutorials
Dependant Packages
Name | Deps |
---|---|
jsk_3rdparty |
Launch files
- launch/google_cloud_texttospeech.launch
-
- sound_play_machine [default: localhost] — Machine to run sound_play node (default: localhost)
- sound_play_respawn [default: true] — Respawn sound_play node or not (default: true)
- credential [default: $(optenv GOOGLE_APPLICATION_CREDENTIALS /etc/opt/jsk/robot/google-speech-recognition.json)] — Credential json path for Google Cloud Text-to-Speech (default: $GOOGLE_APPLICATION_CREDENTIALS or /etc/opt/jsk/robot/google-speech-recognition.json)
- use_english [default: true] — Use Google Cloud Text-to-Speech for English or not (default: true)
- use_japanese [default: true] — Use Google Cloud Text-to-Speech for Japanese or not (default: true)
- english_speed [default: 100] — English speaking speed (default: 100)
- japanese_speed [default: 100] — Japanese speaking speed (default: 100)
- cache [default: $(optenv GOOGLE_CLOUD_TEXTTOSPEECH_CACHE_ENABLED true)] — Cache generated sound file (default: true)
Messages
Services
Plugins
Recent questions tagged google_cloud_texttospeech at Robotics Stack Exchange
Package Summary
Tags | No category tags. |
Version | 2.1.31 |
License | BSD |
Build type | CATKIN |
Use | RECOMMENDED |
Repository Summary
Checkout URI | https://github.com/jsk-ros-pkg/jsk_3rdparty.git |
VCS Type | git |
VCS Version | master |
Last Updated | 2025-05-13 |
Dev Status | DEVELOPED |
CI status | No Continuous Integration |
Released | RELEASED |
Tags | No category tags. |
Contributing |
Help Wanted (0)
Good First Issues (0) Pull Requests to Review (0) |
Package Description
Additional Links
Maintainers
- Shingo Kitagawa
Authors
- Hideaki Ito
google_cloud_texttospeech
ROS Interface for Google Cloud Text-to-Speech
Preparation
- Register Google Cloud Text-to-Speech API
- Put the credential json for Google Cloud Text-to-Speech API in your robot
Installation
For python2.7, you need to use google-cloud-texttospeech==1.0.1
.
sudo pip install google-cloud-texttospeech==1.0.1
Usage
Launch sound_play with Google Cloud Text-to-Speech
roslaunch google_cloud_texttospeech google_cloud_texttospeech.launch credential:=/your/credential/json/path
Say something
For python users
import rospy
from sound_play.libsoundplay import SoundClient
rospy.init_node('say_node')
client = SoundClient(sound_action='robotsound', sound_topic='robotsound')
client.say('hello!')
client.say('こんにちは', voice='ja')
You can change the voice by changing the voice_name. Look at the following website for further details. Google Cloud Text-to-Speech Supported voices and languages
We can use standard and WaveNet voices. WaveNet voices are higher quality voices with different pricing; in the list, they have the voice type ‘WaveNet’.
You can also choose the language by specifying the language code.
ja
for Japanese, de
for German, etc.
client.say('你好', voice='cmn-TW-Wavenet-A')
client.say('Hallo', voice='de')
For roseus users
$ roseus
(load "package://pr2eus/speak.l")
(ros::roseus "say_node")
(speak "JSKへようこそ。" :lang "ja-JP-Wavenet-B" :wait t)
(speak "Welcome to JSK." :lang "en-US-Wavenet-A" :wait t)
(speak "欢迎来到 JSK" :lang "cmn-TW-Wavenet-A" :wait t)
(speak "Willkommen bei JSK" :lang "de-DE-Wavenet-A" :wait t)
Tips
By default, generated audio files are stored at $HOME/.ros/google_cloud_texttospeech/cache
.
If you want to change the cache directory, please set GOOGLE_CLOUD_TEXTTOSPEECH_CACHE_DIR
as an environment variable.
If you don’t want to cache the files, please set GOOGLE_CLOUD_TEXTTOSPEECH_CACHE_ENABLED=false
.
Changelog for package google_cloud_texttospeech
2.1.31 (2025-05-13)
2.1.30 (2025-05-10)
2.1.29 (2025-01-05)
2.1.28 (2023-07-24)
2.1.27 (2023-06-24)
2.1.26 (2023-06-14)
- add LICENSE files (#476)
- Contributors: Kei Okada
2.1.25 (2023-06-08)
- [google_cloud_texttospeech] Add cache option (#267)
- Contributors: Kei Okada, Iory Yanokura
2.1.24 (2021-07-26)
2.1.23 (2021-07-21)
- [google_cloud_texttospeech] Fixed for 2.0.0 and later versions. (#266)
- [google_cloud_texttospeech] Support multiple languages. (#269)
- Contributors: Iory Yanokura
2.1.22 (2021-06-10)
- add google_cloud_texttospeech packagef( #218)
- Contributors: Shingo Kitagawa, Shun Hasegawa
2.1.21 (2020-08-19)
2.1.20 (2020-08-07)
2.1.19 (2020-07-21)
2.1.18 (2020-07-20)
2.1.17 (2020-04-16 21:51)
2.1.16 (2020-04-16 15:21)
2.1.15 (2019-12-12)
2.1.14 (2019-11-21)
2.1.13 (2019-07-10)
2.1.12 (2019-05-25)
2.1.11 (2018-08-29)
2.1.10 (2018-04-25)
2.1.9 (2018-04-24)
2.1.8 (2018-04-17)
2.1.7 (2018-04-09)
2.1.6 (2017-11-21)
2.1.5 (2017-11-20)
2.1.4 (2017-07-16)
2.1.3 (2017-07-07)
2.1.2 (2017-07-06)
2.1.1 (2017-07-05)
2.1.0 (2017-07-02)
2.0.20 (2017-05-09)
2.0.19 (2017-02-22)
2.0.18 (2016-10-28)
2.0.17 (2016-10-22)
2.0.16 (2016-10-17)
2.0.15 (2016-10-16)
2.0.14 (2016-03-20)
2.0.13 (2015-12-15)
File truncated at 100 lines see the full file
Wiki Tutorials
Dependant Packages
Name | Deps |
---|---|
jsk_3rdparty |
Launch files
- launch/google_cloud_texttospeech.launch
-
- sound_play_machine [default: localhost] — Machine to run sound_play node (default: localhost)
- sound_play_respawn [default: true] — Respawn sound_play node or not (default: true)
- credential [default: $(optenv GOOGLE_APPLICATION_CREDENTIALS /etc/opt/jsk/robot/google-speech-recognition.json)] — Credential json path for Google Cloud Text-to-Speech (default: $GOOGLE_APPLICATION_CREDENTIALS or /etc/opt/jsk/robot/google-speech-recognition.json)
- use_english [default: true] — Use Google Cloud Text-to-Speech for English or not (default: true)
- use_japanese [default: true] — Use Google Cloud Text-to-Speech for Japanese or not (default: true)
- english_speed [default: 100] — English speaking speed (default: 100)
- japanese_speed [default: 100] — Japanese speaking speed (default: 100)
- cache [default: $(optenv GOOGLE_CLOUD_TEXTTOSPEECH_CACHE_ENABLED true)] — Cache generated sound file (default: true)
Messages
Services
Plugins
Recent questions tagged google_cloud_texttospeech at Robotics Stack Exchange
Package Summary
Tags | No category tags. |
Version | 2.1.31 |
License | BSD |
Build type | CATKIN |
Use | RECOMMENDED |
Repository Summary
Checkout URI | https://github.com/jsk-ros-pkg/jsk_3rdparty.git |
VCS Type | git |
VCS Version | master |
Last Updated | 2025-05-13 |
Dev Status | DEVELOPED |
CI status | No Continuous Integration |
Released | RELEASED |
Tags | No category tags. |
Contributing |
Help Wanted (0)
Good First Issues (0) Pull Requests to Review (0) |
Package Description
Additional Links
Maintainers
- Shingo Kitagawa
Authors
- Hideaki Ito
google_cloud_texttospeech
ROS Interface for Google Cloud Text-to-Speech
Preparation
- Register Google Cloud Text-to-Speech API
- Put the credential json for Google Cloud Text-to-Speech API in your robot
Installation
For python2.7, you need to use google-cloud-texttospeech==1.0.1
.
sudo pip install google-cloud-texttospeech==1.0.1
Usage
Launch sound_play with Google Cloud Text-to-Speech
roslaunch google_cloud_texttospeech google_cloud_texttospeech.launch credential:=/your/credential/json/path
Say something
For python users
import rospy
from sound_play.libsoundplay import SoundClient
rospy.init_node('say_node')
client = SoundClient(sound_action='robotsound', sound_topic='robotsound')
client.say('hello!')
client.say('こんにちは', voice='ja')
You can change the voice by changing the voice_name. Look at the following website for further details. Google Cloud Text-to-Speech Supported voices and languages
We can use standard and WaveNet voices. WaveNet voices are higher quality voices with different pricing; in the list, they have the voice type ‘WaveNet’.
You can also choose the language by specifying the language code.
ja
for Japanese, de
for German, etc.
client.say('你好', voice='cmn-TW-Wavenet-A')
client.say('Hallo', voice='de')
For roseus users
$ roseus
(load "package://pr2eus/speak.l")
(ros::roseus "say_node")
(speak "JSKへようこそ。" :lang "ja-JP-Wavenet-B" :wait t)
(speak "Welcome to JSK." :lang "en-US-Wavenet-A" :wait t)
(speak "欢迎来到 JSK" :lang "cmn-TW-Wavenet-A" :wait t)
(speak "Willkommen bei JSK" :lang "de-DE-Wavenet-A" :wait t)
Tips
By default, generated audio files are stored at $HOME/.ros/google_cloud_texttospeech/cache
.
If you want to change the cache directory, please set GOOGLE_CLOUD_TEXTTOSPEECH_CACHE_DIR
as an environment variable.
If you don’t want to cache the files, please set GOOGLE_CLOUD_TEXTTOSPEECH_CACHE_ENABLED=false
.
Changelog for package google_cloud_texttospeech
2.1.31 (2025-05-13)
2.1.30 (2025-05-10)
2.1.29 (2025-01-05)
2.1.28 (2023-07-24)
2.1.27 (2023-06-24)
2.1.26 (2023-06-14)
- add LICENSE files (#476)
- Contributors: Kei Okada
2.1.25 (2023-06-08)
- [google_cloud_texttospeech] Add cache option (#267)
- Contributors: Kei Okada, Iory Yanokura
2.1.24 (2021-07-26)
2.1.23 (2021-07-21)
- [google_cloud_texttospeech] Fixed for 2.0.0 and later versions. (#266)
- [google_cloud_texttospeech] Support multiple languages. (#269)
- Contributors: Iory Yanokura
2.1.22 (2021-06-10)
- add google_cloud_texttospeech packagef( #218)
- Contributors: Shingo Kitagawa, Shun Hasegawa
2.1.21 (2020-08-19)
2.1.20 (2020-08-07)
2.1.19 (2020-07-21)
2.1.18 (2020-07-20)
2.1.17 (2020-04-16 21:51)
2.1.16 (2020-04-16 15:21)
2.1.15 (2019-12-12)
2.1.14 (2019-11-21)
2.1.13 (2019-07-10)
2.1.12 (2019-05-25)
2.1.11 (2018-08-29)
2.1.10 (2018-04-25)
2.1.9 (2018-04-24)
2.1.8 (2018-04-17)
2.1.7 (2018-04-09)
2.1.6 (2017-11-21)
2.1.5 (2017-11-20)
2.1.4 (2017-07-16)
2.1.3 (2017-07-07)
2.1.2 (2017-07-06)
2.1.1 (2017-07-05)
2.1.0 (2017-07-02)
2.0.20 (2017-05-09)
2.0.19 (2017-02-22)
2.0.18 (2016-10-28)
2.0.17 (2016-10-22)
2.0.16 (2016-10-17)
2.0.15 (2016-10-16)
2.0.14 (2016-03-20)
2.0.13 (2015-12-15)
File truncated at 100 lines see the full file
Wiki Tutorials
Dependant Packages
Name | Deps |
---|---|
jsk_3rdparty |
Launch files
- launch/google_cloud_texttospeech.launch
-
- sound_play_machine [default: localhost] — Machine to run sound_play node (default: localhost)
- sound_play_respawn [default: true] — Respawn sound_play node or not (default: true)
- credential [default: $(optenv GOOGLE_APPLICATION_CREDENTIALS /etc/opt/jsk/robot/google-speech-recognition.json)] — Credential json path for Google Cloud Text-to-Speech (default: $GOOGLE_APPLICATION_CREDENTIALS or /etc/opt/jsk/robot/google-speech-recognition.json)
- use_english [default: true] — Use Google Cloud Text-to-Speech for English or not (default: true)
- use_japanese [default: true] — Use Google Cloud Text-to-Speech for Japanese or not (default: true)
- english_speed [default: 100] — English speaking speed (default: 100)
- japanese_speed [default: 100] — Japanese speaking speed (default: 100)
- cache [default: $(optenv GOOGLE_CLOUD_TEXTTOSPEECH_CACHE_ENABLED true)] — Cache generated sound file (default: true)
Messages
Services
Plugins
Recent questions tagged google_cloud_texttospeech at Robotics Stack Exchange
Package Summary
Tags | No category tags. |
Version | 2.1.31 |
License | BSD |
Build type | CATKIN |
Use | RECOMMENDED |
Repository Summary
Checkout URI | https://github.com/jsk-ros-pkg/jsk_3rdparty.git |
VCS Type | git |
VCS Version | master |
Last Updated | 2025-05-13 |
Dev Status | DEVELOPED |
CI status | No Continuous Integration |
Released | RELEASED |
Tags | No category tags. |
Contributing |
Help Wanted (0)
Good First Issues (0) Pull Requests to Review (0) |
Package Description
Additional Links
Maintainers
- Shingo Kitagawa
Authors
- Hideaki Ito
google_cloud_texttospeech
ROS Interface for Google Cloud Text-to-Speech
Preparation
- Register Google Cloud Text-to-Speech API
- Put the credential json for Google Cloud Text-to-Speech API in your robot
Installation
For python2.7, you need to use google-cloud-texttospeech==1.0.1
.
sudo pip install google-cloud-texttospeech==1.0.1
Usage
Launch sound_play with Google Cloud Text-to-Speech
roslaunch google_cloud_texttospeech google_cloud_texttospeech.launch credential:=/your/credential/json/path
Say something
For python users
import rospy
from sound_play.libsoundplay import SoundClient
rospy.init_node('say_node')
client = SoundClient(sound_action='robotsound', sound_topic='robotsound')
client.say('hello!')
client.say('こんにちは', voice='ja')
You can change the voice by changing the voice_name. Look at the following website for further details. Google Cloud Text-to-Speech Supported voices and languages
We can use standard and WaveNet voices. WaveNet voices are higher quality voices with different pricing; in the list, they have the voice type ‘WaveNet’.
You can also choose the language by specifying the language code.
ja
for Japanese, de
for German, etc.
client.say('你好', voice='cmn-TW-Wavenet-A')
client.say('Hallo', voice='de')
For roseus users
$ roseus
(load "package://pr2eus/speak.l")
(ros::roseus "say_node")
(speak "JSKへようこそ。" :lang "ja-JP-Wavenet-B" :wait t)
(speak "Welcome to JSK." :lang "en-US-Wavenet-A" :wait t)
(speak "欢迎来到 JSK" :lang "cmn-TW-Wavenet-A" :wait t)
(speak "Willkommen bei JSK" :lang "de-DE-Wavenet-A" :wait t)
Tips
By default, generated audio files are stored at $HOME/.ros/google_cloud_texttospeech/cache
.
If you want to change the cache directory, please set GOOGLE_CLOUD_TEXTTOSPEECH_CACHE_DIR
as an environment variable.
If you don’t want to cache the files, please set GOOGLE_CLOUD_TEXTTOSPEECH_CACHE_ENABLED=false
.
Changelog for package google_cloud_texttospeech
2.1.31 (2025-05-13)
2.1.30 (2025-05-10)
2.1.29 (2025-01-05)
2.1.28 (2023-07-24)
2.1.27 (2023-06-24)
2.1.26 (2023-06-14)
- add LICENSE files (#476)
- Contributors: Kei Okada
2.1.25 (2023-06-08)
- [google_cloud_texttospeech] Add cache option (#267)
- Contributors: Kei Okada, Iory Yanokura
2.1.24 (2021-07-26)
2.1.23 (2021-07-21)
- [google_cloud_texttospeech] Fixed for 2.0.0 and later versions. (#266)
- [google_cloud_texttospeech] Support multiple languages. (#269)
- Contributors: Iory Yanokura
2.1.22 (2021-06-10)
- add google_cloud_texttospeech packagef( #218)
- Contributors: Shingo Kitagawa, Shun Hasegawa
2.1.21 (2020-08-19)
2.1.20 (2020-08-07)
2.1.19 (2020-07-21)
2.1.18 (2020-07-20)
2.1.17 (2020-04-16 21:51)
2.1.16 (2020-04-16 15:21)
2.1.15 (2019-12-12)
2.1.14 (2019-11-21)
2.1.13 (2019-07-10)
2.1.12 (2019-05-25)
2.1.11 (2018-08-29)
2.1.10 (2018-04-25)
2.1.9 (2018-04-24)
2.1.8 (2018-04-17)
2.1.7 (2018-04-09)
2.1.6 (2017-11-21)
2.1.5 (2017-11-20)
2.1.4 (2017-07-16)
2.1.3 (2017-07-07)
2.1.2 (2017-07-06)
2.1.1 (2017-07-05)
2.1.0 (2017-07-02)
2.0.20 (2017-05-09)
2.0.19 (2017-02-22)
2.0.18 (2016-10-28)
2.0.17 (2016-10-22)
2.0.16 (2016-10-17)
2.0.15 (2016-10-16)
2.0.14 (2016-03-20)
2.0.13 (2015-12-15)
File truncated at 100 lines see the full file
Wiki Tutorials
Dependant Packages
Name | Deps |
---|---|
jsk_3rdparty |
Launch files
- launch/google_cloud_texttospeech.launch
-
- sound_play_machine [default: localhost] — Machine to run sound_play node (default: localhost)
- sound_play_respawn [default: true] — Respawn sound_play node or not (default: true)
- credential [default: $(optenv GOOGLE_APPLICATION_CREDENTIALS /etc/opt/jsk/robot/google-speech-recognition.json)] — Credential json path for Google Cloud Text-to-Speech (default: $GOOGLE_APPLICATION_CREDENTIALS or /etc/opt/jsk/robot/google-speech-recognition.json)
- use_english [default: true] — Use Google Cloud Text-to-Speech for English or not (default: true)
- use_japanese [default: true] — Use Google Cloud Text-to-Speech for Japanese or not (default: true)
- english_speed [default: 100] — English speaking speed (default: 100)
- japanese_speed [default: 100] — Japanese speaking speed (default: 100)
- cache [default: $(optenv GOOGLE_CLOUD_TEXTTOSPEECH_CACHE_ENABLED true)] — Cache generated sound file (default: true)
Messages
Services
Plugins
Recent questions tagged google_cloud_texttospeech at Robotics Stack Exchange
Package Summary
Tags | No category tags. |
Version | 2.1.31 |
License | BSD |
Build type | CATKIN |
Use | RECOMMENDED |
Repository Summary
Checkout URI | https://github.com/jsk-ros-pkg/jsk_3rdparty.git |
VCS Type | git |
VCS Version | master |
Last Updated | 2025-05-13 |
Dev Status | DEVELOPED |
CI status | No Continuous Integration |
Released | RELEASED |
Tags | No category tags. |
Contributing |
Help Wanted (0)
Good First Issues (0) Pull Requests to Review (0) |
Package Description
Additional Links
Maintainers
- Shingo Kitagawa
Authors
- Hideaki Ito
google_cloud_texttospeech
ROS Interface for Google Cloud Text-to-Speech
Preparation
- Register Google Cloud Text-to-Speech API
- Put the credential json for Google Cloud Text-to-Speech API in your robot
Installation
For python2.7, you need to use google-cloud-texttospeech==1.0.1
.
sudo pip install google-cloud-texttospeech==1.0.1
Usage
Launch sound_play with Google Cloud Text-to-Speech
roslaunch google_cloud_texttospeech google_cloud_texttospeech.launch credential:=/your/credential/json/path
Say something
For python users
import rospy
from sound_play.libsoundplay import SoundClient
rospy.init_node('say_node')
client = SoundClient(sound_action='robotsound', sound_topic='robotsound')
client.say('hello!')
client.say('こんにちは', voice='ja')
You can change the voice by changing the voice_name. Look at the following website for further details. Google Cloud Text-to-Speech Supported voices and languages
We can use standard and WaveNet voices. WaveNet voices are higher quality voices with different pricing; in the list, they have the voice type ‘WaveNet’.
You can also choose the language by specifying the language code.
ja
for Japanese, de
for German, etc.
client.say('你好', voice='cmn-TW-Wavenet-A')
client.say('Hallo', voice='de')
For roseus users
$ roseus
(load "package://pr2eus/speak.l")
(ros::roseus "say_node")
(speak "JSKへようこそ。" :lang "ja-JP-Wavenet-B" :wait t)
(speak "Welcome to JSK." :lang "en-US-Wavenet-A" :wait t)
(speak "欢迎来到 JSK" :lang "cmn-TW-Wavenet-A" :wait t)
(speak "Willkommen bei JSK" :lang "de-DE-Wavenet-A" :wait t)
Tips
By default, generated audio files are stored at $HOME/.ros/google_cloud_texttospeech/cache
.
If you want to change the cache directory, please set GOOGLE_CLOUD_TEXTTOSPEECH_CACHE_DIR
as an environment variable.
If you don’t want to cache the files, please set GOOGLE_CLOUD_TEXTTOSPEECH_CACHE_ENABLED=false
.
Changelog for package google_cloud_texttospeech
2.1.31 (2025-05-13)
2.1.30 (2025-05-10)
2.1.29 (2025-01-05)
2.1.28 (2023-07-24)
2.1.27 (2023-06-24)
2.1.26 (2023-06-14)
- add LICENSE files (#476)
- Contributors: Kei Okada
2.1.25 (2023-06-08)
- [google_cloud_texttospeech] Add cache option (#267)
- Contributors: Kei Okada, Iory Yanokura
2.1.24 (2021-07-26)
2.1.23 (2021-07-21)
- [google_cloud_texttospeech] Fixed for 2.0.0 and later versions. (#266)
- [google_cloud_texttospeech] Support multiple languages. (#269)
- Contributors: Iory Yanokura
2.1.22 (2021-06-10)
- add google_cloud_texttospeech packagef( #218)
- Contributors: Shingo Kitagawa, Shun Hasegawa
2.1.21 (2020-08-19)
2.1.20 (2020-08-07)
2.1.19 (2020-07-21)
2.1.18 (2020-07-20)
2.1.17 (2020-04-16 21:51)
2.1.16 (2020-04-16 15:21)
2.1.15 (2019-12-12)
2.1.14 (2019-11-21)
2.1.13 (2019-07-10)
2.1.12 (2019-05-25)
2.1.11 (2018-08-29)
2.1.10 (2018-04-25)
2.1.9 (2018-04-24)
2.1.8 (2018-04-17)
2.1.7 (2018-04-09)
2.1.6 (2017-11-21)
2.1.5 (2017-11-20)
2.1.4 (2017-07-16)
2.1.3 (2017-07-07)
2.1.2 (2017-07-06)
2.1.1 (2017-07-05)
2.1.0 (2017-07-02)
2.0.20 (2017-05-09)
2.0.19 (2017-02-22)
2.0.18 (2016-10-28)
2.0.17 (2016-10-22)
2.0.16 (2016-10-17)
2.0.15 (2016-10-16)
2.0.14 (2016-03-20)
2.0.13 (2015-12-15)
File truncated at 100 lines see the full file
Wiki Tutorials
Dependant Packages
Name | Deps |
---|---|
jsk_3rdparty |
Launch files
- launch/google_cloud_texttospeech.launch
-
- sound_play_machine [default: localhost] — Machine to run sound_play node (default: localhost)
- sound_play_respawn [default: true] — Respawn sound_play node or not (default: true)
- credential [default: $(optenv GOOGLE_APPLICATION_CREDENTIALS /etc/opt/jsk/robot/google-speech-recognition.json)] — Credential json path for Google Cloud Text-to-Speech (default: $GOOGLE_APPLICATION_CREDENTIALS or /etc/opt/jsk/robot/google-speech-recognition.json)
- use_english [default: true] — Use Google Cloud Text-to-Speech for English or not (default: true)
- use_japanese [default: true] — Use Google Cloud Text-to-Speech for Japanese or not (default: true)
- english_speed [default: 100] — English speaking speed (default: 100)
- japanese_speed [default: 100] — Japanese speaking speed (default: 100)
- cache [default: $(optenv GOOGLE_CLOUD_TEXTTOSPEECH_CACHE_ENABLED true)] — Cache generated sound file (default: true)
Messages
Services
Plugins
Recent questions tagged google_cloud_texttospeech at Robotics Stack Exchange
Package Summary
Tags | No category tags. |
Version | 2.1.31 |
License | BSD |
Build type | CATKIN |
Use | RECOMMENDED |
Repository Summary
Checkout URI | https://github.com/jsk-ros-pkg/jsk_3rdparty.git |
VCS Type | git |
VCS Version | master |
Last Updated | 2025-05-13 |
Dev Status | DEVELOPED |
CI status | No Continuous Integration |
Released | RELEASED |
Tags | No category tags. |
Contributing |
Help Wanted (0)
Good First Issues (0) Pull Requests to Review (0) |
Package Description
Additional Links
Maintainers
- Shingo Kitagawa
Authors
- Hideaki Ito
google_cloud_texttospeech
ROS Interface for Google Cloud Text-to-Speech
Preparation
- Register Google Cloud Text-to-Speech API
- Put the credential json for Google Cloud Text-to-Speech API in your robot
Installation
For python2.7, you need to use google-cloud-texttospeech==1.0.1
.
sudo pip install google-cloud-texttospeech==1.0.1
Usage
Launch sound_play with Google Cloud Text-to-Speech
roslaunch google_cloud_texttospeech google_cloud_texttospeech.launch credential:=/your/credential/json/path
Say something
For python users
import rospy
from sound_play.libsoundplay import SoundClient
rospy.init_node('say_node')
client = SoundClient(sound_action='robotsound', sound_topic='robotsound')
client.say('hello!')
client.say('こんにちは', voice='ja')
You can change the voice by changing the voice_name. Look at the following website for further details. Google Cloud Text-to-Speech Supported voices and languages
We can use standard and WaveNet voices. WaveNet voices are higher quality voices with different pricing; in the list, they have the voice type ‘WaveNet’.
You can also choose the language by specifying the language code.
ja
for Japanese, de
for German, etc.
client.say('你好', voice='cmn-TW-Wavenet-A')
client.say('Hallo', voice='de')
For roseus users
$ roseus
(load "package://pr2eus/speak.l")
(ros::roseus "say_node")
(speak "JSKへようこそ。" :lang "ja-JP-Wavenet-B" :wait t)
(speak "Welcome to JSK." :lang "en-US-Wavenet-A" :wait t)
(speak "欢迎来到 JSK" :lang "cmn-TW-Wavenet-A" :wait t)
(speak "Willkommen bei JSK" :lang "de-DE-Wavenet-A" :wait t)
Tips
By default, generated audio files are stored at $HOME/.ros/google_cloud_texttospeech/cache
.
If you want to change the cache directory, please set GOOGLE_CLOUD_TEXTTOSPEECH_CACHE_DIR
as an environment variable.
If you don’t want to cache the files, please set GOOGLE_CLOUD_TEXTTOSPEECH_CACHE_ENABLED=false
.
Changelog for package google_cloud_texttospeech
2.1.31 (2025-05-13)
2.1.30 (2025-05-10)
2.1.29 (2025-01-05)
2.1.28 (2023-07-24)
2.1.27 (2023-06-24)
2.1.26 (2023-06-14)
- add LICENSE files (#476)
- Contributors: Kei Okada
2.1.25 (2023-06-08)
- [google_cloud_texttospeech] Add cache option (#267)
- Contributors: Kei Okada, Iory Yanokura
2.1.24 (2021-07-26)
2.1.23 (2021-07-21)
- [google_cloud_texttospeech] Fixed for 2.0.0 and later versions. (#266)
- [google_cloud_texttospeech] Support multiple languages. (#269)
- Contributors: Iory Yanokura
2.1.22 (2021-06-10)
- add google_cloud_texttospeech packagef( #218)
- Contributors: Shingo Kitagawa, Shun Hasegawa
2.1.21 (2020-08-19)
2.1.20 (2020-08-07)
2.1.19 (2020-07-21)
2.1.18 (2020-07-20)
2.1.17 (2020-04-16 21:51)
2.1.16 (2020-04-16 15:21)
2.1.15 (2019-12-12)
2.1.14 (2019-11-21)
2.1.13 (2019-07-10)
2.1.12 (2019-05-25)
2.1.11 (2018-08-29)
2.1.10 (2018-04-25)
2.1.9 (2018-04-24)
2.1.8 (2018-04-17)
2.1.7 (2018-04-09)
2.1.6 (2017-11-21)
2.1.5 (2017-11-20)
2.1.4 (2017-07-16)
2.1.3 (2017-07-07)
2.1.2 (2017-07-06)
2.1.1 (2017-07-05)
2.1.0 (2017-07-02)
2.0.20 (2017-05-09)
2.0.19 (2017-02-22)
2.0.18 (2016-10-28)
2.0.17 (2016-10-22)
2.0.16 (2016-10-17)
2.0.15 (2016-10-16)
2.0.14 (2016-03-20)
2.0.13 (2015-12-15)
File truncated at 100 lines see the full file
Wiki Tutorials
Dependant Packages
Name | Deps |
---|---|
jsk_3rdparty |
Launch files
- launch/google_cloud_texttospeech.launch
-
- sound_play_machine [default: localhost] — Machine to run sound_play node (default: localhost)
- sound_play_respawn [default: true] — Respawn sound_play node or not (default: true)
- credential [default: $(optenv GOOGLE_APPLICATION_CREDENTIALS /etc/opt/jsk/robot/google-speech-recognition.json)] — Credential json path for Google Cloud Text-to-Speech (default: $GOOGLE_APPLICATION_CREDENTIALS or /etc/opt/jsk/robot/google-speech-recognition.json)
- use_english [default: true] — Use Google Cloud Text-to-Speech for English or not (default: true)
- use_japanese [default: true] — Use Google Cloud Text-to-Speech for Japanese or not (default: true)
- english_speed [default: 100] — English speaking speed (default: 100)
- japanese_speed [default: 100] — Japanese speaking speed (default: 100)
- cache [default: $(optenv GOOGLE_CLOUD_TEXTTOSPEECH_CACHE_ENABLED true)] — Cache generated sound file (default: true)
Messages
Services
Plugins
Recent questions tagged google_cloud_texttospeech at Robotics Stack Exchange
Package Summary
Tags | No category tags. |
Version | 2.1.31 |
License | BSD |
Build type | CATKIN |
Use | RECOMMENDED |
Repository Summary
Checkout URI | https://github.com/jsk-ros-pkg/jsk_3rdparty.git |
VCS Type | git |
VCS Version | master |
Last Updated | 2025-05-13 |
Dev Status | DEVELOPED |
CI status | No Continuous Integration |
Released | RELEASED |
Tags | No category tags. |
Contributing |
Help Wanted (0)
Good First Issues (0) Pull Requests to Review (0) |
Package Description
Additional Links
Maintainers
- Shingo Kitagawa
Authors
- Hideaki Ito
google_cloud_texttospeech
ROS Interface for Google Cloud Text-to-Speech
Preparation
- Register Google Cloud Text-to-Speech API
- Put the credential json for Google Cloud Text-to-Speech API in your robot
Installation
For python2.7, you need to use google-cloud-texttospeech==1.0.1
.
sudo pip install google-cloud-texttospeech==1.0.1
Usage
Launch sound_play with Google Cloud Text-to-Speech
roslaunch google_cloud_texttospeech google_cloud_texttospeech.launch credential:=/your/credential/json/path
Say something
For python users
import rospy
from sound_play.libsoundplay import SoundClient
rospy.init_node('say_node')
client = SoundClient(sound_action='robotsound', sound_topic='robotsound')
client.say('hello!')
client.say('こんにちは', voice='ja')
You can change the voice by changing the voice_name. Look at the following website for further details. Google Cloud Text-to-Speech Supported voices and languages
We can use standard and WaveNet voices. WaveNet voices are higher quality voices with different pricing; in the list, they have the voice type ‘WaveNet’.
You can also choose the language by specifying the language code.
ja
for Japanese, de
for German, etc.
client.say('你好', voice='cmn-TW-Wavenet-A')
client.say('Hallo', voice='de')
For roseus users
$ roseus
(load "package://pr2eus/speak.l")
(ros::roseus "say_node")
(speak "JSKへようこそ。" :lang "ja-JP-Wavenet-B" :wait t)
(speak "Welcome to JSK." :lang "en-US-Wavenet-A" :wait t)
(speak "欢迎来到 JSK" :lang "cmn-TW-Wavenet-A" :wait t)
(speak "Willkommen bei JSK" :lang "de-DE-Wavenet-A" :wait t)
Tips
By default, generated audio files are stored at $HOME/.ros/google_cloud_texttospeech/cache
.
If you want to change the cache directory, please set GOOGLE_CLOUD_TEXTTOSPEECH_CACHE_DIR
as an environment variable.
If you don’t want to cache the files, please set GOOGLE_CLOUD_TEXTTOSPEECH_CACHE_ENABLED=false
.
Changelog for package google_cloud_texttospeech
2.1.31 (2025-05-13)
2.1.30 (2025-05-10)
2.1.29 (2025-01-05)
2.1.28 (2023-07-24)
2.1.27 (2023-06-24)
2.1.26 (2023-06-14)
- add LICENSE files (#476)
- Contributors: Kei Okada
2.1.25 (2023-06-08)
- [google_cloud_texttospeech] Add cache option (#267)
- Contributors: Kei Okada, Iory Yanokura
2.1.24 (2021-07-26)
2.1.23 (2021-07-21)
- [google_cloud_texttospeech] Fixed for 2.0.0 and later versions. (#266)
- [google_cloud_texttospeech] Support multiple languages. (#269)
- Contributors: Iory Yanokura
2.1.22 (2021-06-10)
- add google_cloud_texttospeech packagef( #218)
- Contributors: Shingo Kitagawa, Shun Hasegawa
2.1.21 (2020-08-19)
2.1.20 (2020-08-07)
2.1.19 (2020-07-21)
2.1.18 (2020-07-20)
2.1.17 (2020-04-16 21:51)
2.1.16 (2020-04-16 15:21)
2.1.15 (2019-12-12)
2.1.14 (2019-11-21)
2.1.13 (2019-07-10)
2.1.12 (2019-05-25)
2.1.11 (2018-08-29)
2.1.10 (2018-04-25)
2.1.9 (2018-04-24)
2.1.8 (2018-04-17)
2.1.7 (2018-04-09)
2.1.6 (2017-11-21)
2.1.5 (2017-11-20)
2.1.4 (2017-07-16)
2.1.3 (2017-07-07)
2.1.2 (2017-07-06)
2.1.1 (2017-07-05)
2.1.0 (2017-07-02)
2.0.20 (2017-05-09)
2.0.19 (2017-02-22)
2.0.18 (2016-10-28)
2.0.17 (2016-10-22)
2.0.16 (2016-10-17)
2.0.15 (2016-10-16)
2.0.14 (2016-03-20)
2.0.13 (2015-12-15)
File truncated at 100 lines see the full file
Wiki Tutorials
Dependant Packages
Name | Deps |
---|---|
jsk_3rdparty |
Launch files
- launch/google_cloud_texttospeech.launch
-
- sound_play_machine [default: localhost] — Machine to run sound_play node (default: localhost)
- sound_play_respawn [default: true] — Respawn sound_play node or not (default: true)
- credential [default: $(optenv GOOGLE_APPLICATION_CREDENTIALS /etc/opt/jsk/robot/google-speech-recognition.json)] — Credential json path for Google Cloud Text-to-Speech (default: $GOOGLE_APPLICATION_CREDENTIALS or /etc/opt/jsk/robot/google-speech-recognition.json)
- use_english [default: true] — Use Google Cloud Text-to-Speech for English or not (default: true)
- use_japanese [default: true] — Use Google Cloud Text-to-Speech for Japanese or not (default: true)
- english_speed [default: 100] — English speaking speed (default: 100)
- japanese_speed [default: 100] — Japanese speaking speed (default: 100)
- cache [default: $(optenv GOOGLE_CLOUD_TEXTTOSPEECH_CACHE_ENABLED true)] — Cache generated sound file (default: true)
Messages
Services
Plugins
Recent questions tagged google_cloud_texttospeech at Robotics Stack Exchange
Package Summary
Tags | No category tags. |
Version | 2.1.31 |
License | BSD |
Build type | CATKIN |
Use | RECOMMENDED |
Repository Summary
Checkout URI | https://github.com/jsk-ros-pkg/jsk_3rdparty.git |
VCS Type | git |
VCS Version | master |
Last Updated | 2025-05-13 |
Dev Status | DEVELOPED |
CI status | No Continuous Integration |
Released | RELEASED |
Tags | No category tags. |
Contributing |
Help Wanted (0)
Good First Issues (0) Pull Requests to Review (0) |
Package Description
Additional Links
Maintainers
- Shingo Kitagawa
Authors
- Hideaki Ito
google_cloud_texttospeech
ROS Interface for Google Cloud Text-to-Speech
Preparation
- Register Google Cloud Text-to-Speech API
- Put the credential json for Google Cloud Text-to-Speech API in your robot
Installation
For python2.7, you need to use google-cloud-texttospeech==1.0.1
.
sudo pip install google-cloud-texttospeech==1.0.1
Usage
Launch sound_play with Google Cloud Text-to-Speech
roslaunch google_cloud_texttospeech google_cloud_texttospeech.launch credential:=/your/credential/json/path
Say something
For python users
import rospy
from sound_play.libsoundplay import SoundClient
rospy.init_node('say_node')
client = SoundClient(sound_action='robotsound', sound_topic='robotsound')
client.say('hello!')
client.say('こんにちは', voice='ja')
You can change the voice by changing the voice_name. Look at the following website for further details. Google Cloud Text-to-Speech Supported voices and languages
We can use standard and WaveNet voices. WaveNet voices are higher quality voices with different pricing; in the list, they have the voice type ‘WaveNet’.
You can also choose the language by specifying the language code.
ja
for Japanese, de
for German, etc.
client.say('你好', voice='cmn-TW-Wavenet-A')
client.say('Hallo', voice='de')
For roseus users
$ roseus
(load "package://pr2eus/speak.l")
(ros::roseus "say_node")
(speak "JSKへようこそ。" :lang "ja-JP-Wavenet-B" :wait t)
(speak "Welcome to JSK." :lang "en-US-Wavenet-A" :wait t)
(speak "欢迎来到 JSK" :lang "cmn-TW-Wavenet-A" :wait t)
(speak "Willkommen bei JSK" :lang "de-DE-Wavenet-A" :wait t)
Tips
By default, generated audio files are stored at $HOME/.ros/google_cloud_texttospeech/cache
.
If you want to change the cache directory, please set GOOGLE_CLOUD_TEXTTOSPEECH_CACHE_DIR
as an environment variable.
If you don’t want to cache the files, please set GOOGLE_CLOUD_TEXTTOSPEECH_CACHE_ENABLED=false
.
Changelog for package google_cloud_texttospeech
2.1.31 (2025-05-13)
2.1.30 (2025-05-10)
2.1.29 (2025-01-05)
2.1.28 (2023-07-24)
2.1.27 (2023-06-24)
2.1.26 (2023-06-14)
- add LICENSE files (#476)
- Contributors: Kei Okada
2.1.25 (2023-06-08)
- [google_cloud_texttospeech] Add cache option (#267)
- Contributors: Kei Okada, Iory Yanokura
2.1.24 (2021-07-26)
2.1.23 (2021-07-21)
- [google_cloud_texttospeech] Fixed for 2.0.0 and later versions. (#266)
- [google_cloud_texttospeech] Support multiple languages. (#269)
- Contributors: Iory Yanokura
2.1.22 (2021-06-10)
- add google_cloud_texttospeech packagef( #218)
- Contributors: Shingo Kitagawa, Shun Hasegawa
2.1.21 (2020-08-19)
2.1.20 (2020-08-07)
2.1.19 (2020-07-21)
2.1.18 (2020-07-20)
2.1.17 (2020-04-16 21:51)
2.1.16 (2020-04-16 15:21)
2.1.15 (2019-12-12)
2.1.14 (2019-11-21)
2.1.13 (2019-07-10)
2.1.12 (2019-05-25)
2.1.11 (2018-08-29)
2.1.10 (2018-04-25)
2.1.9 (2018-04-24)
2.1.8 (2018-04-17)
2.1.7 (2018-04-09)
2.1.6 (2017-11-21)
2.1.5 (2017-11-20)
2.1.4 (2017-07-16)
2.1.3 (2017-07-07)
2.1.2 (2017-07-06)
2.1.1 (2017-07-05)
2.1.0 (2017-07-02)
2.0.20 (2017-05-09)
2.0.19 (2017-02-22)
2.0.18 (2016-10-28)
2.0.17 (2016-10-22)
2.0.16 (2016-10-17)
2.0.15 (2016-10-16)
2.0.14 (2016-03-20)
2.0.13 (2015-12-15)
File truncated at 100 lines see the full file
Wiki Tutorials
Dependant Packages
Name | Deps |
---|---|
jsk_3rdparty |
Launch files
- launch/google_cloud_texttospeech.launch
-
- sound_play_machine [default: localhost] — Machine to run sound_play node (default: localhost)
- sound_play_respawn [default: true] — Respawn sound_play node or not (default: true)
- credential [default: $(optenv GOOGLE_APPLICATION_CREDENTIALS /etc/opt/jsk/robot/google-speech-recognition.json)] — Credential json path for Google Cloud Text-to-Speech (default: $GOOGLE_APPLICATION_CREDENTIALS or /etc/opt/jsk/robot/google-speech-recognition.json)
- use_english [default: true] — Use Google Cloud Text-to-Speech for English or not (default: true)
- use_japanese [default: true] — Use Google Cloud Text-to-Speech for Japanese or not (default: true)
- english_speed [default: 100] — English speaking speed (default: 100)
- japanese_speed [default: 100] — Japanese speaking speed (default: 100)
- cache [default: $(optenv GOOGLE_CLOUD_TEXTTOSPEECH_CACHE_ENABLED true)] — Cache generated sound file (default: true)
Messages
Services
Plugins
Recent questions tagged google_cloud_texttospeech at Robotics Stack Exchange
Package Summary
Tags | No category tags. |
Version | 2.1.31 |
License | BSD |
Build type | CATKIN |
Use | RECOMMENDED |
Repository Summary
Checkout URI | https://github.com/jsk-ros-pkg/jsk_3rdparty.git |
VCS Type | git |
VCS Version | master |
Last Updated | 2025-05-13 |
Dev Status | DEVELOPED |
CI status | No Continuous Integration |
Released | RELEASED |
Tags | No category tags. |
Contributing |
Help Wanted (0)
Good First Issues (0) Pull Requests to Review (0) |
Package Description
Additional Links
Maintainers
- Shingo Kitagawa
Authors
- Hideaki Ito
google_cloud_texttospeech
ROS Interface for Google Cloud Text-to-Speech
Preparation
- Register Google Cloud Text-to-Speech API
- Put the credential json for Google Cloud Text-to-Speech API in your robot
Installation
For python2.7, you need to use google-cloud-texttospeech==1.0.1
.
sudo pip install google-cloud-texttospeech==1.0.1
Usage
Launch sound_play with Google Cloud Text-to-Speech
roslaunch google_cloud_texttospeech google_cloud_texttospeech.launch credential:=/your/credential/json/path
Say something
For python users
import rospy
from sound_play.libsoundplay import SoundClient
rospy.init_node('say_node')
client = SoundClient(sound_action='robotsound', sound_topic='robotsound')
client.say('hello!')
client.say('こんにちは', voice='ja')
You can change the voice by changing the voice_name. Look at the following website for further details. Google Cloud Text-to-Speech Supported voices and languages
We can use standard and WaveNet voices. WaveNet voices are higher quality voices with different pricing; in the list, they have the voice type ‘WaveNet’.
You can also choose the language by specifying the language code.
ja
for Japanese, de
for German, etc.
client.say('你好', voice='cmn-TW-Wavenet-A')
client.say('Hallo', voice='de')
For roseus users
$ roseus
(load "package://pr2eus/speak.l")
(ros::roseus "say_node")
(speak "JSKへようこそ。" :lang "ja-JP-Wavenet-B" :wait t)
(speak "Welcome to JSK." :lang "en-US-Wavenet-A" :wait t)
(speak "欢迎来到 JSK" :lang "cmn-TW-Wavenet-A" :wait t)
(speak "Willkommen bei JSK" :lang "de-DE-Wavenet-A" :wait t)
Tips
By default, generated audio files are stored at $HOME/.ros/google_cloud_texttospeech/cache
.
If you want to change the cache directory, please set GOOGLE_CLOUD_TEXTTOSPEECH_CACHE_DIR
as an environment variable.
If you don’t want to cache the files, please set GOOGLE_CLOUD_TEXTTOSPEECH_CACHE_ENABLED=false
.
Changelog for package google_cloud_texttospeech
2.1.31 (2025-05-13)
2.1.30 (2025-05-10)
2.1.29 (2025-01-05)
2.1.28 (2023-07-24)
2.1.27 (2023-06-24)
2.1.26 (2023-06-14)
- add LICENSE files (#476)
- Contributors: Kei Okada
2.1.25 (2023-06-08)
- [google_cloud_texttospeech] Add cache option (#267)
- Contributors: Kei Okada, Iory Yanokura
2.1.24 (2021-07-26)
2.1.23 (2021-07-21)
- [google_cloud_texttospeech] Fixed for 2.0.0 and later versions. (#266)
- [google_cloud_texttospeech] Support multiple languages. (#269)
- Contributors: Iory Yanokura
2.1.22 (2021-06-10)
- add google_cloud_texttospeech packagef( #218)
- Contributors: Shingo Kitagawa, Shun Hasegawa
2.1.21 (2020-08-19)
2.1.20 (2020-08-07)
2.1.19 (2020-07-21)
2.1.18 (2020-07-20)
2.1.17 (2020-04-16 21:51)
2.1.16 (2020-04-16 15:21)
2.1.15 (2019-12-12)
2.1.14 (2019-11-21)
2.1.13 (2019-07-10)
2.1.12 (2019-05-25)
2.1.11 (2018-08-29)
2.1.10 (2018-04-25)
2.1.9 (2018-04-24)
2.1.8 (2018-04-17)
2.1.7 (2018-04-09)
2.1.6 (2017-11-21)
2.1.5 (2017-11-20)
2.1.4 (2017-07-16)
2.1.3 (2017-07-07)
2.1.2 (2017-07-06)
2.1.1 (2017-07-05)
2.1.0 (2017-07-02)
2.0.20 (2017-05-09)
2.0.19 (2017-02-22)
2.0.18 (2016-10-28)
2.0.17 (2016-10-22)
2.0.16 (2016-10-17)
2.0.15 (2016-10-16)
2.0.14 (2016-03-20)
2.0.13 (2015-12-15)
File truncated at 100 lines see the full file
Wiki Tutorials
Dependant Packages
Name | Deps |
---|---|
jsk_3rdparty |
Launch files
- launch/google_cloud_texttospeech.launch
-
- sound_play_machine [default: localhost] — Machine to run sound_play node (default: localhost)
- sound_play_respawn [default: true] — Respawn sound_play node or not (default: true)
- credential [default: $(optenv GOOGLE_APPLICATION_CREDENTIALS /etc/opt/jsk/robot/google-speech-recognition.json)] — Credential json path for Google Cloud Text-to-Speech (default: $GOOGLE_APPLICATION_CREDENTIALS or /etc/opt/jsk/robot/google-speech-recognition.json)
- use_english [default: true] — Use Google Cloud Text-to-Speech for English or not (default: true)
- use_japanese [default: true] — Use Google Cloud Text-to-Speech for Japanese or not (default: true)
- english_speed [default: 100] — English speaking speed (default: 100)
- japanese_speed [default: 100] — Japanese speaking speed (default: 100)
- cache [default: $(optenv GOOGLE_CLOUD_TEXTTOSPEECH_CACHE_ENABLED true)] — Cache generated sound file (default: true)
Messages
Services
Plugins
Recent questions tagged google_cloud_texttospeech at Robotics Stack Exchange
Package Summary
Tags | No category tags. |
Version | 2.1.31 |
License | BSD |
Build type | CATKIN |
Use | RECOMMENDED |
Repository Summary
Checkout URI | https://github.com/jsk-ros-pkg/jsk_3rdparty.git |
VCS Type | git |
VCS Version | master |
Last Updated | 2025-05-13 |
Dev Status | DEVELOPED |
CI status | No Continuous Integration |
Released | RELEASED |
Tags | No category tags. |
Contributing |
Help Wanted (0)
Good First Issues (0) Pull Requests to Review (0) |
Package Description
Additional Links
Maintainers
- Shingo Kitagawa
Authors
- Hideaki Ito
google_cloud_texttospeech
ROS Interface for Google Cloud Text-to-Speech
Preparation
- Register Google Cloud Text-to-Speech API
- Put the credential json for Google Cloud Text-to-Speech API in your robot
Installation
For python2.7, you need to use google-cloud-texttospeech==1.0.1
.
sudo pip install google-cloud-texttospeech==1.0.1
Usage
Launch sound_play with Google Cloud Text-to-Speech
roslaunch google_cloud_texttospeech google_cloud_texttospeech.launch credential:=/your/credential/json/path
Say something
For python users
import rospy
from sound_play.libsoundplay import SoundClient
rospy.init_node('say_node')
client = SoundClient(sound_action='robotsound', sound_topic='robotsound')
client.say('hello!')
client.say('こんにちは', voice='ja')
You can change the voice by changing the voice_name. Look at the following website for further details. Google Cloud Text-to-Speech Supported voices and languages
We can use standard and WaveNet voices. WaveNet voices are higher quality voices with different pricing; in the list, they have the voice type ‘WaveNet’.
You can also choose the language by specifying the language code.
ja
for Japanese, de
for German, etc.
client.say('你好', voice='cmn-TW-Wavenet-A')
client.say('Hallo', voice='de')
For roseus users
$ roseus
(load "package://pr2eus/speak.l")
(ros::roseus "say_node")
(speak "JSKへようこそ。" :lang "ja-JP-Wavenet-B" :wait t)
(speak "Welcome to JSK." :lang "en-US-Wavenet-A" :wait t)
(speak "欢迎来到 JSK" :lang "cmn-TW-Wavenet-A" :wait t)
(speak "Willkommen bei JSK" :lang "de-DE-Wavenet-A" :wait t)
Tips
By default, generated audio files are stored at $HOME/.ros/google_cloud_texttospeech/cache
.
If you want to change the cache directory, please set GOOGLE_CLOUD_TEXTTOSPEECH_CACHE_DIR
as an environment variable.
If you don’t want to cache the files, please set GOOGLE_CLOUD_TEXTTOSPEECH_CACHE_ENABLED=false
.
Changelog for package google_cloud_texttospeech
2.1.31 (2025-05-13)
2.1.30 (2025-05-10)
2.1.29 (2025-01-05)
2.1.28 (2023-07-24)
2.1.27 (2023-06-24)
2.1.26 (2023-06-14)
- add LICENSE files (#476)
- Contributors: Kei Okada
2.1.25 (2023-06-08)
- [google_cloud_texttospeech] Add cache option (#267)
- Contributors: Kei Okada, Iory Yanokura
2.1.24 (2021-07-26)
2.1.23 (2021-07-21)
- [google_cloud_texttospeech] Fixed for 2.0.0 and later versions. (#266)
- [google_cloud_texttospeech] Support multiple languages. (#269)
- Contributors: Iory Yanokura
2.1.22 (2021-06-10)
- add google_cloud_texttospeech packagef( #218)
- Contributors: Shingo Kitagawa, Shun Hasegawa
2.1.21 (2020-08-19)
2.1.20 (2020-08-07)
2.1.19 (2020-07-21)
2.1.18 (2020-07-20)
2.1.17 (2020-04-16 21:51)
2.1.16 (2020-04-16 15:21)
2.1.15 (2019-12-12)
2.1.14 (2019-11-21)
2.1.13 (2019-07-10)
2.1.12 (2019-05-25)
2.1.11 (2018-08-29)
2.1.10 (2018-04-25)
2.1.9 (2018-04-24)
2.1.8 (2018-04-17)
2.1.7 (2018-04-09)
2.1.6 (2017-11-21)
2.1.5 (2017-11-20)
2.1.4 (2017-07-16)
2.1.3 (2017-07-07)
2.1.2 (2017-07-06)
2.1.1 (2017-07-05)
2.1.0 (2017-07-02)
2.0.20 (2017-05-09)
2.0.19 (2017-02-22)
2.0.18 (2016-10-28)
2.0.17 (2016-10-22)
2.0.16 (2016-10-17)
2.0.15 (2016-10-16)
2.0.14 (2016-03-20)
2.0.13 (2015-12-15)
File truncated at 100 lines see the full file
Wiki Tutorials
Dependant Packages
Name | Deps |
---|---|
jsk_3rdparty |
Launch files
- launch/google_cloud_texttospeech.launch
-
- sound_play_machine [default: localhost] — Machine to run sound_play node (default: localhost)
- sound_play_respawn [default: true] — Respawn sound_play node or not (default: true)
- credential [default: $(optenv GOOGLE_APPLICATION_CREDENTIALS /etc/opt/jsk/robot/google-speech-recognition.json)] — Credential json path for Google Cloud Text-to-Speech (default: $GOOGLE_APPLICATION_CREDENTIALS or /etc/opt/jsk/robot/google-speech-recognition.json)
- use_english [default: true] — Use Google Cloud Text-to-Speech for English or not (default: true)
- use_japanese [default: true] — Use Google Cloud Text-to-Speech for Japanese or not (default: true)
- english_speed [default: 100] — English speaking speed (default: 100)
- japanese_speed [default: 100] — Japanese speaking speed (default: 100)
- cache [default: $(optenv GOOGLE_CLOUD_TEXTTOSPEECH_CACHE_ENABLED true)] — Cache generated sound file (default: true)
Messages
Services
Plugins
Recent questions tagged google_cloud_texttospeech at Robotics Stack Exchange
Package Summary
Tags | No category tags. |
Version | 2.1.31 |
License | BSD |
Build type | CATKIN |
Use | RECOMMENDED |
Repository Summary
Checkout URI | https://github.com/jsk-ros-pkg/jsk_3rdparty.git |
VCS Type | git |
VCS Version | master |
Last Updated | 2025-05-13 |
Dev Status | DEVELOPED |
CI status | No Continuous Integration |
Released | RELEASED |
Tags | No category tags. |
Contributing |
Help Wanted (0)
Good First Issues (0) Pull Requests to Review (0) |
Package Description
Additional Links
Maintainers
- Shingo Kitagawa
Authors
- Hideaki Ito
google_cloud_texttospeech
ROS Interface for Google Cloud Text-to-Speech
Preparation
- Register Google Cloud Text-to-Speech API
- Put the credential json for Google Cloud Text-to-Speech API in your robot
Installation
For python2.7, you need to use google-cloud-texttospeech==1.0.1
.
sudo pip install google-cloud-texttospeech==1.0.1
Usage
Launch sound_play with Google Cloud Text-to-Speech
roslaunch google_cloud_texttospeech google_cloud_texttospeech.launch credential:=/your/credential/json/path
Say something
For python users
import rospy
from sound_play.libsoundplay import SoundClient
rospy.init_node('say_node')
client = SoundClient(sound_action='robotsound', sound_topic='robotsound')
client.say('hello!')
client.say('こんにちは', voice='ja')
You can change the voice by changing the voice_name. Look at the following website for further details. Google Cloud Text-to-Speech Supported voices and languages
We can use standard and WaveNet voices. WaveNet voices are higher quality voices with different pricing; in the list, they have the voice type ‘WaveNet’.
You can also choose the language by specifying the language code.
ja
for Japanese, de
for German, etc.
client.say('你好', voice='cmn-TW-Wavenet-A')
client.say('Hallo', voice='de')
For roseus users
$ roseus
(load "package://pr2eus/speak.l")
(ros::roseus "say_node")
(speak "JSKへようこそ。" :lang "ja-JP-Wavenet-B" :wait t)
(speak "Welcome to JSK." :lang "en-US-Wavenet-A" :wait t)
(speak "欢迎来到 JSK" :lang "cmn-TW-Wavenet-A" :wait t)
(speak "Willkommen bei JSK" :lang "de-DE-Wavenet-A" :wait t)
Tips
By default, generated audio files are stored at $HOME/.ros/google_cloud_texttospeech/cache
.
If you want to change the cache directory, please set GOOGLE_CLOUD_TEXTTOSPEECH_CACHE_DIR
as an environment variable.
If you don’t want to cache the files, please set GOOGLE_CLOUD_TEXTTOSPEECH_CACHE_ENABLED=false
.
Changelog for package google_cloud_texttospeech
2.1.31 (2025-05-13)
2.1.30 (2025-05-10)
2.1.29 (2025-01-05)
2.1.28 (2023-07-24)
2.1.27 (2023-06-24)
2.1.26 (2023-06-14)
- add LICENSE files (#476)
- Contributors: Kei Okada
2.1.25 (2023-06-08)
- [google_cloud_texttospeech] Add cache option (#267)
- Contributors: Kei Okada, Iory Yanokura
2.1.24 (2021-07-26)
2.1.23 (2021-07-21)
- [google_cloud_texttospeech] Fixed for 2.0.0 and later versions. (#266)
- [google_cloud_texttospeech] Support multiple languages. (#269)
- Contributors: Iory Yanokura
2.1.22 (2021-06-10)
- add google_cloud_texttospeech packagef( #218)
- Contributors: Shingo Kitagawa, Shun Hasegawa
2.1.21 (2020-08-19)
2.1.20 (2020-08-07)
2.1.19 (2020-07-21)
2.1.18 (2020-07-20)
2.1.17 (2020-04-16 21:51)
2.1.16 (2020-04-16 15:21)
2.1.15 (2019-12-12)
2.1.14 (2019-11-21)
2.1.13 (2019-07-10)
2.1.12 (2019-05-25)
2.1.11 (2018-08-29)
2.1.10 (2018-04-25)
2.1.9 (2018-04-24)
2.1.8 (2018-04-17)
2.1.7 (2018-04-09)
2.1.6 (2017-11-21)
2.1.5 (2017-11-20)
2.1.4 (2017-07-16)
2.1.3 (2017-07-07)
2.1.2 (2017-07-06)
2.1.1 (2017-07-05)
2.1.0 (2017-07-02)
2.0.20 (2017-05-09)
2.0.19 (2017-02-22)
2.0.18 (2016-10-28)
2.0.17 (2016-10-22)
2.0.16 (2016-10-17)
2.0.15 (2016-10-16)
2.0.14 (2016-03-20)
2.0.13 (2015-12-15)
File truncated at 100 lines see the full file
Wiki Tutorials
Dependant Packages
Name | Deps |
---|---|
jsk_3rdparty |
Launch files
- launch/google_cloud_texttospeech.launch
-
- sound_play_machine [default: localhost] — Machine to run sound_play node (default: localhost)
- sound_play_respawn [default: true] — Respawn sound_play node or not (default: true)
- credential [default: $(optenv GOOGLE_APPLICATION_CREDENTIALS /etc/opt/jsk/robot/google-speech-recognition.json)] — Credential json path for Google Cloud Text-to-Speech (default: $GOOGLE_APPLICATION_CREDENTIALS or /etc/opt/jsk/robot/google-speech-recognition.json)
- use_english [default: true] — Use Google Cloud Text-to-Speech for English or not (default: true)
- use_japanese [default: true] — Use Google Cloud Text-to-Speech for Japanese or not (default: true)
- english_speed [default: 100] — English speaking speed (default: 100)
- japanese_speed [default: 100] — Japanese speaking speed (default: 100)
- cache [default: $(optenv GOOGLE_CLOUD_TEXTTOSPEECH_CACHE_ENABLED true)] — Cache generated sound file (default: true)
Messages
Services
Plugins
Recent questions tagged google_cloud_texttospeech at Robotics Stack Exchange
Package Summary
Tags | No category tags. |
Version | 2.1.31 |
License | BSD |
Build type | CATKIN |
Use | RECOMMENDED |
Repository Summary
Checkout URI | https://github.com/jsk-ros-pkg/jsk_3rdparty.git |
VCS Type | git |
VCS Version | master |
Last Updated | 2025-05-13 |
Dev Status | DEVELOPED |
CI status | No Continuous Integration |
Released | RELEASED |
Tags | No category tags. |
Contributing |
Help Wanted (0)
Good First Issues (0) Pull Requests to Review (0) |
Package Description
Additional Links
Maintainers
- Shingo Kitagawa
Authors
- Hideaki Ito
google_cloud_texttospeech
ROS Interface for Google Cloud Text-to-Speech
Preparation
- Register Google Cloud Text-to-Speech API
- Put the credential json for Google Cloud Text-to-Speech API in your robot
Installation
For python2.7, you need to use google-cloud-texttospeech==1.0.1
.
sudo pip install google-cloud-texttospeech==1.0.1
Usage
Launch sound_play with Google Cloud Text-to-Speech
roslaunch google_cloud_texttospeech google_cloud_texttospeech.launch credential:=/your/credential/json/path
Say something
For python users
import rospy
from sound_play.libsoundplay import SoundClient
rospy.init_node('say_node')
client = SoundClient(sound_action='robotsound', sound_topic='robotsound')
client.say('hello!')
client.say('こんにちは', voice='ja')
You can change the voice by changing the voice_name. Look at the following website for further details. Google Cloud Text-to-Speech Supported voices and languages
We can use standard and WaveNet voices. WaveNet voices are higher quality voices with different pricing; in the list, they have the voice type ‘WaveNet’.
You can also choose the language by specifying the language code.
ja
for Japanese, de
for German, etc.
client.say('你好', voice='cmn-TW-Wavenet-A')
client.say('Hallo', voice='de')
For roseus users
$ roseus
(load "package://pr2eus/speak.l")
(ros::roseus "say_node")
(speak "JSKへようこそ。" :lang "ja-JP-Wavenet-B" :wait t)
(speak "Welcome to JSK." :lang "en-US-Wavenet-A" :wait t)
(speak "欢迎来到 JSK" :lang "cmn-TW-Wavenet-A" :wait t)
(speak "Willkommen bei JSK" :lang "de-DE-Wavenet-A" :wait t)
Tips
By default, generated audio files are stored at $HOME/.ros/google_cloud_texttospeech/cache
.
If you want to change the cache directory, please set GOOGLE_CLOUD_TEXTTOSPEECH_CACHE_DIR
as an environment variable.
If you don’t want to cache the files, please set GOOGLE_CLOUD_TEXTTOSPEECH_CACHE_ENABLED=false
.
Changelog for package google_cloud_texttospeech
2.1.31 (2025-05-13)
2.1.30 (2025-05-10)
2.1.29 (2025-01-05)
2.1.28 (2023-07-24)
2.1.27 (2023-06-24)
2.1.26 (2023-06-14)
- add LICENSE files (#476)
- Contributors: Kei Okada
2.1.25 (2023-06-08)
- [google_cloud_texttospeech] Add cache option (#267)
- Contributors: Kei Okada, Iory Yanokura
2.1.24 (2021-07-26)
2.1.23 (2021-07-21)
- [google_cloud_texttospeech] Fixed for 2.0.0 and later versions. (#266)
- [google_cloud_texttospeech] Support multiple languages. (#269)
- Contributors: Iory Yanokura
2.1.22 (2021-06-10)
- add google_cloud_texttospeech packagef( #218)
- Contributors: Shingo Kitagawa, Shun Hasegawa
2.1.21 (2020-08-19)
2.1.20 (2020-08-07)
2.1.19 (2020-07-21)
2.1.18 (2020-07-20)
2.1.17 (2020-04-16 21:51)
2.1.16 (2020-04-16 15:21)
2.1.15 (2019-12-12)
2.1.14 (2019-11-21)
2.1.13 (2019-07-10)
2.1.12 (2019-05-25)
2.1.11 (2018-08-29)
2.1.10 (2018-04-25)
2.1.9 (2018-04-24)
2.1.8 (2018-04-17)
2.1.7 (2018-04-09)
2.1.6 (2017-11-21)
2.1.5 (2017-11-20)
2.1.4 (2017-07-16)
2.1.3 (2017-07-07)
2.1.2 (2017-07-06)
2.1.1 (2017-07-05)
2.1.0 (2017-07-02)
2.0.20 (2017-05-09)
2.0.19 (2017-02-22)
2.0.18 (2016-10-28)
2.0.17 (2016-10-22)
2.0.16 (2016-10-17)
2.0.15 (2016-10-16)
2.0.14 (2016-03-20)
2.0.13 (2015-12-15)
File truncated at 100 lines see the full file
Wiki Tutorials
Dependant Packages
Name | Deps |
---|---|
jsk_3rdparty |
Launch files
- launch/google_cloud_texttospeech.launch
-
- sound_play_machine [default: localhost] — Machine to run sound_play node (default: localhost)
- sound_play_respawn [default: true] — Respawn sound_play node or not (default: true)
- credential [default: $(optenv GOOGLE_APPLICATION_CREDENTIALS /etc/opt/jsk/robot/google-speech-recognition.json)] — Credential json path for Google Cloud Text-to-Speech (default: $GOOGLE_APPLICATION_CREDENTIALS or /etc/opt/jsk/robot/google-speech-recognition.json)
- use_english [default: true] — Use Google Cloud Text-to-Speech for English or not (default: true)
- use_japanese [default: true] — Use Google Cloud Text-to-Speech for Japanese or not (default: true)
- english_speed [default: 100] — English speaking speed (default: 100)
- japanese_speed [default: 100] — Japanese speaking speed (default: 100)
- cache [default: $(optenv GOOGLE_CLOUD_TEXTTOSPEECH_CACHE_ENABLED true)] — Cache generated sound file (default: true)
Messages
Services
Plugins
Recent questions tagged google_cloud_texttospeech at Robotics Stack Exchange
Package Summary
Tags | No category tags. |
Version | 2.1.31 |
License | BSD |
Build type | CATKIN |
Use | RECOMMENDED |
Repository Summary
Checkout URI | https://github.com/jsk-ros-pkg/jsk_3rdparty.git |
VCS Type | git |
VCS Version | master |
Last Updated | 2025-05-13 |
Dev Status | DEVELOPED |
CI status | No Continuous Integration |
Released | RELEASED |
Tags | No category tags. |
Contributing |
Help Wanted (0)
Good First Issues (0) Pull Requests to Review (0) |
Package Description
Additional Links
Maintainers
- Shingo Kitagawa
Authors
- Hideaki Ito
google_cloud_texttospeech
ROS Interface for Google Cloud Text-to-Speech
Preparation
- Register Google Cloud Text-to-Speech API
- Put the credential json for Google Cloud Text-to-Speech API in your robot
Installation
For python2.7, you need to use google-cloud-texttospeech==1.0.1
.
sudo pip install google-cloud-texttospeech==1.0.1
Usage
Launch sound_play with Google Cloud Text-to-Speech
roslaunch google_cloud_texttospeech google_cloud_texttospeech.launch credential:=/your/credential/json/path
Say something
For python users
import rospy
from sound_play.libsoundplay import SoundClient
rospy.init_node('say_node')
client = SoundClient(sound_action='robotsound', sound_topic='robotsound')
client.say('hello!')
client.say('こんにちは', voice='ja')
You can change the voice by changing the voice_name. Look at the following website for further details. Google Cloud Text-to-Speech Supported voices and languages
We can use standard and WaveNet voices. WaveNet voices are higher quality voices with different pricing; in the list, they have the voice type ‘WaveNet’.
You can also choose the language by specifying the language code.
ja
for Japanese, de
for German, etc.
client.say('你好', voice='cmn-TW-Wavenet-A')
client.say('Hallo', voice='de')
For roseus users
$ roseus
(load "package://pr2eus/speak.l")
(ros::roseus "say_node")
(speak "JSKへようこそ。" :lang "ja-JP-Wavenet-B" :wait t)
(speak "Welcome to JSK." :lang "en-US-Wavenet-A" :wait t)
(speak "欢迎来到 JSK" :lang "cmn-TW-Wavenet-A" :wait t)
(speak "Willkommen bei JSK" :lang "de-DE-Wavenet-A" :wait t)
Tips
By default, generated audio files are stored at $HOME/.ros/google_cloud_texttospeech/cache
.
If you want to change the cache directory, please set GOOGLE_CLOUD_TEXTTOSPEECH_CACHE_DIR
as an environment variable.
If you don’t want to cache the files, please set GOOGLE_CLOUD_TEXTTOSPEECH_CACHE_ENABLED=false
.
Changelog for package google_cloud_texttospeech
2.1.31 (2025-05-13)
2.1.30 (2025-05-10)
2.1.29 (2025-01-05)
2.1.28 (2023-07-24)
2.1.27 (2023-06-24)
2.1.26 (2023-06-14)
- add LICENSE files (#476)
- Contributors: Kei Okada
2.1.25 (2023-06-08)
- [google_cloud_texttospeech] Add cache option (#267)
- Contributors: Kei Okada, Iory Yanokura
2.1.24 (2021-07-26)
2.1.23 (2021-07-21)
- [google_cloud_texttospeech] Fixed for 2.0.0 and later versions. (#266)
- [google_cloud_texttospeech] Support multiple languages. (#269)
- Contributors: Iory Yanokura
2.1.22 (2021-06-10)
- add google_cloud_texttospeech packagef( #218)
- Contributors: Shingo Kitagawa, Shun Hasegawa
2.1.21 (2020-08-19)
2.1.20 (2020-08-07)
2.1.19 (2020-07-21)
2.1.18 (2020-07-20)
2.1.17 (2020-04-16 21:51)
2.1.16 (2020-04-16 15:21)
2.1.15 (2019-12-12)
2.1.14 (2019-11-21)
2.1.13 (2019-07-10)
2.1.12 (2019-05-25)
2.1.11 (2018-08-29)
2.1.10 (2018-04-25)
2.1.9 (2018-04-24)
2.1.8 (2018-04-17)
2.1.7 (2018-04-09)
2.1.6 (2017-11-21)
2.1.5 (2017-11-20)
2.1.4 (2017-07-16)
2.1.3 (2017-07-07)
2.1.2 (2017-07-06)
2.1.1 (2017-07-05)
2.1.0 (2017-07-02)
2.0.20 (2017-05-09)
2.0.19 (2017-02-22)
2.0.18 (2016-10-28)
2.0.17 (2016-10-22)
2.0.16 (2016-10-17)
2.0.15 (2016-10-16)
2.0.14 (2016-03-20)
2.0.13 (2015-12-15)
File truncated at 100 lines see the full file
Wiki Tutorials
Dependant Packages
Name | Deps |
---|---|
jsk_3rdparty |
Launch files
- launch/google_cloud_texttospeech.launch
-
- sound_play_machine [default: localhost] — Machine to run sound_play node (default: localhost)
- sound_play_respawn [default: true] — Respawn sound_play node or not (default: true)
- credential [default: $(optenv GOOGLE_APPLICATION_CREDENTIALS /etc/opt/jsk/robot/google-speech-recognition.json)] — Credential json path for Google Cloud Text-to-Speech (default: $GOOGLE_APPLICATION_CREDENTIALS or /etc/opt/jsk/robot/google-speech-recognition.json)
- use_english [default: true] — Use Google Cloud Text-to-Speech for English or not (default: true)
- use_japanese [default: true] — Use Google Cloud Text-to-Speech for Japanese or not (default: true)
- english_speed [default: 100] — English speaking speed (default: 100)
- japanese_speed [default: 100] — Japanese speaking speed (default: 100)
- cache [default: $(optenv GOOGLE_CLOUD_TEXTTOSPEECH_CACHE_ENABLED true)] — Cache generated sound file (default: true)
Messages
Services
Plugins
Recent questions tagged google_cloud_texttospeech at Robotics Stack Exchange
Package Summary
Tags | No category tags. |
Version | 2.1.31 |
License | BSD |
Build type | CATKIN |
Use | RECOMMENDED |
Repository Summary
Checkout URI | https://github.com/jsk-ros-pkg/jsk_3rdparty.git |
VCS Type | git |
VCS Version | master |
Last Updated | 2025-05-13 |
Dev Status | DEVELOPED |
CI status | No Continuous Integration |
Released | RELEASED |
Tags | No category tags. |
Contributing |
Help Wanted (0)
Good First Issues (0) Pull Requests to Review (0) |
Package Description
Additional Links
Maintainers
- Shingo Kitagawa
Authors
- Hideaki Ito
google_cloud_texttospeech
ROS Interface for Google Cloud Text-to-Speech
Preparation
- Register Google Cloud Text-to-Speech API
- Put the credential json for Google Cloud Text-to-Speech API in your robot
Installation
For python2.7, you need to use google-cloud-texttospeech==1.0.1
.
sudo pip install google-cloud-texttospeech==1.0.1
Usage
Launch sound_play with Google Cloud Text-to-Speech
roslaunch google_cloud_texttospeech google_cloud_texttospeech.launch credential:=/your/credential/json/path
Say something
For python users
import rospy
from sound_play.libsoundplay import SoundClient
rospy.init_node('say_node')
client = SoundClient(sound_action='robotsound', sound_topic='robotsound')
client.say('hello!')
client.say('こんにちは', voice='ja')
You can change the voice by changing the voice_name. Look at the following website for further details. Google Cloud Text-to-Speech Supported voices and languages
We can use standard and WaveNet voices. WaveNet voices are higher quality voices with different pricing; in the list, they have the voice type ‘WaveNet’.
You can also choose the language by specifying the language code.
ja
for Japanese, de
for German, etc.
client.say('你好', voice='cmn-TW-Wavenet-A')
client.say('Hallo', voice='de')
For roseus users
$ roseus
(load "package://pr2eus/speak.l")
(ros::roseus "say_node")
(speak "JSKへようこそ。" :lang "ja-JP-Wavenet-B" :wait t)
(speak "Welcome to JSK." :lang "en-US-Wavenet-A" :wait t)
(speak "欢迎来到 JSK" :lang "cmn-TW-Wavenet-A" :wait t)
(speak "Willkommen bei JSK" :lang "de-DE-Wavenet-A" :wait t)
Tips
By default, generated audio files are stored at $HOME/.ros/google_cloud_texttospeech/cache
.
If you want to change the cache directory, please set GOOGLE_CLOUD_TEXTTOSPEECH_CACHE_DIR
as an environment variable.
If you don’t want to cache the files, please set GOOGLE_CLOUD_TEXTTOSPEECH_CACHE_ENABLED=false
.
Changelog for package google_cloud_texttospeech
2.1.31 (2025-05-13)
2.1.30 (2025-05-10)
2.1.29 (2025-01-05)
2.1.28 (2023-07-24)
2.1.27 (2023-06-24)
2.1.26 (2023-06-14)
- add LICENSE files (#476)
- Contributors: Kei Okada
2.1.25 (2023-06-08)
- [google_cloud_texttospeech] Add cache option (#267)
- Contributors: Kei Okada, Iory Yanokura
2.1.24 (2021-07-26)
2.1.23 (2021-07-21)
- [google_cloud_texttospeech] Fixed for 2.0.0 and later versions. (#266)
- [google_cloud_texttospeech] Support multiple languages. (#269)
- Contributors: Iory Yanokura
2.1.22 (2021-06-10)
- add google_cloud_texttospeech packagef( #218)
- Contributors: Shingo Kitagawa, Shun Hasegawa
2.1.21 (2020-08-19)
2.1.20 (2020-08-07)
2.1.19 (2020-07-21)
2.1.18 (2020-07-20)
2.1.17 (2020-04-16 21:51)
2.1.16 (2020-04-16 15:21)
2.1.15 (2019-12-12)
2.1.14 (2019-11-21)
2.1.13 (2019-07-10)
2.1.12 (2019-05-25)
2.1.11 (2018-08-29)
2.1.10 (2018-04-25)
2.1.9 (2018-04-24)
2.1.8 (2018-04-17)
2.1.7 (2018-04-09)
2.1.6 (2017-11-21)
2.1.5 (2017-11-20)
2.1.4 (2017-07-16)
2.1.3 (2017-07-07)
2.1.2 (2017-07-06)
2.1.1 (2017-07-05)
2.1.0 (2017-07-02)
2.0.20 (2017-05-09)
2.0.19 (2017-02-22)
2.0.18 (2016-10-28)
2.0.17 (2016-10-22)
2.0.16 (2016-10-17)
2.0.15 (2016-10-16)
2.0.14 (2016-03-20)
2.0.13 (2015-12-15)
File truncated at 100 lines see the full file
Wiki Tutorials
Dependant Packages
Name | Deps |
---|---|
jsk_3rdparty |
Launch files
- launch/google_cloud_texttospeech.launch
-
- sound_play_machine [default: localhost] — Machine to run sound_play node (default: localhost)
- sound_play_respawn [default: true] — Respawn sound_play node or not (default: true)
- credential [default: $(optenv GOOGLE_APPLICATION_CREDENTIALS /etc/opt/jsk/robot/google-speech-recognition.json)] — Credential json path for Google Cloud Text-to-Speech (default: $GOOGLE_APPLICATION_CREDENTIALS or /etc/opt/jsk/robot/google-speech-recognition.json)
- use_english [default: true] — Use Google Cloud Text-to-Speech for English or not (default: true)
- use_japanese [default: true] — Use Google Cloud Text-to-Speech for Japanese or not (default: true)
- english_speed [default: 100] — English speaking speed (default: 100)
- japanese_speed [default: 100] — Japanese speaking speed (default: 100)
- cache [default: $(optenv GOOGLE_CLOUD_TEXTTOSPEECH_CACHE_ENABLED true)] — Cache generated sound file (default: true)
Messages
Services
Plugins
Recent questions tagged google_cloud_texttospeech at Robotics Stack Exchange
Package Summary
Tags | No category tags. |
Version | 2.1.31 |
License | BSD |
Build type | CATKIN |
Use | RECOMMENDED |
Repository Summary
Checkout URI | https://github.com/jsk-ros-pkg/jsk_3rdparty.git |
VCS Type | git |
VCS Version | master |
Last Updated | 2025-05-13 |
Dev Status | DEVELOPED |
CI status | Continuous Integration |
Released | RELEASED |
Tags | No category tags. |
Contributing |
Help Wanted (0)
Good First Issues (0) Pull Requests to Review (0) |
Package Description
Additional Links
Maintainers
- Shingo Kitagawa
Authors
- Hideaki Ito
google_cloud_texttospeech
ROS Interface for Google Cloud Text-to-Speech
Preparation
- Register Google Cloud Text-to-Speech API
- Put the credential json for Google Cloud Text-to-Speech API in your robot
Installation
For python2.7, you need to use google-cloud-texttospeech==1.0.1
.
sudo pip install google-cloud-texttospeech==1.0.1
Usage
Launch sound_play with Google Cloud Text-to-Speech
roslaunch google_cloud_texttospeech google_cloud_texttospeech.launch credential:=/your/credential/json/path
Say something
For python users
import rospy
from sound_play.libsoundplay import SoundClient
rospy.init_node('say_node')
client = SoundClient(sound_action='robotsound', sound_topic='robotsound')
client.say('hello!')
client.say('こんにちは', voice='ja')
You can change the voice by changing the voice_name. Look at the following website for further details. Google Cloud Text-to-Speech Supported voices and languages
We can use standard and WaveNet voices. WaveNet voices are higher quality voices with different pricing; in the list, they have the voice type ‘WaveNet’.
You can also choose the language by specifying the language code.
ja
for Japanese, de
for German, etc.
client.say('你好', voice='cmn-TW-Wavenet-A')
client.say('Hallo', voice='de')
For roseus users
$ roseus
(load "package://pr2eus/speak.l")
(ros::roseus "say_node")
(speak "JSKへようこそ。" :lang "ja-JP-Wavenet-B" :wait t)
(speak "Welcome to JSK." :lang "en-US-Wavenet-A" :wait t)
(speak "欢迎来到 JSK" :lang "cmn-TW-Wavenet-A" :wait t)
(speak "Willkommen bei JSK" :lang "de-DE-Wavenet-A" :wait t)
Tips
By default, generated audio files are stored at $HOME/.ros/google_cloud_texttospeech/cache
.
If you want to change the cache directory, please set GOOGLE_CLOUD_TEXTTOSPEECH_CACHE_DIR
as an environment variable.
If you don’t want to cache the files, please set GOOGLE_CLOUD_TEXTTOSPEECH_CACHE_ENABLED=false
.
Changelog for package google_cloud_texttospeech
2.1.31 (2025-05-13)
2.1.30 (2025-05-10)
2.1.29 (2025-01-05)
2.1.28 (2023-07-24)
2.1.27 (2023-06-24)
2.1.26 (2023-06-14)
- add LICENSE files (#476)
- Contributors: Kei Okada
2.1.25 (2023-06-08)
- [google_cloud_texttospeech] Add cache option (#267)
- Contributors: Kei Okada, Iory Yanokura
2.1.24 (2021-07-26)
2.1.23 (2021-07-21)
- [google_cloud_texttospeech] Fixed for 2.0.0 and later versions. (#266)
- [google_cloud_texttospeech] Support multiple languages. (#269)
- Contributors: Iory Yanokura
2.1.22 (2021-06-10)
- add google_cloud_texttospeech packagef( #218)
- Contributors: Shingo Kitagawa, Shun Hasegawa
2.1.21 (2020-08-19)
2.1.20 (2020-08-07)
2.1.19 (2020-07-21)
2.1.18 (2020-07-20)
2.1.17 (2020-04-16 21:51)
2.1.16 (2020-04-16 15:21)
2.1.15 (2019-12-12)
2.1.14 (2019-11-21)
2.1.13 (2019-07-10)
2.1.12 (2019-05-25)
2.1.11 (2018-08-29)
2.1.10 (2018-04-25)
2.1.9 (2018-04-24)
2.1.8 (2018-04-17)
2.1.7 (2018-04-09)
2.1.6 (2017-11-21)
2.1.5 (2017-11-20)
2.1.4 (2017-07-16)
2.1.3 (2017-07-07)
2.1.2 (2017-07-06)
2.1.1 (2017-07-05)
2.1.0 (2017-07-02)
2.0.20 (2017-05-09)
2.0.19 (2017-02-22)
2.0.18 (2016-10-28)
2.0.17 (2016-10-22)
2.0.16 (2016-10-17)
2.0.15 (2016-10-16)
2.0.14 (2016-03-20)
2.0.13 (2015-12-15)
File truncated at 100 lines see the full file
Wiki Tutorials
Dependant Packages
Name | Deps |
---|---|
jsk_3rdparty |
Launch files
- launch/google_cloud_texttospeech.launch
-
- sound_play_machine [default: localhost] — Machine to run sound_play node (default: localhost)
- sound_play_respawn [default: true] — Respawn sound_play node or not (default: true)
- credential [default: $(optenv GOOGLE_APPLICATION_CREDENTIALS /etc/opt/jsk/robot/google-speech-recognition.json)] — Credential json path for Google Cloud Text-to-Speech (default: $GOOGLE_APPLICATION_CREDENTIALS or /etc/opt/jsk/robot/google-speech-recognition.json)
- use_english [default: true] — Use Google Cloud Text-to-Speech for English or not (default: true)
- use_japanese [default: true] — Use Google Cloud Text-to-Speech for Japanese or not (default: true)
- english_speed [default: 100] — English speaking speed (default: 100)
- japanese_speed [default: 100] — Japanese speaking speed (default: 100)
- cache [default: $(optenv GOOGLE_CLOUD_TEXTTOSPEECH_CACHE_ENABLED true)] — Cache generated sound file (default: true)
Messages
Services
Plugins
Recent questions tagged google_cloud_texttospeech at Robotics Stack Exchange
Package Summary
Tags | No category tags. |
Version | 2.1.31 |
License | BSD |
Build type | CATKIN |
Use | RECOMMENDED |
Repository Summary
Checkout URI | https://github.com/jsk-ros-pkg/jsk_3rdparty.git |
VCS Type | git |
VCS Version | master |
Last Updated | 2025-05-13 |
Dev Status | DEVELOPED |
CI status | Continuous Integration |
Released | RELEASED |
Tags | No category tags. |
Contributing |
Help Wanted (0)
Good First Issues (0) Pull Requests to Review (0) |
Package Description
Additional Links
Maintainers
- Shingo Kitagawa
Authors
- Hideaki Ito
google_cloud_texttospeech
ROS Interface for Google Cloud Text-to-Speech
Preparation
- Register Google Cloud Text-to-Speech API
- Put the credential json for Google Cloud Text-to-Speech API in your robot
Installation
For python2.7, you need to use google-cloud-texttospeech==1.0.1
.
sudo pip install google-cloud-texttospeech==1.0.1
Usage
Launch sound_play with Google Cloud Text-to-Speech
roslaunch google_cloud_texttospeech google_cloud_texttospeech.launch credential:=/your/credential/json/path
Say something
For python users
import rospy
from sound_play.libsoundplay import SoundClient
rospy.init_node('say_node')
client = SoundClient(sound_action='robotsound', sound_topic='robotsound')
client.say('hello!')
client.say('こんにちは', voice='ja')
You can change the voice by changing the voice_name. Look at the following website for further details. Google Cloud Text-to-Speech Supported voices and languages
We can use standard and WaveNet voices. WaveNet voices are higher quality voices with different pricing; in the list, they have the voice type ‘WaveNet’.
You can also choose the language by specifying the language code.
ja
for Japanese, de
for German, etc.
client.say('你好', voice='cmn-TW-Wavenet-A')
client.say('Hallo', voice='de')
For roseus users
$ roseus
(load "package://pr2eus/speak.l")
(ros::roseus "say_node")
(speak "JSKへようこそ。" :lang "ja-JP-Wavenet-B" :wait t)
(speak "Welcome to JSK." :lang "en-US-Wavenet-A" :wait t)
(speak "欢迎来到 JSK" :lang "cmn-TW-Wavenet-A" :wait t)
(speak "Willkommen bei JSK" :lang "de-DE-Wavenet-A" :wait t)
Tips
By default, generated audio files are stored at $HOME/.ros/google_cloud_texttospeech/cache
.
If you want to change the cache directory, please set GOOGLE_CLOUD_TEXTTOSPEECH_CACHE_DIR
as an environment variable.
If you don’t want to cache the files, please set GOOGLE_CLOUD_TEXTTOSPEECH_CACHE_ENABLED=false
.
Changelog for package google_cloud_texttospeech
2.1.31 (2025-05-13)
2.1.30 (2025-05-10)
2.1.29 (2025-01-05)
2.1.28 (2023-07-24)
2.1.27 (2023-06-24)
2.1.26 (2023-06-14)
- add LICENSE files (#476)
- Contributors: Kei Okada
2.1.25 (2023-06-08)
- [google_cloud_texttospeech] Add cache option (#267)
- Contributors: Kei Okada, Iory Yanokura
2.1.24 (2021-07-26)
2.1.23 (2021-07-21)
- [google_cloud_texttospeech] Fixed for 2.0.0 and later versions. (#266)
- [google_cloud_texttospeech] Support multiple languages. (#269)
- Contributors: Iory Yanokura
2.1.22 (2021-06-10)
- add google_cloud_texttospeech packagef( #218)
- Contributors: Shingo Kitagawa, Shun Hasegawa
2.1.21 (2020-08-19)
2.1.20 (2020-08-07)
2.1.19 (2020-07-21)
2.1.18 (2020-07-20)
2.1.17 (2020-04-16 21:51)
2.1.16 (2020-04-16 15:21)
2.1.15 (2019-12-12)
2.1.14 (2019-11-21)
2.1.13 (2019-07-10)
2.1.12 (2019-05-25)
2.1.11 (2018-08-29)
2.1.10 (2018-04-25)
2.1.9 (2018-04-24)
2.1.8 (2018-04-17)
2.1.7 (2018-04-09)
2.1.6 (2017-11-21)
2.1.5 (2017-11-20)
2.1.4 (2017-07-16)
2.1.3 (2017-07-07)
2.1.2 (2017-07-06)
2.1.1 (2017-07-05)
2.1.0 (2017-07-02)
2.0.20 (2017-05-09)
2.0.19 (2017-02-22)
2.0.18 (2016-10-28)
2.0.17 (2016-10-22)
2.0.16 (2016-10-17)
2.0.15 (2016-10-16)
2.0.14 (2016-03-20)
2.0.13 (2015-12-15)
File truncated at 100 lines see the full file
Wiki Tutorials
Dependant Packages
Name | Deps |
---|---|
jsk_3rdparty |
Launch files
- launch/google_cloud_texttospeech.launch
-
- sound_play_machine [default: localhost] — Machine to run sound_play node (default: localhost)
- sound_play_respawn [default: true] — Respawn sound_play node or not (default: true)
- credential [default: $(optenv GOOGLE_APPLICATION_CREDENTIALS /etc/opt/jsk/robot/google-speech-recognition.json)] — Credential json path for Google Cloud Text-to-Speech (default: $GOOGLE_APPLICATION_CREDENTIALS or /etc/opt/jsk/robot/google-speech-recognition.json)
- use_english [default: true] — Use Google Cloud Text-to-Speech for English or not (default: true)
- use_japanese [default: true] — Use Google Cloud Text-to-Speech for Japanese or not (default: true)
- english_speed [default: 100] — English speaking speed (default: 100)
- japanese_speed [default: 100] — Japanese speaking speed (default: 100)
- cache [default: $(optenv GOOGLE_CLOUD_TEXTTOSPEECH_CACHE_ENABLED true)] — Cache generated sound file (default: true)
Messages
Services
Plugins
Recent questions tagged google_cloud_texttospeech at Robotics Stack Exchange
Package Summary
Tags | No category tags. |
Version | 2.1.31 |
License | BSD |
Build type | CATKIN |
Use | RECOMMENDED |
Repository Summary
Checkout URI | https://github.com/jsk-ros-pkg/jsk_3rdparty.git |
VCS Type | git |
VCS Version | master |
Last Updated | 2025-05-13 |
Dev Status | DEVELOPED |
CI status | No Continuous Integration |
Released | RELEASED |
Tags | No category tags. |
Contributing |
Help Wanted (0)
Good First Issues (0) Pull Requests to Review (0) |
Package Description
Additional Links
Maintainers
- Shingo Kitagawa
Authors
- Hideaki Ito
google_cloud_texttospeech
ROS Interface for Google Cloud Text-to-Speech
Preparation
- Register Google Cloud Text-to-Speech API
- Put the credential json for Google Cloud Text-to-Speech API in your robot
Installation
For python2.7, you need to use google-cloud-texttospeech==1.0.1
.
sudo pip install google-cloud-texttospeech==1.0.1
Usage
Launch sound_play with Google Cloud Text-to-Speech
roslaunch google_cloud_texttospeech google_cloud_texttospeech.launch credential:=/your/credential/json/path
Say something
For python users
import rospy
from sound_play.libsoundplay import SoundClient
rospy.init_node('say_node')
client = SoundClient(sound_action='robotsound', sound_topic='robotsound')
client.say('hello!')
client.say('こんにちは', voice='ja')
You can change the voice by changing the voice_name. Look at the following website for further details. Google Cloud Text-to-Speech Supported voices and languages
We can use standard and WaveNet voices. WaveNet voices are higher quality voices with different pricing; in the list, they have the voice type ‘WaveNet’.
You can also choose the language by specifying the language code.
ja
for Japanese, de
for German, etc.
client.say('你好', voice='cmn-TW-Wavenet-A')
client.say('Hallo', voice='de')
For roseus users
$ roseus
(load "package://pr2eus/speak.l")
(ros::roseus "say_node")
(speak "JSKへようこそ。" :lang "ja-JP-Wavenet-B" :wait t)
(speak "Welcome to JSK." :lang "en-US-Wavenet-A" :wait t)
(speak "欢迎来到 JSK" :lang "cmn-TW-Wavenet-A" :wait t)
(speak "Willkommen bei JSK" :lang "de-DE-Wavenet-A" :wait t)
Tips
By default, generated audio files are stored at $HOME/.ros/google_cloud_texttospeech/cache
.
If you want to change the cache directory, please set GOOGLE_CLOUD_TEXTTOSPEECH_CACHE_DIR
as an environment variable.
If you don’t want to cache the files, please set GOOGLE_CLOUD_TEXTTOSPEECH_CACHE_ENABLED=false
.
Changelog for package google_cloud_texttospeech
2.1.31 (2025-05-13)
2.1.30 (2025-05-10)
2.1.29 (2025-01-05)
2.1.28 (2023-07-24)
2.1.27 (2023-06-24)
2.1.26 (2023-06-14)
- add LICENSE files (#476)
- Contributors: Kei Okada
2.1.25 (2023-06-08)
- [google_cloud_texttospeech] Add cache option (#267)
- Contributors: Kei Okada, Iory Yanokura
2.1.24 (2021-07-26)
2.1.23 (2021-07-21)
- [google_cloud_texttospeech] Fixed for 2.0.0 and later versions. (#266)
- [google_cloud_texttospeech] Support multiple languages. (#269)
- Contributors: Iory Yanokura
2.1.22 (2021-06-10)
- add google_cloud_texttospeech packagef( #218)
- Contributors: Shingo Kitagawa, Shun Hasegawa
2.1.21 (2020-08-19)
2.1.20 (2020-08-07)
2.1.19 (2020-07-21)
2.1.18 (2020-07-20)
2.1.17 (2020-04-16 21:51)
2.1.16 (2020-04-16 15:21)
2.1.15 (2019-12-12)
2.1.14 (2019-11-21)
2.1.13 (2019-07-10)
2.1.12 (2019-05-25)
2.1.11 (2018-08-29)
2.1.10 (2018-04-25)
2.1.9 (2018-04-24)
2.1.8 (2018-04-17)
2.1.7 (2018-04-09)
2.1.6 (2017-11-21)
2.1.5 (2017-11-20)
2.1.4 (2017-07-16)
2.1.3 (2017-07-07)
2.1.2 (2017-07-06)
2.1.1 (2017-07-05)
2.1.0 (2017-07-02)
2.0.20 (2017-05-09)
2.0.19 (2017-02-22)
2.0.18 (2016-10-28)
2.0.17 (2016-10-22)
2.0.16 (2016-10-17)
2.0.15 (2016-10-16)
2.0.14 (2016-03-20)
2.0.13 (2015-12-15)
File truncated at 100 lines see the full file
Wiki Tutorials
Dependant Packages
Name | Deps |
---|---|
jsk_3rdparty |
Launch files
- launch/google_cloud_texttospeech.launch
-
- sound_play_machine [default: localhost] — Machine to run sound_play node (default: localhost)
- sound_play_respawn [default: true] — Respawn sound_play node or not (default: true)
- credential [default: $(optenv GOOGLE_APPLICATION_CREDENTIALS /etc/opt/jsk/robot/google-speech-recognition.json)] — Credential json path for Google Cloud Text-to-Speech (default: $GOOGLE_APPLICATION_CREDENTIALS or /etc/opt/jsk/robot/google-speech-recognition.json)
- use_english [default: true] — Use Google Cloud Text-to-Speech for English or not (default: true)
- use_japanese [default: true] — Use Google Cloud Text-to-Speech for Japanese or not (default: true)
- english_speed [default: 100] — English speaking speed (default: 100)
- japanese_speed [default: 100] — Japanese speaking speed (default: 100)
- cache [default: $(optenv GOOGLE_CLOUD_TEXTTOSPEECH_CACHE_ENABLED true)] — Cache generated sound file (default: true)