raspberry-pi-projects/raspberry.md
Marcel Dechert 28bce212d1 update md
2020-12-05 19:54:40 +01:00

448 B

connect via SSH

Useful commands

  • see connected usb devices

    • lsusb
  • arecord -l

  • test audio

  • arecord --format=S16_LE --duration=5 --rate=16000 --file-type=raw out.raw

  • arecord --format=S16_LE --duration=5 --rate=16000 -c1 test.wav

.asoundrc

pcm.!default { type asym capture.pcm "mic" playback.pcm "speaker" } pcm.mic { type plug slave { pcm "hw:1,0" } }

44200 sampling rate 5 secs 230000 array length