How do I know the end of text-to-speech

Get help using Construct 2

Post » Thu Aug 07, 2014 1:54 pm

Hello all :)

I'm working with user media, more precisely text-to-speech and speech recognition but I got a problem :/

There's no function like "On speaking end" or sthing like that :s
Well, it's not good when I make something like that :

- Speak text (especially a question)
- Request speech recognition.
In this case, both actions are loaded simultaneously so program recognise what it is speaked, not what the user speak :/

I also have a second question, is there a possibility to know when the language that I've choose is completely loaded, perhaps it's just me but it look like there's sometimes a little delay before voice speak ^^

That's all :)
I thank you in advance and hope i will receive help :)
http://armaldio.xyz - Image - Join now our Discord Server ;) - https://discord.gg/0eLPLj96B4tUr1D3

If you like my work you can donate some bucks ;)

Image
B
55
S
16
G
1
Posts: 245
Reputation: 5,668

Post » Fri Aug 08, 2014 5:02 pm

UP

Please, is there somebody ^^ ? Perhaps would you like to know more ?
How to simply wait until text-to-speech end ?
http://armaldio.xyz - Image - Join now our Discord Server ;) - https://discord.gg/0eLPLj96B4tUr1D3

If you like my work you can donate some bucks ;)

Image
B
55
S
16
G
1
Posts: 245
Reputation: 5,668

Post » Mon Aug 11, 2014 4:24 pm

I try a second up, please :D
http://armaldio.xyz - Image - Join now our Discord Server ;) - https://discord.gg/0eLPLj96B4tUr1D3

If you like my work you can donate some bucks ;)

Image
B
55
S
16
G
1
Posts: 245
Reputation: 5,668

Post » Tue Feb 16, 2016 3:20 am

Image

I just modified some existing code I was working with. The main thing you want is "when UserMedia is NOT speaking" and "Trigger once". In this case, the sound effect I have plays once the speaking ends.
With this code the event will trigger on the start of frame, but you can implement some safeguards to fix that.

I actually have to thank you for asking this question. I was trying to figure out a way to have all items you touch on the screen read aloud without lifting your finger. Turns out "when UserMedia is NOT speaking" is what I was looking for. :mrgreen:
B
4
S
1
Posts: 3
Reputation: 276


Return to How do I....?

Who is online

Users browsing this forum: Fenix18, tarek2 and 54 guests