/usr/share/doc/HOWTO/ja-html/Text-To-Speech-mini-HOWTO-4.html is in doc-linux-ja-html 2006.05.25-1.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<META NAME="GENERATOR" CONTENT="SGML-Tools 1.0.9">
<TITLE>The Linux Text-To-Speech mini-HOWTO: $B@_Dj$H%F%9%H(B</TITLE>
<LINK HREF="Text-To-Speech-mini-HOWTO-5.html" REL=next>
<LINK HREF="Text-To-Speech-mini-HOWTO-3.html" REL=previous>
<LINK HREF="Text-To-Speech-mini-HOWTO.html#toc4" REL=contents>
</HEAD>
<BODY>
<A HREF="Text-To-Speech-mini-HOWTO-5.html">$B<!$N%Z!<%8(B</A>
<A HREF="Text-To-Speech-mini-HOWTO-3.html">$BA0$N%Z!<%8(B</A>
<A HREF="Text-To-Speech-mini-HOWTO.html#toc4">$BL\<!$X(B</A>
<HR>
<H2><A NAME="s4">4. $B@_Dj$H%F%9%H(B</A></H2>
<H2><A NAME="ss4.1">4.1 $B4pK\@_Dj(B</A>
</H2>
<P>/usr/lib/festival/lib/voices.scm $B$K#19TDI2C$7$^$9!'(B
<P>[
$BLuCm(B: RedHat 6.1 $BMQ$N(B RPM $B$G$O(B
/usr/lib/festival/ $B$r(B /usr/share/festival/ $B$HFI$_BX$($k(B
]
<P>
<P>
<PRE>
(defvar default-voice-priority-list
'(rab_mbrola ; <= $B$3$N9T$rDI2C(B
rab_diphone ; $B!J$b$A$m$s(B
ked_diphone ; $B%;%_%3%m%s$O$$$j$^$;$s!K(B
</PRE>
<P>
<P>$B$5$F$G$-$^$7$?!#$3$l$G(B Festival $B$O:G=i$K(B MBROLA $B$r;H$*$&$H$7$^$9!#(B
<P>
<P>$B$3$N$h$&$K(B festival $B$rAv$i$;$k$H!"@_Dj$r%F%9%H$G$-$^$9!'(B
<P>
<PRE>
bash$ festival
festival> (SayText "Type any text here. Sounds cool?")
festival> (quit)
</PRE>
<P>
<P>$B$$$m$$$m$J%U%!%$%k7A<0!"$?$H$($P(B HTML $B$r$b$C$H!VFI$_$d$9(B
$B$/!W$9$k$?$a$K!"%U%!%$%k$rA0=hM}$9$k$h$&$K(B Festival $B$r@_Dj$G$-$^$9!#(B
$B$I$N$h$&$K@_Dj$9$k$+$O(B
/usr/doc/festdoc-1.2.0/festival/festival.info $B$K$"$k(B festival $B$N%I%-%e(B
$B%a%s%H$r8+$F$/$@$5$$!#(B
"Text modes" $B$N%;%/%7%g%s$K=q$$$F$"$j$^$9!#(B
<P>
<P>$B<+J,$G$O!"Be$o$j$K%F%-%9%H$rA0=hM}$9$k!"8E$-NI$-(B sed $B%9%/%j%W%H$r=q$/(B
$B$3$H$7$^$7$?!#(B
<P>
<P>
<P>$B%U%!%$%k$r;XDj$7$F(B festival $B$r%F%-%9%HFI$_>e$2%b!<%I$GAv$i$;$k$3$H$,$G$-(B
$B$^$9!'(B
<P>
<PRE>
festival --tts <filename>
</PRE>
<P>
<P>$B$^$?$O%9%H%j!<%`$r=hM}$9$k$3$H$b$G$-$^$9!'(B
<P>
<PRE>
lynx -dump <URL> | tee /tmp/x | festival --tts & sleep 1; less /tmp/x
</PRE>
<P>
<P>$B$b$7$3$l$GK~B-$G$-$F!"Lr$K$?$C$F$$$k$J$i!"$3$3$G$d$a$F$+$^$$$^$;$s!#(B
$B$,!"$A$g$C$H9)IW$7$?;H$$J}$,$"$k$N$G6=L#$,$"$l$P@h$X$I$&$>(B :)
<P>
<H2><A NAME="ss4.2">4.2 $B2;@<%9%?%$%k$N%5%]!<%H(B</A>
</H2>
<P>$B$3$N%;%/%7%g%s$G$O!"%T%C%A$dOC$9B.$5$ND4@a$r$I$&$d$C$F7h$a!"(B
$BA*Br$9$k$+=R$Y$^$9!#(B
<P>
<P>$B2;@<!V%9%?%$%k!W$r07$&$N$KI,MW$J9=J8@8@.$rDj5A$9$k$?$a$K!"(B
$BIUO?(B A.1 $B$N%F%-%9%H$r(B /usr/lib/festival/lib/siteinit.scm $B$H$$$&L>A0$N(B
$B?75,%U%!%$%k$KJ]B8$7$F$/$@$5$$!#%7%9%F%`A4HL$N%9%?%$%k$rDj5A$9$k$?$a$K!"(B
$BIUO?(B A.2 $B$r(B /etc/festival.conf $B$KJ]B8$7$F$/$@$5$$!#(B
<P>
<P>$B<!$K!"0J2<$N#19T$r(B /usr/lib/festival/lib/init.scm $B$N=*$o$j$NJ}$KA^(B
$BF~$7$^$9!'(B
<P>
<P>
<PRE>
;;; Default voice (have to do something cute
;;; so autoloads still work)
(eval (list voice_default))
(Style style_default) ; <= $B$3$N9T$rDI2C(B
(provide 'init)
</PRE>
<P>
<P>$B$3$N$h$&$K(B $HOME/.festivalrc $B$KDI2C$9$k$H!"%G%U%)%k%H0J30$K%f!<%6!<(B
$BDj5A$N!V%9%?%$%k!W$b;XDj$G$-$^$9!'(B
<P>
<P>
<PRE>
;; $B%f!<%6!<Dj5A%9%?%$%k(B
(NewStyle 'my_slow 100 24 1.0) ; $B$f$C$/$j$7$?%P%j%H%s$N@<(B
(NewStyle 'my_fast 140 50 0.8) ; $BB.$$%F%J!<$N@<(B
(set! style_default 'my_slow) ; $B%G%U%)%k%H$N%9%?%$%k(B
</PRE>
<P>
<P>$B:G=i$N?t;z$O%T%C%A!J(BHz$B!K$r0UL#$7$^$9!#(B
$B#2HVL\$N?t;z$O%T%C%A$NI8=`JP:9!J$=$l$H$bJ,;6!)!K$G!"(B
$B#3HVL\$N?t;z$O%9%1!<%kMWAG$G!">.$5$$?t;z$[$IB.$/$J$j$^$9!#(B
<P>
<H2><A NAME="ss4.3">4.3 $B%9%/%j%W%H$NCf$G2;@<$N<A$rJQ$($k(B</A>
</H2>
<P>festival $B$r%9%/%j%W%H$+$i%P%C%A%b!<%I$G;H$C$F$$$k>l9g!"8=:_$N!V%9%?%$%k!W(B
$B$r%9%/%j%W%H$NCf$G$3$s$J$U$&$KJQ$($k$3$H$,$G$-$^$9!'(B
<P>
<PRE>
(Style 'male_faster)
</PRE>
<P>
<P>$B$?$H$($PIUO?(B A.3 $B$N%9%/%j%W%H$r8+$F$/$@$5$$!#(B
$B$3$N%9%/%j%W%H$O(B festival $B$N%F%-%9%HFI$_>e$2$N%3%^%s%I%i%$%s!&%$%s%?!<(B
$B%U%'%$%9$K!"%9%?%$%k$rA*Br$9$k%5%]!<%H$rDI2C$7$^$9!#(B
$B$b$7$3$l$rJQ99$7$F$[$+$N5!G=$rDI2C$7$?$i!"$<$R;d$K65$($F$/$@$5$$!*(B
<P>
<H2><A NAME="ss4.4">4.4 $B2;@<=PNOAuCV$NA*Br(B</A>
</H2>
<P>$B?M$K$h$C$F$O!"(BMP3 $B$r%5%&%s%I!&%O!<%I%&%'%"$GD0$-$J$,$iF1;~$K(B festival $B$,(B
$B;H$($k$h$&$K(B NCD $B$N%M%C%H%o!<%/2;6A%7%9%F%`!J(BNAS$B!K$r;H$&$3$H$rA*$V$G$7$g(B
$B$&!#(B
<P>
<P>$B$=$N$?$a$K$O!"0J2<$N9T$r(B /etc/festival.conf $B$KA^F~$7$F$/$@$5$$!'(B
<P>
<PRE>
;;; ===================
;;; Audio Output Method
;;; ===================
(Parameter.set 'Audio_Method 'Audio_Command)
(Parameter.set 'Audio_Required_Rate 16000)
(Parameter.set 'Audio_Required_Format 'snd)
(Parameter.set 'Audio_Command "/usr/X11R6/bin/auplay -volume 100 $FILE")
</PRE>
<P>
<H2><A NAME="ss4.5">4.5 $B%,!<%Y!<%8!!%3%l%/%7%g%s!!%a%C%;!<%8$N2;$r>C$9(B</A>
</H2>
<P>$BBPOCE*$J@_Dj$r;H$$!"%&%'%C%V!&%Z!<%8$r(B lynx $B$KFI$_>e$2$5$;$F(B
$B$$$k$h$&$J>l9g!J(Blynx.cfg $B$NCf$G;XDj$G$-$^$9!K$O!"%,!<%Y!<%8!!%3%l%/%7%g(B
$B%s!!%a%C%;!<%8$N2;$r>C$9$HJXMx$G$9!#(B
<P>
<P>
<P>$B%,!<%Y!<%8!!%3%l%/%7%g%s!!%a%C%;!<%8$N2;$r>C$9$K$O!"(B/etc/festival.conf
$B$+(B $USER/.festivalrc $B$N$I$A$i$+$K0J2<$N9T$rDI2C$7$^$9!'(B
<P>
<PRE>
(gc-status nil)
</PRE>
<P>
<H2><A NAME="ss4.6">4.6 $B<ALd$H9W8%(B</A>
</H2>
<P>$B$b$7(B festival $B$rF0$+$9$H$-$KLdBj$,$*$-$?$j!"$3$N(B mini-HOWTO $B$K2?$+9W(B
$B8%$G$-$k$3$H$,$"$l$P!"$3$NJ8=q$NCx<T$K@\?($7$F$b$+$^$$$^$;$s!'(B
<P>
<P>
<PRE>
Rhandeev Singh http://www.comp.nus.edu.sg/~rhandeev
Linux User Group http://linux.comp.nus.edu.sg
National University of Singapore
</PRE>
<P>
<P>
<HR>
<A HREF="Text-To-Speech-mini-HOWTO-5.html">$B<!$N%Z!<%8(B</A>
<A HREF="Text-To-Speech-mini-HOWTO-3.html">$BA0$N%Z!<%8(B</A>
<A HREF="Text-To-Speech-mini-HOWTO.html#toc4">$BL\<!$X(B</A>
</BODY>
</HTML>
|