[Documentation] [TitleIndex] [WordIndex

  Show EOL distros: 

cob_driver: cob_base_drive_chain | cob_camera_sensors | cob_canopen_motor | cob_generic_can | cob_head_axis | cob_hokuyo | cob_hwboard | cob_light | cob_phidgets | cob_relayboard | cob_sick_lms1xx | cob_sick_s300 | cob_sound | cob_undercarriage_ctrl | cob_utilities | cob_voltage_control

Package Summary

This package implements a sound play module using text2wave and aplay through python.

  • Maintainer status: developed
  • Maintainer: Nadia Hammoudeh Garcia <nhg AT ipa.fhg DOT de>
  • Author: Florian Weisshardt
  • License: LGPL
  • Source: git https://github.com/ipa320/cob_driver.git (branch: hydro_release_candidate)
cob_driver: cob_base_drive_chain | cob_bms_driver | cob_camera_sensors | cob_canopen_motor | cob_elmo_homing | cob_generic_can | cob_light | cob_mimic | cob_phidgets | cob_relayboard | cob_scan_unifier | cob_sick_lms1xx | cob_sick_s300 | cob_sound | cob_undercarriage_ctrl | cob_utilities | cob_voltage_control

Package Summary

This package implements a sound play module using text2wave and aplay through python.

  • Maintainer status: maintained
  • Maintainer: Felix Messmer <felixmessmer AT gmail DOT com>, Benjamin Maidel <benjamin.maidel AT mojin-robotics DOT de>
  • Author: Florian Weisshardt, Benjamin Maidel
  • License: Apache 2.0
  • Source: git https://github.com/ipa320/cob_driver.git (branch: indigo_release_candidate)
cob_driver: cob_base_drive_chain | cob_bms_driver | cob_canopen_motor | cob_elmo_homing | cob_generic_can | cob_light | cob_mimic | cob_phidgets | cob_relayboard | cob_scan_unifier | cob_sick_lms1xx | cob_sick_s300 | cob_sound | cob_undercarriage_ctrl | cob_utilities | cob_voltage_control

Package Summary

This package implements a sound play module using text2wave and aplay through python.

  • Maintainer status: developed
  • Maintainer: Felix Messmer <felixmessmer AT gmail DOT com>, Benjamin Maidel <benjamin.maidel AT mojin-robotics DOT de>
  • Author: Florian Weisshardt, Benjamin Maidel
  • License: Apache 2.0
  • Source: git https://github.com/ipa320/cob_driver.git (branch: kinetic_release_candidate)
cob_driver: cob_base_drive_chain | cob_bms_driver | cob_canopen_motor | cob_elmo_homing | cob_generic_can | cob_light | cob_mimic | cob_phidgets | cob_relayboard | cob_scan_unifier | cob_sick_lms1xx | cob_sick_s300 | cob_sound | cob_undercarriage_ctrl | cob_utilities | cob_voltage_control

Package Summary

This package implements a sound play module using text2wave and aplay through python.

  • Maintainer status: maintained
  • Maintainer: Felix Messmer <felixmessmer AT gmail DOT com>, Benjamin Maidel <benjamin.maidel AT mojin-robotics DOT de>
  • Author: Florian Weisshardt, Benjamin Maidel
  • License: Apache 2.0
  • Source: git https://github.com/ipa320/cob_driver.git (branch: kinetic_release_candidate)
cob_driver: cob_base_drive_chain | cob_bms_driver | cob_canopen_motor | cob_elmo_homing | cob_generic_can | cob_light | cob_mimic | cob_phidgets | cob_relayboard | cob_scan_unifier | cob_sick_lms1xx | cob_sick_s300 | cob_sound | cob_undercarriage_ctrl | cob_utilities | cob_voltage_control

Package Summary

This package implements a sound play module using text2wave and aplay through python.

  • Maintainer status: maintained
  • Maintainer: Felix Messmer <felixmessmer AT gmail DOT com>, Benjamin Maidel <benjamin.maidel AT mojin-robotics DOT de>
  • Author: Florian Weisshardt, Benjamin Maidel
  • License: Apache 2.0
  • Source: git https://github.com/ipa320/cob_driver.git (branch: kinetic_release_candidate)

You can use TTS speach output by using the cob_script_server.

Starting Sound

NOTE: If you login remotely via ssh, login without -X.

roslaunch cob_sound sound.launch

Usage

You can either call and action or a service, e.g.

rosservice call /sound/say "Hello, my name is Care-O-bot."

You can mute and unmute the output

rosservice call /sound/mute
rosservice call /sound/unmute

Using festival

By default festival is used.

Using cepstral

For cepstral you need to buy a license key.

For using cepstral instead of festival please set the mode to cepstral with

rosparam set /sound/mode cepstral

Installing cepstral vices and license

Download and install voice. Adopted from this tutorial.

wget http://www.cepstral.com/downloads/installers/linux32/Cepstral_David_i386-linux_6.2.3.873.tar.gz
wget http://www.cepstral.com/downloads/installers/linux64/Cepstral_David_x86-64-linux_6.2.3.873.tar.gz

wget http://www.cepstral.com/downloads/installers/linux32/Cepstral_Diane_i386-linux_6.2.3.873.tar.gz
wget http://www.cepstral.com/downloads/installers/linux64/Cepstral_Diane_x86-64-linux_6.2.3.873.gz

wget http://www.cepstral.com/downloads/installers/linux32/Cepstral_Matthias_i386-linux_6.2.3.873.tar.gz
wget http://www.cepstral.com/downloads/installers/linux64/Cepstral_Matthias_x86-64-linux_6.2.3.873.tar.gz

wget http://www.cepstral.com/downloads/installers/linux32/Cepstral_Katrin_i386-linux_6.2.3.873.tar.gz
wget http://www.cepstral.com/downloads/installers/linux64/Cepstral_Katrin_x86-64-linux_6.2.3.873.tar.gz

tar xzvf Cepstral_David_x86-64-linux_6.2.3.873.tar.gz
cd Cepstral_David_x86-64-linux_6.2.3.873
sudo ./install.sh
sudo touch /etc/ld.so.conf.d/cepstral.conf
sudo sh -c 'echo "/opt/swift/lib" > /etc/ld.so.conf.d/cepstral.conf'
sudo ldconfig

* apply fix for Ubuntu > 12.04

roscd cob_sound
sudo ./fix_swift_for_precise.sh

if that fix doesn't help, try to install alsa-oss

sudo apt-get install alsa-oss

and modify /usr/local/bin/swift_fix to contain

if test -x /usr/bin/padsp ; then  exec aoss /opt/swift/bin/swift "$@" ; else  exec /opt/swift/bin/swift "$@" ; fi

* Register voice with license (you need to buy a license from http://www.cepstral.com, for IPA robots ask UHR or FMW for license key)

sudo swift --reg-voice

Setting the sound volume

Either use alsamixer:

alsamixer

or use alsactl: For setting the sound to xx% use

amixer -c 1 set Speaker xx%

or

amixer -c 1 set PCM xx%

5% is a reasonable volume. To store the settings permanently, type

sudo alsactl store


2024-11-16 14:33