Is there any way to record the audio output on the raspberry pi from the command line? I have tried using arecord, but it says the Pi doesn't have any audio capture cards. I also want to be able to redirect the raw audio to stdout.

  • Could you post the exact command you are using and the exact error you are getting? That would help us a lot :) Also, check out this Ubuntu Forums post on how to record audio going to the speakers from the command-line. It should be somewhat if not totally compatible with the Raspberry Pi, as they are both debian-based. May 8, 2014 at 23:09
  • As this is more of a linux than RPi specific question, you could ask it on superuser to get more attention and eyes on the problem
    – Jervelund
    May 10, 2014 at 10:40

1 Answer 1


You do not state that you require a software only solution, considering the cost and ease I would recommend a hardware solution.

The raspberry Pi does not have a microphone. Common solution is to purchase a cheap USB sound card with mic socket. I have one that works fine that cost under £10 from Amazon. Alternately there are extension boards that offer high fidelity for the Pi at the cost of using the GPIO pins and costing substantial more.

  • 1
    -1, the question explicitly asks for recording audio output, e.g. what you can hear when connecting speakers, not input.
    – LuWi
    May 8, 2014 at 22:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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