can I use phonemes in C2s TTS ?

Get help using Construct 2

Post » Sat Sep 26, 2015 9:01 am

Can I send phonemes to the text to speech in C2 and if so how ?

eg : pronunciation for "hello": could be "h eh l ow" - unfortunately my requirements are slightly more complicated than "Hello".

Thanks.
August 2015 - I misplaced a lot of links - I will try to find backups and repost. If You find a post that interests please reply to post with @rampackwobble and I will get a nudge!

If you find my posts useful please consider donating something to a local charity or to the http://www.mndassociation.org/
B
64
S
34
G
47
Posts: 1,194
Reputation: 30,882

Post » Mon Sep 28, 2015 11:55 am

subtle bump - well maybe not that subtle :)
August 2015 - I misplaced a lot of links - I will try to find backups and repost. If You find a post that interests please reply to post with @rampackwobble and I will get a nudge!

If you find my posts useful please consider donating something to a local charity or to the http://www.mndassociation.org/
B
64
S
34
G
47
Posts: 1,194
Reputation: 30,882

Post » Tue Sep 29, 2015 3:44 pm

beginning to lose hope. :(

:idea: If this is not possible is there a way to record (and save for next time) pronunciations as sound files inside C2 ?
August 2015 - I misplaced a lot of links - I will try to find backups and repost. If You find a post that interests please reply to post with @rampackwobble and I will get a nudge!

If you find my posts useful please consider donating something to a local charity or to the http://www.mndassociation.org/
B
64
S
34
G
47
Posts: 1,194
Reputation: 30,882

Post » Tue Sep 29, 2015 5:12 pm

:) Mess around with it, loquendo users make it work
https://www.scirra.com/tutorials/807/ho ... -game-talk
B
9
S
3
Posts: 152
Reputation: 1,270

Post » Tue Sep 29, 2015 6:23 pm

Thanks for the link.

The problem I have is trying to get C2 to pronounce welsh place names - I realise it stands little chance just going off the spelling but I was hoping I could break the words down into individual sounds and stick them into the google TTS engine (planning on running on an android device because that is what my friend already has). Basically I think it is not possible and I am now looking at Nuances TTS for welsh off google play store - I just don't know what the TTS engine will cost when it comes out of beta and I don't want to give him something that in 6 months needs an update costing £ ( who knows )....

On the bright side the welsh TTS appears to work well.

Anyway, thanks again for the link.
August 2015 - I misplaced a lot of links - I will try to find backups and repost. If You find a post that interests please reply to post with @rampackwobble and I will get a nudge!

If you find my posts useful please consider donating something to a local charity or to the http://www.mndassociation.org/
B
64
S
34
G
47
Posts: 1,194
Reputation: 30,882

Post » Tue Sep 29, 2015 6:37 pm

@RamPackWobble
Here is the spec for the tts api:
https://dvcs.w3.org/hg/speech-api/raw-f ... ts-section
You can specify the voice to use there, but nothing to change how things are pronounced.

But then I followed a link from above to here:
http://www.w3.org/TR/speech-synthesis/#S1
And it appears you can change how things are pronounced.

It may take some digging but the solution to do it should be in there.
B
92
S
32
G
109
Posts: 5,294
Reputation: 70,999

Post » Tue Sep 29, 2015 6:54 pm

@R0J0hound - many thanks.

Now to see if I can make any sense of it...
August 2015 - I misplaced a lot of links - I will try to find backups and repost. If You find a post that interests please reply to post with @rampackwobble and I will get a nudge!

If you find my posts useful please consider donating something to a local charity or to the http://www.mndassociation.org/
B
64
S
34
G
47
Posts: 1,194
Reputation: 30,882

Post » Tue Sep 29, 2015 7:09 pm

Opps. It turns out the standard tts linked above can't use ssml yet to control how stuff is spoken. I'll keep looking.
B
92
S
32
G
109
Posts: 5,294
Reputation: 70,999

Post » Wed Sep 30, 2015 6:40 am

@R0J0hound - Thanks for the update - I had a quick look at those links and it is definitely outside my comfort zone :?

Please don't spend time on this for me - I will either go about it in C2 another way or go back to the drawing board.

Thanks again.
August 2015 - I misplaced a lot of links - I will try to find backups and repost. If You find a post that interests please reply to post with @rampackwobble and I will get a nudge!

If you find my posts useful please consider donating something to a local charity or to the http://www.mndassociation.org/
B
64
S
34
G
47
Posts: 1,194
Reputation: 30,882

Post » Wed Sep 30, 2015 7:34 am

No worries, the concept intrigues me. That 2nd link covers a markup language using xml to customize everything with how tts pronounces stuff. Probably more that's needed but it looks idea. Unfortunately as I soon found out the standard html5 tts doesn't support it.
The most I've found is a js lib that does tts and supports that markup language. The only issue is I find it sounds like garbage compared to most other engines.

I didn't look but if there's a tts plugin for android export it may support that markup language. To use it should just be a matter of using the xml text when specifying what should be said.
B
92
S
32
G
109
Posts: 5,294
Reputation: 70,999


Return to How do I....?

Who is online

Users browsing this forum: Lancifer and 43 guests