4 releases
Uses old Rust 2015
| 0.1.3 | Feb 21, 2017 |
|---|---|
| 0.1.2 | Nov 26, 2016 |
| 0.1.1 | Nov 17, 2016 |
| 0.1.0 | Nov 17, 2016 |
#9 in #microphone
Used in 2 crates
5KB
sphinxad-sys
Sphinxad low-level wrapper, that allows to read data from microphone
Dependencies
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
Usage
Cargo.toml
sphinxad-sys = "*"
Look at file "read microphone and write to wav file.rs" from examples directory, it contains everything you need.
Documentation
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:
Advice
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 ).
License
MIT
Dependencies
~47KB