cmusphinx / sphinxtrain

Acoustic model trainer for CMU Sphinx
Other
178 stars 112 forks source link

Add -sox flag to sphinx_fe to convert files with SoX #30

Closed dhdaines closed 2 years ago

dhdaines commented 2 years ago

To use in SphinxTrain simply set $CFG_WAVEFILE_TYPE to ... anything except "mswav", "nist", or "raw".

SoX should be able to handle most things (notably FLAC and MP3 for LibriSpeech and CommonVoice) although it appears that it doesn't do Opus yet, unfortunately. This will need to get added as well, possibly in this PR.