Text 2 Speech in SL, howto and feature request
|
|
blaze Spinnaker
1/2 Serious
Join date: 12 Aug 2004
Posts: 5,898
|
03-17-2005 05:16
For anyone who doesn't want to record their voice but wouldn't mind uploading some speech quickly .. Try this out http://www.research.att.com/projects/tts/demo.htmlI used Audacity ( http://audacity.sourceforge.net/) to convert it it 41K sample rate (change the project rate, drop down is at the bottom left and then export to wav and upload). Fiddling with the accents is kinda fun, though german / spanish / french doesn't work unless you type in german / spanish / french. (LindenLabs .. integrate something like this!)
_____________________
Taken from The last paragraph on pg. 16 of Cory Ondrejka's paper " Changing Realities: User Creation, Communication, and Innovation in Digital Worlds : " User-created content takes the idea of leveraging player opinions a step further by allowing them to effectively prototype new ideas and features. Developers can then measure which new concepts most improve the products and incorporate them into the game in future patches."
|
|
Hank Ramos
Lifetime Scripter
Join date: 15 Nov 2003
Posts: 2,328
|
03-17-2005 05:18
There is a forum for feature requests. 
|
|
blaze Spinnaker
1/2 Serious
Join date: 12 Aug 2004
Posts: 5,898
|
03-17-2005 05:21
_____________________
Taken from The last paragraph on pg. 16 of Cory Ondrejka's paper " Changing Realities: User Creation, Communication, and Innovation in Digital Worlds : " User-created content takes the idea of leveraging player opinions a step further by allowing them to effectively prototype new ideas and features. Developers can then measure which new concepts most improve the products and incorporate them into the game in future patches."
|
|
Hank Ramos
Lifetime Scripter
Join date: 15 Nov 2003
Posts: 2,328
|
03-17-2005 05:22
Fickle? 
|
|
Adam Zaius
Deus
Join date: 9 Jan 2004
Posts: 1,483
|
03-17-2005 06:00
1.6 could do it.
Make a "webpage" which outputs TTS samples on demand:
llSetParcelMediaCommandList([URL,path.to.you/site/script.ext?text=text_to_say]);
|
|
blaze Spinnaker
1/2 Serious
Join date: 12 Aug 2004
Posts: 5,898
|
03-17-2005 06:54
Yeah, I thought of that.. but they use "post" and not "get". 
_____________________
Taken from The last paragraph on pg. 16 of Cory Ondrejka's paper " Changing Realities: User Creation, Communication, and Innovation in Digital Worlds : " User-created content takes the idea of leveraging player opinions a step further by allowing them to effectively prototype new ideas and features. Developers can then measure which new concepts most improve the products and incorporate them into the game in future patches."
|
|
Adam Zaius
Deus
Join date: 9 Jan 2004
Posts: 1,483
|
03-17-2005 09:07
From: blaze Spinnaker Yeah, I thought of that.. but they use "post" and not "get".  Either method is easily accessible from a server script. PHP's $_REQUEST variable fills up with the contents of both $_GET and $_POST -Adam
|
|
blaze Spinnaker
1/2 Serious
Join date: 12 Aug 2004
Posts: 5,898
|
03-17-2005 09:24
Maybe, but why do you think they're using PHP?
Anyways, I've tried it. If you can get it to work, let me know.
_____________________
Taken from The last paragraph on pg. 16 of Cory Ondrejka's paper " Changing Realities: User Creation, Communication, and Innovation in Digital Worlds : " User-created content takes the idea of leveraging player opinions a step further by allowing them to effectively prototype new ideas and features. Developers can then measure which new concepts most improve the products and incorporate them into the game in future patches."
|
|
Adam Zaius
Deus
Join date: 9 Jan 2004
Posts: 1,483
|
03-17-2005 10:04
From: blaze Spinnaker Maybe, but why do you think they're using PHP?
Anyways, I've tried it. If you can get it to work, let me know. No, I mean for recieving the request on the serverside. It shouldnt be too hard. Something like the following PHP script on a linux box should do the trick: <?php $a = escapeshellargs($_REQUEST['text']); $filename = '/tmp/' . time(); $output = `echo $a | text2wave -o $filename`; header('Content-type: audio/wave'); echo file($filename); ?> That's rough pseudocode (will need refinement) and it will require you to have the program 'festival' installed on your linux machine that you are hosting this from. (You will also want to clean up the $filename after the program has finished) -Adam
|
|
blaze Spinnaker
1/2 Serious
Join date: 12 Aug 2004
Posts: 5,898
|
03-17-2005 10:06
Heh, ok now where do I download text2wave That'd be pretty cool 
_____________________
Taken from The last paragraph on pg. 16 of Cory Ondrejka's paper " Changing Realities: User Creation, Communication, and Innovation in Digital Worlds : " User-created content takes the idea of leveraging player opinions a step further by allowing them to effectively prototype new ideas and features. Developers can then measure which new concepts most improve the products and incorporate them into the game in future patches."
|
|
Adam Zaius
Deus
Join date: 9 Jan 2004
Posts: 1,483
|
03-17-2005 10:09
It's part of 'festival' - which is a TTS engine for linux. http://www.cstr.ed.ac.uk/projects/festival/-Adam
|
|
blaze Spinnaker
1/2 Serious
Join date: 12 Aug 2004
Posts: 5,898
|
03-17-2005 10:12
ahhh.. This was where I was confused. Very cool!
_____________________
Taken from The last paragraph on pg. 16 of Cory Ondrejka's paper " Changing Realities: User Creation, Communication, and Innovation in Digital Worlds : " User-created content takes the idea of leveraging player opinions a step further by allowing them to effectively prototype new ideas and features. Developers can then measure which new concepts most improve the products and incorporate them into the game in future patches."
|
|
Eggy Lippmann
Wiktator
Join date: 1 May 2003
Posts: 7,939
|
03-17-2005 10:59
I used that website to make wav files for the disco, back in 1.0. When you entered, it greeted you with something like "Welcome to the Second Life Disco", and the elevator also spoke. I wasn't the first one, though. Christopher Omega had it at his lab in Tan (where I spent most of 1.0, coding with him).
|