遍历所有wav得到长度
时间:2020-02-24 19:06:29
收藏:0
阅读:74
kaldi :
wav-to-duration scp:aishell_test_wav.scp ark,t:length.txt
sox:
for A in `cat aishell_test.file`
do
sox $A -n stat >> length.txt
done
cat length.txt |grep ‘Length‘ |cut -d‘:‘ -f 2 >time.txt
原文:https://www.cnblogs.com/fanhaha/p/12358184.html
评论(0)