Package Summary

Tags No category tags.
Version 2.1.22
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 2021-06-18
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

ROS interface aques_talk demo program

Additional Links

Maintainers

  • Kei Okada

Authors

  • AQUEST Corp, ROS package maintained by Kei Okada

aques_talk

ROS Interface for AqeusTalk2.

For detail, Please see manual and symbols table

Usage

Build aques_talk

mkdir -p catkin_ws/src
cd  catkin_ws/src
wstool init .
wstool set --git jsk-ros-pkg/jsk_3rdparty https://github.com/jsk-ros-pkg/jsk_3rdparty.git -y
wstool update -t .
source /opt/ros/$ROS_DISTRO/setup.bash
rosdep install -y -r --from-paths . --ignore-src
cd ../
catkin build aques_talk
source devel/setup.bash

Launch sound_play with AquesTalk2 Text-to-Speech

roslaunch aques_talk aques_talk.launch

Say something

$ rostopic pub /robotsound_jp  sound_play/SoundRequest "{sound: -3, command: 1, volume: 10.0, arg: 'こんにちわ', arg2: ''}"
$ rostopic pub /robotsound_jp  sound_play/SoundRequest "{sound: -3, command: 1, volume: 10.0, arg: 'こんにちわピーアールツー', arg2: ''}"

import rospy
from sound_play.libsoundplay import SoundClient

rospy.init_node('say_node')

client = SoundClient(sound_action='robotsound_jp', sound_topic='robotsound_jp')

client.say('こんにちは')

# note that
client.say('Hello')
# does not work ! Use
client.say('Hello', voice='en')



Limitations on input strings

All charactors except [a-zA-Z0-9ぁ-んァ-ンー、。??] and Kanji are removed so that AquesTalk2 can recognize them.

’こ”^^ん/に*|ち**|は;:;:『』!##$$&&~〜()()__`\_\\\_・・<\>*`><++@@ー==%[]-¥
->
こんにちはー

Do not input the unpronounceable or control characters. For example, - - at the beginning of sentence ( or at the beginning of sentence cannot be pronounced) - たぁ (On the other hand, ふぁ can be pronounced.) - ' " in many programs (Because many programs recognize them as string control charactor) - ! ` if you use shell (Because shell recognizes them as control charactor)

You should be careful in input charactors about how they are pronounced.

Wrong -> Correct
20時です -> 20じです # Kanji is sometimes mispronounced.
fetch15 -> フェッチ15 # fetch is pronounced as エフ、イー、ティー、シー、エイチ
73B2 -> 7,3,B,2 # 73B2 is pronounced as ななじゅうさんビーに
私の名前は -> 私の名前わ

CHANGELOG

Changelog for package aques_talk

