-
Notifications
You must be signed in to change notification settings - Fork 994
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
C++ example and more #7
Conversation
chenguoguo
commented
May 23, 2016
- Added C++ example
- Separated swig part and example part
- Fixed model bug where a personal model was used for snowboy.umdl
…ace of a universal model snowboy.umdl
This looks great - thank you for the demo.cc file. Is there any chance that a demo could be included for wav file input? |
@standarddeviant did you mean doing the detection for the input wav file instead of capturing audio using PortAudio? That might be a better idea. Anyway using wav file as input is possible. I didn't do it because reading the wav file also need some extra code (especially if you want to read it in a proper way...). But PRs are welcome for this! I can help if you have any questions. |
BTW @standarddeviant, if you want to do the detection for the input wav file, what you have to do is to read the wav as , and then run the detection as RunDetection(data). If is too large, you may want to chunk it into small pieces, and feed it to RunDetection() one by one. |