2022-01-10 12:48:45 +00:00

709 B

connect via SSH

PythonKlingelAnlage

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

Telegram Bot

SwaghausenBot token:1456847960:AAHF6ZVfPrPedN07-Z0FlbtFzuUgpQM3iO4 chat_id:291512617 https://api.telegram.org/bot1456847960:AAHF6ZVfPrPedN07-Z0FlbtFzuUgpQM3iO4/getUpdates