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

Rhino C code on Rpi unable to parse the wav file #7

Closed
AniketJangam opened this issue Mar 25, 2019 · 6 comments
Closed

Rhino C code on Rpi unable to parse the wav file #7

AniketJangam opened this issue Mar 25, 2019 · 6 comments

Comments

@AniketJangam
Copy link

Hello Alireza,
I am experimenting with Rhino and tried it on RPi-3. It takes input from the test_within_context.wav file from audio_samples and returns the detected intent. I recorded few more audios in same format and expected rhino to understand the intents. But it could just give slots, slots_value output for one of the audio files. The rest of three audio wav files are not understood by Rhino despite being recorded in the same environment as the one being understood. What might be the error?

Comparing it with Snips: Snips is able to understand my voice commands spoken in the same environment. So, it makes me believe that my voice commands and noise should not be an issue.
Please guide.

Thanks!

@AniketJangam AniketJangam changed the title Rhino unable to parse the wav file Rhino C code on Rpi unable to parse the wav file Mar 25, 2019
@kenarsa
Copy link
Member

kenarsa commented Mar 26, 2019

is the same command in all files? hard to say without having the files ...

@AniketJangam
Copy link
Author

Yes.
Your command is "Can I have medium sized double shot Americano with lots of milk and some sugar?"
I rephrased it to "Can I have medium sized double shot Latte with lots of milk and some sugar?" which was understood. Then I tried
"Can I have medium sized single shot Americano with lots of milk and some sugar?" and
"Can I have medium sized double shot Americano with some milk and some sugar?"
but none of these other two were detected.

@kenarsa
Copy link
Member

kenarsa commented Mar 28, 2019

you need to somehow attach your WAV files to the issue. otherwise, I can't help.

@AniketJangam
Copy link
Author

Sure. Here is the link to Google Drive where I have the audio files I am talking about.

https://drive.google.com/drive/folders/1pNgeoL0ytUbL001-H2B4wgSE46lIOJCl?usp=sharing

@kenarsa
Copy link
Member

kenarsa commented Mar 30, 2019

You need to have a couple of seconds of silence after the command for the rhino to finalize. please re-record with more silence. Also it seems like your microphone is cutting high frequency content

@AniketJangam
Copy link
Author

The couple of seconds at the end of the command did not help. May be I will have to find a way to get it to record the higher frequency and see how Rhino responds to that audio file. I would close this issue for now and get back to you if the problem still persists.

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

No branches or pull requests

2 participants