|
sound_play package from audio_common repoaudio_capture audio_common audio_common_msgs audio_play sound_play |
Package Summary
| Tags | No category tags. |
| Version | 0.3.3 |
| License | BSD |
| Build type | CATKIN |
| Use | RECOMMENDED |
Repository Summary
| Checkout URI | https://github.com/ros-drivers/audio_common.git |
| VCS Type | git |
| VCS Version | master |
| Last Updated | 2019-03-25 |
| Dev Status | MAINTAINED |
| Released | RELEASED |
Package Description
Additional Links
Maintainers
- Austin Hendrix
Authors
- Blaise Gassend
sound_play
Dependencies
- python-pygame
- festival
- festvox-don
- alsa-base
- alsa-tools
Checking that the speaker/sound card is recognized by the kernel
cat /proc/asound/cards
Your card should be in the list. Make note of the number in front of the card, it will be used to tell alsa where to play sound from.
If your sound device does not show up, your kernel may not support it, or the module may not be loaded. For usb speakers, you may want to try:
modprobe snd-usb-audio
(not sure if this list is exhaustive)
Telling alsa which sound card/speaker to use
Run (replace 75 with the number of the sound device to use):
asoundconf set-default-card 75
This will create .asoundrc.asoundconf in your home directory.
To make alsa use these settings, add the following line to ~/.asoundrc
include ".asoundrc.asoundconf"
To set this default to all users, copy this to the system-wide alsa configuration file:
mv ~/.asoundrc.asoundconf /etc/asound.conf
Getting started
Start the sound play node, and have a look at the scripts in the scripts directory that exercise the node's functionality.
Specify Device via ROS Param
Besides setting default device as system wide settings, you can also specify audio device via rosparam:
<launch>
<node name="soundplay_node" pkg="sound_play" type="soundplay_node.py">
<param name="device" value="hw:1,0" />
</node>
</launch>
or simply run: rosrun sound_play soundplay_node.py _device:="hw:1,0"
In the launch file above, ~device parameter is set to hw:1,0, which tells soundplay_node to use audio device No. 0 connected to audio card No.1.
To find card/device number which you want to use, execute:
sudo aplay -l
Could not convert RST to MD: No such file or directory - pandoc
Wiki Tutorials
Source Tutorials
Package Dependencies
| Deps | Name | |
|---|---|---|
| 2 | roscpp | |
| 1 | roslib | |
| 2 | actionlib_msgs | |
| 1 | actionlib | |
| 1 | audio_common_msgs | |
| 2 | diagnostic_msgs | |
| 1 | message_generation | |
| 1 | catkin | |
| 2 | rospy | |
| 1 | message_runtime |
System Dependencies
Dependant Packages
Launch files
- test.launch
- This launch file runs the sound_play node and a test script that excersises most of its functionality.
-
- soundplay_node.launch
- This launch file starts soundplay_node.py, which is the node that plays sounds based on messages on the robotsound topic.
-
- device [default: ]
Messages
Services
Plugins
Recent questions tagged sound_play at answers.ros.org
|
sound_play package from audio_common repoaudio_capture audio_common audio_common_msgs audio_play sound_play |
Package Summary
| Tags | No category tags. |
| Version | 0.3.3 |
| License | BSD |
| Build type | CATKIN |
| Use | RECOMMENDED |
Repository Summary
| Checkout URI | https://github.com/ros-drivers/audio_common.git |
| VCS Type | git |
| VCS Version | master |
| Last Updated | 2019-03-25 |
| Dev Status | MAINTAINED |
| Released | RELEASED |
Package Description
Additional Links
Maintainers
- Austin Hendrix
Authors
- Blaise Gassend
sound_play
Dependencies
- python-pygame
- festival
- festvox-don
- alsa-base
- alsa-tools
Checking that the speaker/sound card is recognized by the kernel
cat /proc/asound/cards
Your card should be in the list. Make note of the number in front of the card, it will be used to tell alsa where to play sound from.
If your sound device does not show up, your kernel may not support it, or the module may not be loaded. For usb speakers, you may want to try:
modprobe snd-usb-audio
(not sure if this list is exhaustive)
Telling alsa which sound card/speaker to use
Run (replace 75 with the number of the sound device to use):
asoundconf set-default-card 75
This will create .asoundrc.asoundconf in your home directory.
To make alsa use these settings, add the following line to ~/.asoundrc
include ".asoundrc.asoundconf"
To set this default to all users, copy this to the system-wide alsa configuration file:
mv ~/.asoundrc.asoundconf /etc/asound.conf
Getting started
Start the sound play node, and have a look at the scripts in the scripts directory that exercise the node's functionality.
Specify Device via ROS Param
Besides setting default device as system wide settings, you can also specify audio device via rosparam:
<launch>
<node name="soundplay_node" pkg="sound_play" type="soundplay_node.py">
<param name="device" value="hw:1,0" />
</node>
</launch>
or simply run: rosrun sound_play soundplay_node.py _device:="hw:1,0"
In the launch file above, ~device parameter is set to hw:1,0, which tells soundplay_node to use audio device No. 0 connected to audio card No.1.
To find card/device number which you want to use, execute:
sudo aplay -l
Could not convert RST to MD: No such file or directory - pandoc
Wiki Tutorials
Source Tutorials
Package Dependencies
| Deps | Name | |
|---|---|---|
| 2 | roscpp | |
| 1 | roslib | |
| 2 | actionlib_msgs | |
| 1 | actionlib | |
| 1 | audio_common_msgs | |
| 2 | diagnostic_msgs | |
| 1 | message_generation | |
| 1 | catkin | |
| 2 | rospy | |
| 1 | message_runtime |
System Dependencies
Launch files
- test.launch
- This launch file runs the sound_play node and a test script that excersises most of its functionality.
-
- soundplay_node.launch
- This launch file starts soundplay_node.py, which is the node that plays sounds based on messages on the robotsound topic.
-
- device [default: ]
Messages
Services
Plugins
Recent questions tagged sound_play at answers.ros.org
|
sound_play package from audio_common repoaudio_capture audio_common audio_common_msgs audio_play sound_play |
Package Summary
| Tags | No category tags. |
| Version | 0.3.3 |
| License | BSD |
| Build type | CATKIN |
| Use | RECOMMENDED |
Repository Summary
| Checkout URI | https://github.com/ros-drivers/audio_common.git |
| VCS Type | git |
| VCS Version | master |
| Last Updated | 2019-03-25 |
| Dev Status | MAINTAINED |
| Released | RELEASED |
Package Description
Additional Links
Maintainers
- Austin Hendrix
Authors
- Blaise Gassend
sound_play
Dependencies
- python-pygame
- festival
- festvox-don
- alsa-base
- alsa-tools
Checking that the speaker/sound card is recognized by the kernel
cat /proc/asound/cards
Your card should be in the list. Make note of the number in front of the card, it will be used to tell alsa where to play sound from.
If your sound device does not show up, your kernel may not support it, or the module may not be loaded. For usb speakers, you may want to try:
modprobe snd-usb-audio
(not sure if this list is exhaustive)
Telling alsa which sound card/speaker to use
Run (replace 75 with the number of the sound device to use):
asoundconf set-default-card 75
This will create .asoundrc.asoundconf in your home directory.
To make alsa use these settings, add the following line to ~/.asoundrc
include ".asoundrc.asoundconf"
To set this default to all users, copy this to the system-wide alsa configuration file:
mv ~/.asoundrc.asoundconf /etc/asound.conf
Getting started
Start the sound play node, and have a look at the scripts in the scripts directory that exercise the node's functionality.
Specify Device via ROS Param
Besides setting default device as system wide settings, you can also specify audio device via rosparam:
<launch>
<node name="soundplay_node" pkg="sound_play" type="soundplay_node.py">
<param name="device" value="hw:1,0" />
</node>
</launch>
or simply run: rosrun sound_play soundplay_node.py _device:="hw:1,0"
In the launch file above, ~device parameter is set to hw:1,0, which tells soundplay_node to use audio device No. 0 connected to audio card No.1.
To find card/device number which you want to use, execute:
sudo aplay -l
Could not convert RST to MD: No such file or directory - pandoc
Wiki Tutorials
Source Tutorials
Package Dependencies
| Deps | Name | |
|---|---|---|
| 2 | roscpp | |
| 1 | roslib | |
| 2 | actionlib_msgs | |
| 1 | actionlib | |
| 1 | audio_common_msgs | |
| 2 | diagnostic_msgs | |
| 1 | message_generation | |
| 1 | catkin | |
| 2 | rospy | |
| 1 | message_runtime |
System Dependencies
Dependant Packages
Launch files
- test.launch
- This launch file runs the sound_play node and a test script that excersises most of its functionality.
-
- soundplay_node.launch
- This launch file starts soundplay_node.py, which is the node that plays sounds based on messages on the robotsound topic.
-
- device [default: ]
Messages
Services
Plugins
Recent questions tagged sound_play at answers.ros.org
|
sound_play package from audio_common repoaudio_capture audio_common audio_common_msgs audio_play sound_play |
Package Summary
| Tags | No category tags. |
| Version | 0.2.13 |
| License | BSD |
| Build type | CATKIN |
| Use | RECOMMENDED |
Repository Summary
| Checkout URI | https://github.com/ros-drivers/audio_common.git |
| VCS Type | git |
| VCS Version | indigo-devel |
| Last Updated | 2018-05-02 |
| Dev Status | MAINTAINED |
| Released | RELEASED |
Package Description
Additional Links
Maintainers
- Austin Hendrix
Authors
- Blaise Gassend
sound_play
Dependencies
- python-pygame
- festival
- festvox-don
- alsa-base
- alsa-tools
Checking that the speaker/sound card is recognized by the kernel
cat /proc/asound/cards
Your card should be in the list. Make note of the number in front of the card, it will be used to tell alsa where to play sound from.
If your sound device does not show up, your kernel may not support it, or the module may not be loaded. For usb speakers, you may want to try:
modprobe snd-usb-audio
(not sure if this list is exhaustive)
Telling alsa which sound card/speaker to use
Run (replace 75 with the number of the sound device to use):
asoundconf set-default-card 75
This will create .asoundrc.asoundconf in your home directory.
To make alsa use these settings, add the following line to ~/.asoundrc
include ".asoundrc.asoundconf"
To set this default to all users, copy this to the system-wide alsa configuration file:
mv ~/.asoundrc.asoundconf /etc/asound.conf
Getting started
Start the sound play node, and have a look at the scripts in the scripts directory that exercise the node's functionality.
Specify Device via ROS Param
Besides setting default device as system wide settings, you can also specify audio device via rosparam:
<launch>
<node name="soundplay_node" pkg="sound_play" type="soundplay_node.py">
<param name="device" value="hw:1,0" />
</node>
</launch>
or simply run: rosrun sound_play soundplay_node.py _device:="hw:1,0"
In the launch file above, ~device parameter is set to hw:1,0, which tells soundplay_node to use audio device No. 0 connected to audio card No.1.
To find card/device number which you want to use, execute:
sudo aplay -l
Could not convert RST to MD: No such file or directory - pandoc
Wiki Tutorials
Source Tutorials
Package Dependencies
| Deps | Name | |
|---|---|---|
| 2 | roscpp | |
| 1 | roslib | |
| 2 | actionlib_msgs | |
| 1 | actionlib | |
| 1 | audio_common_msgs | |
| 2 | diagnostic_msgs | |
| 1 | message_generation | |
| 1 | catkin | |
| 2 | rospy | |
| 1 | message_runtime |
System Dependencies
Dependant Packages
Launch files
- test.launch
- This launch file runs the sound_play node and a test script that excersises most of its functionality.
-
- soundplay_node.launch
- This launch file starts soundplay_node.py, which is the node that plays sounds based on messages on the robotsound topic.
-
- device [default: ]
Messages
Services
Plugins
Recent questions tagged sound_play at answers.ros.org
|
sound_play package from audio_common repoaudio_capture audio_common audio_common_msgs audio_play sound_play |
Package Summary
| Tags | No category tags. |
| Version | 0.2.13 |
| License | BSD |
| Build type | CATKIN |
| Use | RECOMMENDED |
Repository Summary
| Checkout URI | https://github.com/ros-drivers/audio_common.git |
| VCS Type | git |
| VCS Version | indigo-devel |
| Last Updated | 2018-05-02 |
| Dev Status | MAINTAINED |
| Released | RELEASED |
Package Description
Additional Links
Maintainers
- Austin Hendrix
Authors
- Blaise Gassend
sound_play
Dependencies
- python-pygame
- festival
- festvox-don
- alsa-base
- alsa-tools
Checking that the speaker/sound card is recognized by the kernel
cat /proc/asound/cards
Your card should be in the list. Make note of the number in front of the card, it will be used to tell alsa where to play sound from.
If your sound device does not show up, your kernel may not support it, or the module may not be loaded. For usb speakers, you may want to try:
modprobe snd-usb-audio
(not sure if this list is exhaustive)
Telling alsa which sound card/speaker to use
Run (replace 75 with the number of the sound device to use):
asoundconf set-default-card 75
This will create .asoundrc.asoundconf in your home directory.
To make alsa use these settings, add the following line to ~/.asoundrc
include ".asoundrc.asoundconf"
To set this default to all users, copy this to the system-wide alsa configuration file:
mv ~/.asoundrc.asoundconf /etc/asound.conf
Getting started
Start the sound play node, and have a look at the scripts in the scripts directory that exercise the node's functionality.
Specify Device via ROS Param
Besides setting default device as system wide settings, you can also specify audio device via rosparam:
<launch>
<node name="soundplay_node" pkg="sound_play" type="soundplay_node.py">
<param name="device" value="hw:1,0" />
</node>
</launch>
or simply run: rosrun sound_play soundplay_node.py _device:="hw:1,0"
In the launch file above, ~device parameter is set to hw:1,0, which tells soundplay_node to use audio device No. 0 connected to audio card No.1.
To find card/device number which you want to use, execute:
sudo aplay -l
Could not convert RST to MD: No such file or directory - pandoc
Wiki Tutorials
Source Tutorials
Package Dependencies
| Deps | Name | |
|---|---|---|
| 2 | roscpp | |
| 1 | roslib | |
| 2 | actionlib_msgs | |
| 1 | actionlib | |
| 1 | audio_common_msgs | |
| 2 | diagnostic_msgs | |
| 1 | message_generation | |
| 1 | catkin | |
| 2 | rospy | |
| 1 | message_runtime |
System Dependencies
Dependant Packages
Launch files
- test.launch
- This launch file runs the sound_play node and a test script that excersises most of its functionality.
-
- soundplay_node.launch
- This launch file starts soundplay_node.py, which is the node that plays sounds based on messages on the robotsound topic.
-
- device [default: ]
Messages
Services
Plugins
Recent questions tagged sound_play at answers.ros.org
|
sound_play package from audio_common repoaudio_capture audio_common audio_common_msgs audio_play sound_play |
Package Summary
| Tags | No category tags. |
| Version | 0.2.7 |
| License | BSD |
| Build type | CATKIN |
| Use | RECOMMENDED |
Repository Summary
| Checkout URI | https://github.com/ros-drivers/audio_common.git |
| VCS Type | git |
| VCS Version | hydro-devel |
| Last Updated | 2015-08-28 |
| Dev Status | MAINTAINED |
| Released | RELEASED |
Package Description
Additional Links
Maintainers
- Austin Hendrix
Authors
- Blaise Gassend
Dependencies
------------
python-pygame
festival
festvox-don
alsa-base
alsa-tools
Checking that the speaker/sound card is recognized by the kernel
----------------------------------------------------------------
cat /proc/asound/cards
Your card should be in the list. Make note of the number in front of the
card, it will be used to tell alsa where to play sound from.
If your sound device does not show up, your kernel may not support it, or
the module may not be loaded. For usb speakers, you may want to try:
modprobe snd-usb-audio
(not sure if this list is exhaustive)
Telling alsa which sound card/speaker to use
--------------------------------------------
Run (replace 75 with the number of the sound device to use):
asoundconf set-default-card 75
This will create .asoundrc.asoundconf in your home directory.
To make alsa use these settings, add the following line to ~/.asoundrc
include ".asoundrc.asoundconf"
To set this default to all users, copy this to the system-wide alsa
configuration file:
mv ~/.asoundrc.asoundconf /etc/asound.conf
Getting started
---------------
Start the sound play node, and have a look at the scripts in the scripts
directory that exercise the node's functionality.
Wiki Tutorials
Source Tutorials
Package Dependencies
| Deps | Name | |
|---|---|---|
| 2 | roscpp | |
| 1 | roslib | |
| 2 | actionlib_msgs | |
| 1 | audio_common_msgs | |
| 2 | diagnostic_msgs | |
| 1 | message_generation | |
| 1 | catkin | |
| 2 | rospy | |
| 1 | message_runtime |
System Dependencies
Dependant Packages
Launch files
- test.launch
- This launch file runs the sound_play node and a test script that excersises most of its functionality.
-
- soundplay_node.launch
- This launch file starts soundplay_node.py, which is the node that plays sounds based on messages on the robotsound topic.
-