10 lines
134 B
Plaintext
10 lines
134 B
Plaintext
|
#!/usr/bin/env bash
|
||
|
|
||
|
if [ -z "$1" ]; then
|
||
|
file="outputfile.ogg"
|
||
|
else
|
||
|
file=$1
|
||
|
fi
|
||
|
|
||
|
arecord -f cd -t raw | oggenc - -r -o $file
|