From dd162f3709af08e3c2a48eea9002fa274b76d219 Mon Sep 17 00:00:00 2001 From: yctct Date: Fri, 19 Dec 2025 09:52:57 +0100 Subject: Add script to test microphone --- testmic.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 testmic.sh diff --git a/testmic.sh b/testmic.sh new file mode 100755 index 0000000..ab95f82 --- /dev/null +++ b/testmic.sh @@ -0,0 +1,9 @@ +#!/usr/bin/env bash +# command to test whether microphone is working +# add -v to see continuous input +# alternative: +# arecord -vv -fdat foo.wav to save output to a file + +test-microphone() { + arecord -vv -f dat /dev/null +} -- cgit v1.2.3