code / scripts

Lines748 Shell528 Python72 Lua67 Bourne Again Shell62 make15
1 others 4
Markdown4
(5 lines)
1 #!/bin/sh
2 # test-mic - A simple script to test the microphone
3 arecord -d 3 /tmp/test-mic.wav
4 trap 'rm /tmp/test-mic.wav' EXIT
5 aplay /tmp/test-mic.wav