| Crates.io | sphinxad-sys |
| lib.rs | sphinxad-sys |
| version | 0.1.3 |
| created_at | 2016-11-17 04:20:17.389875+00 |
| updated_at | 2017-02-21 00:41:49.98079+00 |
| description | Sphinxad low-level wrapper, that allows to read data from microphone |
| homepage | https://github.com/TrionProg/sphinxad-sys |
| repository | https://github.com/TrionProg/sphinxad-sys |
| max_upload_size | |
| id | 7275 |
| size | 7,105 |
Sphinxad low-level wrapper, that allows to read data from microphone
In order to use the this crate, you must have the libpocketsphinx, libsphinxad, libsphinxbase libraries installed, you should use you packet manager or follow this tutorial
Cargo.toml
sphinxad-sys = "*"
Look at file "read microphone and write to wav file.rs" from examples directory, it contains everything you need.
Since sphinxad-sys does nothing more than export symbols from the native libsphinxad library, the best source for help is the information already available for the cmusphinx project:
You can use this library with horrible C-like style with pocketsphinx by this examples, or by hight-level library with pocketsphinx-rs ( hight-level sphinxad-rs is recommended ).
MIT