2 Replies Latest reply on Aug 3, 2016 2:36 AM by richardaliu

    Edison ALSA multiple files with arecord command




      I'm having problems with recording audio with an Intel Edison board using a USB sound card. I have configured the board to use the USB sound card as the default sound card with asound.conf. I am trying to use the command,


      arecord -d 10 -f cd foobar.wav


      It is supposed to record one file, foodbar.wav, that is 10 seconds long and encoded in signed 16 bit little endian. It is capable of doing that, but it also creates a large amount of blank files called foobar-xx.wav, where xx increases in number. I have to end arecord manually, or else it will never stop. Attached is a screenshot.

      Screen Shot 2016-08-01 at 6.54.00 PM.png

      foobar-01.wav plays the 10 second recording, and the other files are empty.


      Thank you!