2.1.22 (2021-06-10)

  • Ignore charactors which AquesTalk2 cannot recognize (#257)
    • Update README on limitation
    • Delete certain characters when they come at the beginning of a sentence
    • fixed character replacement
    • Update README
    • Support Katakana
    • All charactors except [^a-zA-Z0-9

Wiki Tutorials

See ROS Wiki Tutorials for more details.

Source Tutorials

Not currently indexed.

Package Dependencies

System Dependencies

Name
kakasi
nkf

Dependant Packages

No known dependants.

Launch files

  • launch/aques_talk.launch
      • voice_text_machine [default: localhost]
      • sound_play_machine [default: localhost]
      • sound_play_topic [default: robotsound_jp]
      • sound_play_node_name [default: sound_play_jp]
      • launch_sound_play [default: true]
      • use_machine [default: true]
      • sound_play_respawn [default: true]

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged aques_talk at answers.ros.org

Package Summary

Tags No category tags.
Version 2.1.22
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 2021-06-18
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

ROS interface aques_talk demo program

Additional Links

Maintainers

  • Kei Okada

Authors

  • AQUEST Corp, ROS package maintained by Kei Okada

aques_talk

ROS Interface for AqeusTalk2.

For detail, Please see manual and symbols table

Usage

Build aques_talk

mkdir -p catkin_ws/src
cd  catkin_ws/src
wstool init .
wstool set --git jsk-ros-pkg/jsk_3rdparty https://github.com/jsk-ros-pkg/jsk_3rdparty.git -y
wstool update -t .
source /opt/ros/$ROS_DISTRO/setup.bash
rosdep install -y -r --from-paths . --ignore-src
cd ../
catkin build aques_talk
source devel/setup.bash

Launch sound_play with AquesTalk2 Text-to-Speech

roslaunch aques_talk aques_talk.launch

Say something

$ rostopic pub /robotsound_jp  sound_play/SoundRequest "{sound: -3, command: 1, volume: 10.0, arg: 'こんにちわ', arg2: ''}"
$ rostopic pub /robotsound_jp  sound_play/SoundRequest "{sound: -3, command: 1, volume: 10.0, arg: 'こんにちわピーアールツー', arg2: ''}"

import rospy
from sound_play.libsoundplay import SoundClient

rospy.init_node('say_node')

client = SoundClient(sound_action='robotsound_jp', sound_topic='robotsound_jp')

client.say('こんにちは')

# note that
client.say('Hello')
# does not work ! Use
client.say('Hello', voice='en')



Limitations on input strings

All charactors except [a-zA-Z0-9ぁ-んァ-ンー、。??] and Kanji are removed so that AquesTalk2 can recognize them.

’こ”^^ん/に*|ち**|は;:;:『』!##$$&&~〜()()__`\_\\\_・・<\>*`><++@@ー==%[]-¥
->
こんにちはー

Do not input the unpronounceable or control characters. For example, - - at the beginning of sentence ( or at the beginning of sentence cannot be pronounced) - たぁ (On the other hand, ふぁ can be pronounced.) - ' " in many programs (Because many programs recognize them as string control charactor) - ! ` if you use shell (Because shell recognizes them as control charactor)

You should be careful in input charactors about how they are pronounced.

Wrong -> Correct
20時です -> 20じです # Kanji is sometimes mispronounced.
fetch15 -> フェッチ15 # fetch is pronounced as エフ、イー、ティー、シー、エイチ
73B2 -> 7,3,B,2 # 73B2 is pronounced as ななじゅうさんビーに
私の名前は -> 私の名前わ

CHANGELOG

Changelog for package aques_talk

2.1.22 (2021-06-10)

  • Ignore charactors which AquesTalk2 cannot recognize (#257)
    • Update README on limitation
    • Delete certain characters when they come at the beginning of a sentence
    • fixed character replacement
    • Update README
    • Support Katakana
    • All charactors except [^a-zA-Z0-9

Wiki Tutorials

See ROS Wiki Tutorials for more details.

Source Tutorials

Not currently indexed.

Package Dependencies

System Dependencies

Name
kakasi
nkf

Dependant Packages

No known dependants.

Launch files

  • launch/aques_talk.launch
      • voice_text_machine [default: localhost]
      • sound_play_machine [default: localhost]
      • sound_play_topic [default: robotsound_jp]
      • sound_play_node_name [default: sound_play_jp]
      • launch_sound_play [default: true]
      • use_machine [default: true]
      • sound_play_respawn [default: true]

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged aques_talk at answers.ros.org

Package Summary

Tags No category tags.
Version 2.1.22
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 2021-06-18
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

ROS interface aques_talk demo program

Additional Links

Maintainers

  • Kei Okada

Authors

  • AQUEST Corp, ROS package maintained by Kei Okada

aques_talk

ROS Interface for AqeusTalk2.

For detail, Please see manual and symbols table

Usage

Build aques_talk

mkdir -p catkin_ws/src
cd  catkin_ws/src
wstool init .
wstool set --git jsk-ros-pkg/jsk_3rdparty https://github.com/jsk-ros-pkg/jsk_3rdparty.git -y
wstool update -t .
source /opt/ros/$ROS_DISTRO/setup.bash
rosdep install -y -r --from-paths . --ignore-src
cd ../
catkin build aques_talk
source devel/setup.bash

Launch sound_play with AquesTalk2 Text-to-Speech

roslaunch aques_talk aques_talk.launch

Say something

$ rostopic pub /robotsound_jp  sound_play/SoundRequest "{sound: -3, command: 1, volume: 10.0, arg: 'こんにちわ', arg2: ''}"
$ rostopic pub /robotsound_jp  sound_play/SoundRequest "{sound: -3, command: 1, volume: 10.0, arg: 'こんにちわピーアールツー', arg2: ''}"

import rospy
from sound_play.libsoundplay import SoundClient

rospy.init_node('say_node')

client = SoundClient(sound_action='robotsound_jp', sound_topic='robotsound_jp')

client.say('こんにちは')

# note that
client.say('Hello')
# does not work ! Use
client.say('Hello', voice='en')



Limitations on input strings

All charactors except [a-zA-Z0-9ぁ-んァ-ンー、。??] and Kanji are removed so that AquesTalk2 can recognize them.

’こ”^^ん/に*|ち**|は;:;:『』!##$$&&~〜()()__`\_\\\_・・<\>*`><++@@ー==%[]-¥
->
こんにちはー

Do not input the unpronounceable or control characters. For example, - - at the beginning of sentence ( or at the beginning of sentence cannot be pronounced) - たぁ (On the other hand, ふぁ can be pronounced.) - ' " in many programs (Because many programs recognize them as string control charactor) - ! ` if you use shell (Because shell recognizes them as control charactor)

You should be careful in input charactors about how they are pronounced.

Wrong -> Correct
20時です -> 20じです # Kanji is sometimes mispronounced.
fetch15 -> フェッチ15 # fetch is pronounced as エフ、イー、ティー、シー、エイチ
73B2 -> 7,3,B,2 # 73B2 is pronounced as ななじゅうさんビーに
私の名前は -> 私の名前わ

CHANGELOG

Changelog for package aques_talk

2.1.22 (2021-06-10)

  • Ignore charactors which AquesTalk2 cannot recognize (#257)
    • Update README on limitation
    • Delete certain characters when they come at the beginning of a sentence
    • fixed character replacement
    • Update README
    • Support Katakana
    • All charactors except [^a-zA-Z0-9

Wiki Tutorials

See ROS Wiki Tutorials for more details.

Source Tutorials

Not currently indexed.

Package Dependencies

System Dependencies

Name
kakasi
nkf

Dependant Packages

No known dependants.

Launch files

  • launch/aques_talk.launch
      • voice_text_machine [default: localhost]
      • sound_play_machine [default: localhost]
      • sound_play_topic [default: robotsound_jp]
      • sound_play_node_name [default: sound_play_jp]
      • launch_sound_play [default: true]
      • use_machine [default: true]
      • sound_play_respawn [default: true]

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged aques_talk at answers.ros.org

Package Summary

Tags No category tags.
Version 2.1.22
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 2021-06-18
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

ROS interface aques_talk demo program

Additional Links

Maintainers

  • Kei Okada

Authors

  • AQUEST Corp, ROS package maintained by Kei Okada

aques_talk

ROS Interface for AqeusTalk2.

For detail, Please see manual and symbols table

Usage

Build aques_talk

mkdir -p catkin_ws/src
cd  catkin_ws/src
wstool init .
wstool set --git jsk-ros-pkg/jsk_3rdparty https://github.com/jsk-ros-pkg/jsk_3rdparty.git -y
wstool update -t .
source /opt/ros/$ROS_DISTRO/setup.bash
rosdep install -y -r --from-paths . --ignore-src
cd ../
catkin build aques_talk
source devel/setup.bash

Launch sound_play with AquesTalk2 Text-to-Speech

roslaunch aques_talk aques_talk.launch

Say something

$ rostopic pub /robotsound_jp  sound_play/SoundRequest "{sound: -3, command: 1, volume: 10.0, arg: 'こんにちわ', arg2: ''}"
$ rostopic pub /robotsound_jp  sound_play/SoundRequest "{sound: -3, command: 1, volume: 10.0, arg: 'こんにちわピーアールツー', arg2: ''}"

import rospy
from sound_play.libsoundplay import SoundClient

rospy.init_node('say_node')

client = SoundClient(sound_action='robotsound_jp', sound_topic='robotsound_jp')

client.say('こんにちは')

# note that
client.say('Hello')
# does not work ! Use
client.say('Hello', voice='en')



Limitations on input strings

All charactors except [a-zA-Z0-9ぁ-んァ-ンー、。??] and Kanji are removed so that AquesTalk2 can recognize them.

’こ”^^ん/に*|ち**|は;:;:『』!##$$&&~〜()()__`\_\\\_・・<\>*`><++@@ー==%[]-¥
->
こんにちはー

Do not input the unpronounceable or control characters. For example, - - at the beginning of sentence ( or at the beginning of sentence cannot be pronounced) - たぁ (On the other hand, ふぁ can be pronounced.) - ' " in many programs (Because many programs recognize them as string control charactor) - ! ` if you use shell (Because shell recognizes them as control charactor)

You should be careful in input charactors about how they are pronounced.

Wrong -> Correct
20時です -> 20じです # Kanji is sometimes mispronounced.
fetch15 -> フェッチ15 # fetch is pronounced as エフ、イー、ティー、シー、エイチ
73B2 -> 7,3,B,2 # 73B2 is pronounced as ななじゅうさんビーに
私の名前は -> 私の名前わ

CHANGELOG

Changelog for package aques_talk

2.1.22 (2021-06-10)

  • Ignore charactors which AquesTalk2 cannot recognize (#257)
    • Update README on limitation
    • Delete certain characters when they come at the beginning of a sentence
    • fixed character replacement
    • Update README
    • Support Katakana
    • All charactors except [^a-zA-Z0-9

Wiki Tutorials

See ROS Wiki Tutorials for more details.

Source Tutorials

Not currently indexed.

Package Dependencies

System Dependencies

Name
kakasi
nkf

Dependant Packages

No known dependants.

Launch files

  • launch/aques_talk.launch
      • voice_text_machine [default: localhost]
      • sound_play_machine [default: localhost]
      • sound_play_topic [default: robotsound_jp]
      • sound_play_node_name [default: sound_play_jp]
      • launch_sound_play [default: true]
      • use_machine [default: true]
      • sound_play_respawn [default: true]

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged aques_talk at answers.ros.org

Package Summary

Tags No category tags.
Version 2.1.22
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 2021-06-18
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

ROS interface aques_talk demo program

Additional Links

Maintainers

  • Kei Okada

Authors

  • AQUEST Corp, ROS package maintained by Kei Okada

aques_talk

ROS Interface for AqeusTalk2.

For detail, Please see manual and symbols table

Usage

Build aques_talk

mkdir -p catkin_ws/src
cd  catkin_ws/src
wstool init .
wstool set --git jsk-ros-pkg/jsk_3rdparty https://github.com/jsk-ros-pkg/jsk_3rdparty.git -y
wstool update -t .
source /opt/ros/$ROS_DISTRO/setup.bash
rosdep install -y -r --from-paths . --ignore-src
cd ../
catkin build aques_talk
source devel/setup.bash

Launch sound_play with AquesTalk2 Text-to-Speech

roslaunch aques_talk aques_talk.launch

Say something

$ rostopic pub /robotsound_jp  sound_play/SoundRequest "{sound: -3, command: 1, volume: 10.0, arg: 'こんにちわ', arg2: ''}"
$ rostopic pub /robotsound_jp  sound_play/SoundRequest "{sound: -3, command: 1, volume: 10.0, arg: 'こんにちわピーアールツー', arg2: ''}"

import rospy
from sound_play.libsoundplay import SoundClient

rospy.init_node('say_node')

client = SoundClient(sound_action='robotsound_jp', sound_topic='robotsound_jp')

client.say('こんにちは')

# note that
client.say('Hello')
# does not work ! Use
client.say('Hello', voice='en')



Limitations on input strings

All charactors except [a-zA-Z0-9ぁ-んァ-ンー、。??] and Kanji are removed so that AquesTalk2 can recognize them.

’こ”^^ん/に*|ち**|は;:;:『』!##$$&&~〜()()__`\_\\\_・・<\>*`><++@@ー==%[]-¥
->
こんにちはー

Do not input the unpronounceable or control characters. For example, - - at the beginning of sentence ( or at the beginning of sentence cannot be pronounced) - たぁ (On the other hand, ふぁ can be pronounced.) - ' " in many programs (Because many programs recognize them as string control charactor) - ! ` if you use shell (Because shell recognizes them as control charactor)

You should be careful in input charactors about how they are pronounced.

Wrong -> Correct
20時です -> 20じです # Kanji is sometimes mispronounced.
fetch15 -> フェッチ15 # fetch is pronounced as エフ、イー、ティー、シー、エイチ
73B2 -> 7,3,B,2 # 73B2 is pronounced as ななじゅうさんビーに
私の名前は -> 私の名前わ

CHANGELOG

Changelog for package aques_talk

2.1.22 (2021-06-10)

  • Ignore charactors which AquesTalk2 cannot recognize (#257)
    • Update README on limitation
    • Delete certain characters when they come at the beginning of a sentence
    • fixed character replacement
    • Update README
    • Support Katakana
    • All charactors except [^a-zA-Z0-9

Wiki Tutorials

See ROS Wiki Tutorials for more details.

Source Tutorials

Not currently indexed.

Package Dependencies

System Dependencies

Name
kakasi
nkf

Dependant Packages

No known dependants.

Launch files

  • launch/aques_talk.launch
      • voice_text_machine [default: localhost]
      • sound_play_machine [default: localhost]
      • sound_play_topic [default: robotsound_jp]
      • sound_play_node_name [default: sound_play_jp]
      • launch_sound_play [default: true]
      • use_machine [default: true]
      • sound_play_respawn [default: true]

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged aques_talk at answers.ros.org

Package Summary

Tags No category tags.
Version 2.1.22
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 2021-06-18
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

ROS interface aques_talk demo program

Additional Links

Maintainers

  • Kei Okada

Authors

  • AQUEST Corp, ROS package maintained by Kei Okada

aques_talk

ROS Interface for AqeusTalk2.

For detail, Please see manual and symbols table

Usage

Build aques_talk

mkdir -p catkin_ws/src
cd  catkin_ws/src
wstool init .
wstool set --git jsk-ros-pkg/jsk_3rdparty https://github.com/jsk-ros-pkg/jsk_3rdparty.git -y
wstool update -t .
source /opt/ros/$ROS_DISTRO/setup.bash
rosdep install -y -r --from-paths . --ignore-src
cd ../
catkin build aques_talk
source devel/setup.bash

Launch sound_play with AquesTalk2 Text-to-Speech

roslaunch aques_talk aques_talk.launch

Say something

$ rostopic pub /robotsound_jp  sound_play/SoundRequest "{sound: -3, command: 1, volume: 10.0, arg: 'こんにちわ', arg2: ''}"
$ rostopic pub /robotsound_jp  sound_play/SoundRequest "{sound: -3, command: 1, volume: 10.0, arg: 'こんにちわピーアールツー', arg2: ''}"

import rospy
from sound_play.libsoundplay import SoundClient

rospy.init_node('say_node')

client = SoundClient(sound_action='robotsound_jp', sound_topic='robotsound_jp')

client.say('こんにちは')

# note that
client.say('Hello')
# does not work ! Use
client.say('Hello', voice='en')



Limitations on input strings

All charactors except [a-zA-Z0-9ぁ-んァ-ンー、。??] and Kanji are removed so that AquesTalk2 can recognize them.

’こ”^^ん/に*|ち**|は;:;:『』!##$$&&~〜()()__`\_\\\_・・<\>*`><++@@ー==%[]-¥
->
こんにちはー

Do not input the unpronounceable or control characters. For example, - - at the beginning of sentence ( or at the beginning of sentence cannot be pronounced) - たぁ (On the other hand, ふぁ can be pronounced.) - ' " in many programs (Because many programs recognize them as string control charactor) - ! ` if you use shell (Because shell recognizes them as control charactor)

You should be careful in input charactors about how they are pronounced.

Wrong -> Correct
20時です -> 20じです # Kanji is sometimes mispronounced.
fetch15 -> フェッチ15 # fetch is pronounced as エフ、イー、ティー、シー、エイチ
73B2 -> 7,3,B,2 # 73B2 is pronounced as ななじゅうさんビーに
私の名前は -> 私の名前わ

CHANGELOG

Changelog for package aques_talk

2.1.22 (2021-06-10)

  • Ignore charactors which AquesTalk2 cannot recognize (#257)
    • Update README on limitation
    • Delete certain characters when they come at the beginning of a sentence
    • fixed character replacement
    • Update README
    • Support Katakana
    • All charactors except [^a-zA-Z0-9

Wiki Tutorials

See ROS Wiki Tutorials for more details.

Source Tutorials

Not currently indexed.

Package Dependencies

System Dependencies

Name
kakasi
nkf

Dependant Packages

No known dependants.

Launch files

  • launch/aques_talk.launch
      • voice_text_machine [default: localhost]
      • sound_play_machine [default: localhost]
      • sound_play_topic [default: robotsound_jp]
      • sound_play_node_name [default: sound_play_jp]
      • launch_sound_play [default: true]
      • use_machine [default: true]
      • sound_play_respawn [default: true]

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged aques_talk at answers.ros.org

Package Summary

Tags No category tags.
Version 2.1.22
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 2021-06-18
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

ROS interface aques_talk demo program

Additional Links

Maintainers

  • Kei Okada

Authors

  • AQUEST Corp, ROS package maintained by Kei Okada

aques_talk

ROS Interface for AqeusTalk2.

For detail, Please see manual and symbols table

Usage

Build aques_talk

mkdir -p catkin_ws/src
cd  catkin_ws/src
wstool init .
wstool set --git jsk-ros-pkg/jsk_3rdparty https://github.com/jsk-ros-pkg/jsk_3rdparty.git -y
wstool update -t .
source /opt/ros/$ROS_DISTRO/setup.bash
rosdep install -y -r --from-paths . --ignore-src
cd ../
catkin build aques_talk
source devel/setup.bash

Launch sound_play with AquesTalk2 Text-to-Speech

roslaunch aques_talk aques_talk.launch

Say something

$ rostopic pub /robotsound_jp  sound_play/SoundRequest "{sound: -3, command: 1, volume: 10.0, arg: 'こんにちわ', arg2: ''}"
$ rostopic pub /robotsound_jp  sound_play/SoundRequest "{sound: -3, command: 1, volume: 10.0, arg: 'こんにちわピーアールツー', arg2: ''}"

import rospy
from sound_play.libsoundplay import SoundClient

rospy.init_node('say_node')

client = SoundClient(sound_action='robotsound_jp', sound_topic='robotsound_jp')

client.say('こんにちは')

# note that
client.say('Hello')
# does not work ! Use
client.say('Hello', voice='en')



Limitations on input strings

All charactors except [a-zA-Z0-9ぁ-んァ-ンー、。??] and Kanji are removed so that AquesTalk2 can recognize them.

’こ”^^ん/に*|ち**|は;:;:『』!##$$&&~〜()()__`\_\\\_・・<\>*`><++@@ー==%[]-¥
->
こんにちはー

Do not input the unpronounceable or control characters. For example, - - at the beginning of sentence ( or at the beginning of sentence cannot be pronounced) - たぁ (On the other hand, ふぁ can be pronounced.) - ' " in many programs (Because many programs recognize them as string control charactor) - ! ` if you use shell (Because shell recognizes them as control charactor)

You should be careful in input charactors about how they are pronounced.

Wrong -> Correct
20時です -> 20じです # Kanji is sometimes mispronounced.
fetch15 -> フェッチ15 # fetch is pronounced as エフ、イー、ティー、シー、エイチ
73B2 -> 7,3,B,2 # 73B2 is pronounced as ななじゅうさんビーに
私の名前は -> 私の名前わ

CHANGELOG

Changelog for package aques_talk

2.1.22 (2021-06-10)

  • Ignore charactors which AquesTalk2 cannot recognize (#257)
    • Update README on limitation
    • Delete certain characters when they come at the beginning of a sentence
    • fixed character replacement
    • Update README
    • Support Katakana
    • All charactors except [^a-zA-Z0-9

Wiki Tutorials

See ROS Wiki Tutorials for more details.

Source Tutorials

Not currently indexed.

Package Dependencies

System Dependencies

Name
kakasi
nkf

Dependant Packages

No known dependants.

Launch files

  • launch/aques_talk.launch
      • voice_text_machine [default: localhost]
      • sound_play_machine [default: localhost]
      • sound_play_topic [default: robotsound_jp]
      • sound_play_node_name [default: sound_play_jp]
      • launch_sound_play [default: true]
      • use_machine [default: true]
      • sound_play_respawn [default: true]

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged aques_talk at answers.ros.org