JohannesBuchner / spoken-command-recognition

A large, free audio sample database (10M words pronounced), a test bed for voice activity detection algorithms and for single-syllable word recognition
68 stars 31 forks source link

sox problem #2

Open EhsanVahab opened 5 years ago

EhsanVahab commented 5 years ago

Dear @JohannesBuchner I've gotten result of command detection and it has been amazing. but I have a little problem with trainactivitydetect_prepare.py and faced following error: "sox FAIL formats: sox FAIL formats: can't determine type of file 'db.verbs/verb name/verb number'" I've surfed on the net and found that sox doesn't seem handle the opus file correctly. and my question is how did you cope with that problem?

JohannesBuchner commented 5 years ago

I installed sox with opus support enabled.

JohannesBuchner commented 5 years ago

Did you install opus packages? (opus, opus-tools, opusfile)

EhsanVahab commented 5 years ago

Yes I did. my operating system is Ubuntu 16.0.4 and I've installed them as following: apt-get install libopus0 libopusfile0 opus-tools Is my installation way correct?