shanecolb / sphinx-ue4

A speech recognition plugin for Unreal Engine 4. This is essentially a port of Pocketsphinx, to be used within an Unreal Engine project.
The Unlicense
150 stars 80 forks source link

About Microphone Input #2

Closed djego closed 8 years ago

djego commented 8 years ago

Hi, sorry for my english, I need to help me, I have your example TestSpeech project, but I can't be work correctly.

I put "I" and inmediatly apper Message: FAILURE

I think than my microphone should be configure with UE4 but I don't know like do these, or ¿Do you have another idea?

onebattleman commented 8 years ago

Please attach a screenshot to help us understand.

What version of the engine are you using?

Does your microphone work outside of UE4? Such as Skype? If your microphone works with Skype then it's already setup to work with UE4.

shanecolb commented 8 years ago

Hi djego, what version of Unreal are you using? The most common cause for that error is when someone has created "Content/models" folder instead of "Content/model". This causes the language model/dictionary etc to not be found. Also, as onebattleman had mentioned, please check your microphone configuration.

djego commented 8 years ago

Thanks for response,

My version UE is 4.9

About the order, It's posible than mistake, i will try one more time, thank you.

El vie., 15 de ene. de 2016 a la(s) 18:07, shanecolb < notifications@github.com> escribió:

Hi djego, what version of Unreal are you using? The most common cause for that error is when someone has create a "Content/models" folder instead of "Content/model". This causes the language model/dictionary etc to not be found.

— Reply to this email directly or view it on GitHub https://github.com/shanecolb/sphinx-ue4/issues/2#issuecomment-172122356.

djego commented 8 years ago

Yes, it was the subject of directories Now I have otrto problem, when I press the "I" key I get the message SUCCESS, but disables the microphone input, I close the game and come back to have microphone input. Any idea?

shanecolb commented 8 years ago

Sorry, I am not sure I follow. What do you mean by disables microphone input? Are you trying to record audio at the same time as using the plugin? Can you please explain in further detail.

onebattleman commented 8 years ago

Can you post a screenshot of the blueprint, that will help us rule out coding.

Try and build this in your player pawn and tell us if you still get an error.

2016-01-18_19h38_32

After building it, play it and say "Hello World". If everything went as it's suppose too it should detect it and print the phrase back to you.

djego commented 8 years ago

OK, I explain you, my microphone work, When I speech I hear myself, then I run my project (A simple project SpeechTest than you shared in Google Docs)

When I put "I" Key (for initialize speech) I don't hear me, so I think than my microphone is disabled :/

When I Close my project, I hear me again.

I want to know if you or somebody had the same problem.

Note: No try record Note2: I'll try with other microphone o headset

djego commented 8 years ago

Thank you Eric, I'll try with you screenshot.

djego commented 8 years ago

Hi, Eric, shanecolb

I could to work correctly but I think there are delay in response => Print String It's correct ? or are there any reason for this delay? Thank you so much for their support.

onebattleman commented 8 years ago

There is a small delay, (like all speech recognitions) it has to sort through/parse your speech into individual words which it uses its database of words to detect your speech and then checks to see if the phrase matches a word/phrase in the array of phrases that triggers the bound event.

Basically, there's nothing you can do about the small delay. There's always going to be a delay but how long the delay depends on the speed of the users computer.

Good to hear you go it working.