ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

I have a fork that can at least launch different instances of audio_capture with different devices:

https://github.com/lucasw/audio_common/tree/alsasrc_device

It isn't fully working (for some reason device:="" works when device:="hw:1" does not in my test setup, when they ought to be the same), maybe with a little more work it could be pr worthy.

My setup has a device 1 which is my laptop mic, and 2 which is a webcam mic, so I can launch all these in separate terminals:

roslaunch audio_capture capture.launch device:="" ns:="t1"
roslaunch audio_capture capture.launch device:="hw:2" ns:="t2"
roslaunch audio_play play.launch ns:=t1
roslaunch audio_play play.launch ns:=t2

I imagine it isn't suitable for localization because the audio isn't timestamped, and the two different streams are captured in different processes.