This repository was archived by the owner on Mar 5, 2022. It is now read-only.
Description I had trouble understanding the Quickstart guide in the README, but eventually got it working.
Maybe we could update the Quickstart guide to show the exact steps (to try it) on each platform?
In case it helps someone, here is what I did to try deepspeech-rs on Linux (Manjaro):
git clone git@github.com:RustAudio/deepspeech-rs.git
cd deepspeech-rs
wget https://github.com/mozilla/DeepSpeech/releases/download/v0.9.3/deepspeech-0.9.3-models.pbmm
mkdir models
mv deepspeech-0.9.3-models.pbmm ./models
wget https://github.com/mozilla/DeepSpeech/releases/download/v0.9.3/native_client.amd64.cpu.linux.tar.xz
mkdir native_client
tar xf native_client.amd64.cpu.linux.tar.xz --directory=./native_client
export LD_LIBRARY_PATH=./native_client
export LIBRARY_PATH=./native_client
arecord -f cd -c 1 test.wav
Say "one two three" and then press Ctrl-c
cargo run --release --example client ./models ./test.wav
Look at the output, which should be "one two three"
All done! To try other words/sentences, do steps 11 to 13
Reactions are currently unavailable
I had trouble understanding the Quickstart guide in the README, but eventually got it working.
Maybe we could update the Quickstart guide to show the exact steps (to try it) on each platform?
In case it helps someone, here is what I did to try deepspeech-rs on Linux (Manjaro):
git clone git@github.com:RustAudio/deepspeech-rs.gitcd deepspeech-rswget https://github.com/mozilla/DeepSpeech/releases/download/v0.9.3/deepspeech-0.9.3-models.pbmmmkdir modelsmv deepspeech-0.9.3-models.pbmm ./modelswget https://github.com/mozilla/DeepSpeech/releases/download/v0.9.3/native_client.amd64.cpu.linux.tar.xzmkdir native_clienttar xf native_client.amd64.cpu.linux.tar.xz --directory=./native_clientexport LD_LIBRARY_PATH=./native_clientexport LIBRARY_PATH=./native_clientarecord -f cd -c 1 test.wavSay "one two three" and then press Ctrl-c
cargo run --release --example client ./models ./test.wavLook at the output, which should be "one two three"
All done! To try other words/sentences, do steps 11 to 13