11 lines
131 B
Bash
Executable File
11 lines
131 B
Bash
Executable File
#!/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
|