Closed Viral-Doshi-Conigital closed 1 year ago
Hello,
I would like to inform that there was no issue rather a mistake which is now resolved. I think it was possible that the speaker were mute and ros2 launch sound_play soundplay_node.launch.xml
was not called in another terminal window.
Hello,
I'm working on a project in which need audio (wav files to be executed). I'm using the ROS 2 branch of audio_common and intend to use sound_play module. I'm working with Humble on a docker and Ubuntu 20.04 LTS.
The issue, when executing sound_play command followed by the absolute path of wav file, the play.py prints that it is playing the file. However, no audio can be heard (its the same for a string input). The docker has access to device sound card.
The commands that I have been using:
ros2 run sound_play play.py /path/to/file.wav
ros2 run sound_play say.py 'Hello'
The commands that works well:
aplay /path/to/file.wav
Any suggestion of what mistakes I could have done and its possible solution.
Thanks