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

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-14
  • 2021-07-15
  • 2022-01-22
猜你喜欢
  • 2021-08-17
  • 2021-09-02
  • 2021-07-29
  • 2022-12-23
  • 2021-08-01
  • 2022-12-23
  • 2021-06-03
相关资源
相似解决方案