目次

sox

sox で wav ファイルの継続時間を取り出す

$ sox --version
sox: SoX v14.2.0

$ sox hoge.wav -t wav /dev/null stat 2>&1 | awk '/^Length/ {print $3}'
1.444187