0
$\begingroup$

I am building a robot and I want to be able to hear sounds from it's environment (ideally from my laptop). What is the best way to get live audio from my robot's microphone to my computer?

I have looked into a few solutions for hosting live audio streams using packages such as darkice and icecast. I'm just wondering about better solutions for robotic applications.

Additional details: - I have access to hardware such as Raspberry Pi, Arduino, etc.

$\endgroup$
1
$\begingroup$

Look into soundwireserver. Its an easy way to setup an audio server on a Linux or windows based system, and can be monitored from a laptop or an android phone. You need to consider processing overhead on a robot because of battery life, low processor speed etc. Its easy to setup and I know their android app works very well.

A raspberry pi should have no problem running it, and you don't need excessive hardware other than a mic input. There's a ton of different ways to do this, but from the info provided you want to setup an audio server on the robot, and this is an easy way to do that.

| improve this answer | |
$\endgroup$
  • $\begingroup$ Hi, thank you. I think I'll have to test this software out. It looks like it might work but I'm not entirely sure about it since I don't have an Android device to download the app to. $\endgroup$ – Gunther Aug 28 '16 at 18:55
  • $\begingroup$ You can go from a laptop to a laptop also. I personally have never done that but it is pretty easy to use $\endgroup$ – user241585 Aug 28 '16 at 18:56
  • $\begingroup$ Did you ever get this to work? $\endgroup$ – user241585 Sep 8 '16 at 1:54
  • $\begingroup$ I haven't had a chance to test yet. Sorry! $\endgroup$ – Gunther Sep 8 '16 at 11:00
0
$\begingroup$

If you are controlling the Robot with ROS, i suggest you to look at this package audio_common. With this we can live stream the audio or capture it. You can use raspberry pi as a node and your laptop as a ros server.There is a tutorial to do exactly what you want over here "Remotely listen to what your robot is listening"

| improve this answer | |
$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.