Bubba Nation
Would you like to react to this message? Create an account in a few clicks or log in to continue.


Official Bubba Forum!
 
HomeLatest imagesSearchRegisterLog in
Bubba Nation Is Hiring!! I will be hand picking staff, so make sure you are active!

 

 Text to Speech Script

Go down 
2 posters
AuthorMessage
CSS(Coder)




Posts : 10
Join date : 2012-07-03
Location : 127.0.0.1

Text to Speech Script Empty
PostSubject: Text to Speech Script   Text to Speech Script EmptyMon Jul 09, 2012 7:21 pm

This is really fun, it will say whatever you type! It was a really simple 20 minute script I made, here ya go!

function Start-Speech()
{
$voice = new-object -com SAPI.SpVoice;

while($true)
{
write-host "->" -NoNewLine;
$msg = read-host;
$Voice.Speak( $msg, 1 ) | out-null;
Clear-Host
Write-Output Last-Said:[$msg]
}
Back to top Go down
http://1-800-this-is-not-a-real-number.com
iHomo




Posts : 5
Join date : 2012-07-17
Age : 25
Location : Wallingford, Connecticut - United States

Text to Speech Script Empty
PostSubject: Re: Text to Speech Script   Text to Speech Script EmptyTue Jul 17, 2012 8:18 pm

Newport Township Fir

Uh...I don't get it...?...Do we type something in between them or something..?
Back to top Go down
CSS(Coder)




Posts : 10
Join date : 2012-07-03
Location : 127.0.0.1

Text to Speech Script Empty
PostSubject: Re: Text to Speech Script   Text to Speech Script EmptyWed Jul 18, 2012 12:21 am

It is not that hard, you paste the script in PowerShell, the function is Start-Speech, SO GUESS WHAT YOU TYPE!? Start-Speech. If you didn't know you probably shouldn't be doing this anyways.
Back to top Go down
http://1-800-this-is-not-a-real-number.com
iHomo




Posts : 5
Join date : 2012-07-17
Age : 25
Location : Wallingford, Connecticut - United States

Text to Speech Script Empty
PostSubject: Coding   Text to Speech Script EmptyThu Jul 19, 2012 10:00 pm

Yeah, I don't know any coding shizz...
Very Happy
Back to top Go down
Sponsored content





Text to Speech Script Empty
PostSubject: Re: Text to Speech Script   Text to Speech Script Empty

Back to top Go down
 
Text to Speech Script
Back to top 
Page 1 of 1
 Similar topics
-
» DNS COnfiguration PowerShell Script

Permissions in this forum:You cannot reply to topics in this forum
Bubba Nation :: Misc :: Coding-
Jump to: