| Lingua-PT-Speaker documentation | view source | Contained in the Lingua-PT-Speaker distribution. |
Lingua::PT::Speaker - perl extension text to speech of Portuguese text
use Lingua::PT::Speaker;
$pt1 = '/usr/lib/mbrola/pt1/pt1';
Lingua::PT::speaker::debug() if $debug;
my $tmp="/tmp/_$$";
$/="" if $l;
while($line = <>){
speak({output => "$tmp.pho"}, $line);
system("mbrola -t $t $pt1 $tmp.pho $tmp.wav; play $tmp.wav");
}
J.Joao Almeida, jj@di.uminho.pt
Alberto Simões, albie@alfarrabio.di.uminho.pt
Lingua::PT::PLN
mbrola
mbrola/pt1
perl(1).
| Lingua-PT-Speaker documentation | view source | Contained in the Lingua-PT-Speaker distribution. |