Skip to content
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

Merged
merged 3 commits into from
May 24, 2016
Merged

C++ example and more #7

merged 3 commits into from
May 24, 2016

Conversation

chenguoguo
Copy link
Collaborator

  1. Added C++ example
  2. Separated swig part and example part
  3. Fixed model bug where a personal model was used for snowboy.umdl

@standarddeviant
Copy link

This looks great - thank you for the demo.cc file. Is there any chance that a demo could be included for wav file input?

@xuchen xuchen merged commit 3a7a481 into Kitt-AI:devel May 24, 2016
@chenguoguo
Copy link
Collaborator Author

@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.

@chenguoguo
Copy link
Collaborator Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants