Quickstart guide and steps on Linux #43
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 [email protected]: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