local infile="$1"
local outfile="$2"
- mpv \
- --no-terminal \
- --no-video \
- --ao "pcm:waveheader:file=${outfile}" \
+ mplayer \
+ -noconfig all \
+ -novideo \
+ -ao "pcm:waveheader:file=${outfile}" \
"$infile"
}
-t wav \
"$outfile" \
speed "${SLOWDOWN}" \
- gain -n \
- channels 2
+ gain -n
}
function encode_audio {