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

Can't seem to make it work #20

Open Sarethh opened 3 years ago

Sarethh commented 3 years ago

Hi, i would like to ask if someone could explain to me step by step how to set everything up because no matter how much i tried it just doesn't work. I use Unreal 4.25 just fyi.

dariones commented 3 years ago

Hey, I have the same problem....

Bjdyyz commented 3 years ago

嗨,我想问一下,是否有人能一步一步地向我解释如何安排好一切,因为不管我做了多少尝试,它都是行不通的。我用的是虚幻的4.25。

Hey, I have the same problem.Have you solved it..

dariones commented 3 years ago

Hey, not really I just give up with that.

On Mon, Jan 4, 2021, 8:52 PM YuDad notifications@github.com wrote:

嗨,我想问一下,是否有人能一步一步地向我解释如何安排好一切,因为不管我做了多少尝试,它都是行不通的。我用的是虚幻的4.25。

Hey, I have the same problem.Have you solved it..

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/shanecolb/sphinx-ue4/issues/20#issuecomment-754333611, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFSDBWOAEEXZHJZMZADORRDSYJWFVANCNFSM4TRHCXLA .

CHADALAK1 commented 3 years ago

I managed to upgrade this to 4.26.

HOWEVER,

There's an issue with ps_init when having it ingest the config.

It's in SpeechRecognizerWorker.cpp

` uint32 FSpeechRecognitionWorker::Run() {

bool initComplete = false;
while (StopTaskCounter.GetValue() == 0) {

    // loop until we have initialised 
    if (initRequired) {

        if(config)
            ps = ps_init(config); //This crashes.. even when setting the config

`

CHADALAK1 commented 3 years ago

image

My blueprint setup when initializing the SpeechRecognizer Actor

CHADALAK1 commented 3 years ago

https://github.com/CHADALAK1/sphinx-ue4

created a fork of a functional 4.26 version of this plug-in

NicDt77 commented 3 years ago

@CHADALAK1 Hi!

Is there any way I can see a sample project for your 4.26 version?

nghienrbc commented 2 years ago

@CHADALAK1 Hi Could you please share your example project for the 4.26 version, i don't know how to use the SpeechRecognitionComponent

wudilai commented 2 years ago

@CHADALAK1 Thank you for your efforts,it can run in UE4.26 and 4.27,to make it work correctly,you should create a new object based on this component,Then hang the object under the character,This is the node of the object。 微信截图_20220301172648

Bjdyyz commented 2 years ago

这是来自QQ邮箱的假期自动回复邮件。   您好,我最近正在休假中,无法亲自回复您的邮件。我将在假期结束后,尽快给您回复。