dotfiles/.bin/OLD/mictest

11 lines
131 B
Plaintext
Raw Normal View History

#!/bin/sh
echo recording
aucat -o /tmp/test.wav &
PID=$!
sleep 3
kill $PID
sleep 0.2
echo playing
aucat -i /tmp/test.wav
echo done