Lingua::PT::Speaker - perl extension text to speech of Portuguese text


Lingua-PT-Speaker documentation  | view source Contained in the Lingua-PT-Speaker distribution.

Index


NAME

Top

Lingua::PT::Speaker - perl extension text to speech of Portuguese text

SYNOPSIS

Top

  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"); 
  }

DESCRIPTION

Top

EXPORT

AUTHOR

Top

J.Joao Almeida, jj@di.uminho.pt

Alberto Simões, albie@alfarrabio.di.uminho.pt

SEE ALSO

Top

Lingua::PT::PLN

mbrola

mbrola/pt1

perl(1).


Lingua-PT-Speaker documentation  | view source Contained in the Lingua-PT-Speaker distribution.