This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
galateatalk [2011/10/09 18:40] – nishimotz | galateatalk [2011/10/11 10:40] (current) – nishimotz | ||
---|---|---|---|
Line 366: | Line 366: | ||
</ | </ | ||
- | chaone (from tokuteicorpus site) | + | chaone (from tokuteicorpus |
* to use the system libraries for XML, chaone was build as the 64bit binary. | * to use the system libraries for XML, chaone was build as the 64bit binary. | ||
Line 392: | Line 392: | ||
$ ls ~/ | $ ls ~/ | ||
female01 male01 | female01 male01 | ||
+ | </ | ||
+ | < | ||
$ ls ~/ | $ ls ~/ | ||
ChangeLog chadic.lex grammar.cha table.cha | ChangeLog chadic.lex grammar.cha table.cha | ||
Line 407: | Line 408: | ||
$ make -f Makefile.MACOSX | $ make -f Makefile.MACOSX | ||
</ | </ | ||
+ | |||
+ | * https:// | ||
check the files below (modify them if necessary): | check the files below (modify them if necessary): | ||
Line 413: | Line 416: | ||
$ cat test-jagtalk-macosx.sh | $ cat test-jagtalk-macosx.sh | ||
cat 00-testcmd | ./jagtalk -C jagtalk-macosx.conf | cat 00-testcmd | ./jagtalk -C jagtalk-macosx.conf | ||
+ | </ | ||
+ | < | ||
$ cat 00-testcmd | $ cat 00-testcmd | ||
set Text = 123 | set Text = 123 | ||
set SaveWAV = _out.wav | set SaveWAV = _out.wav | ||
set Run = EXIT | set Run = EXIT | ||
+ | </ | ||
+ | < | ||
$ cat jagtalk-macosx.conf | $ cat jagtalk-macosx.conf | ||
# configuratiuon file for gtalk (GalateaTalk) | # configuratiuon file for gtalk (GalateaTalk) | ||
Line 454: | Line 459: | ||
PIT-MODEL-FILE: | PIT-MODEL-FILE: | ||
MCEP-MODEL-FILE: | MCEP-MODEL-FILE: | ||
+ | </ | ||
+ | chasenrc-euc-jp-macosx contains EUC-JP charactors. | ||
+ | |||
+ | < | ||
$ cat chasenrc-euc-jp-macosx | $ cat chasenrc-euc-jp-macosx | ||
;; | ;; | ||
Line 487: | Line 496: | ||
</ | </ | ||
- | chasenrc-euc-jp-macosx | + | run the test script, open _out.wav using QuickTime Player. You will hear 'hyaku ni juu san' (123 in Japanese). |
+ | |||
+ | < | ||
+ | $ sh test-jagtalk-macosx.sh | ||
+ | </ | ||
+ | |||
+ | jagtalk now uses Mac audio device: | ||
+ | |||
+ | < | ||
+ | $ sh run-jagtalk-macosx.sh | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | $ cat 00-testcmd-speaker | ||
+ | set Speak.syncinterval = 500 | ||
+ | set Text = 123456789 | ||
+ | set Speak = NOW | ||
+ | </ |