Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
galateatalk [2011/10/09 18:40] nishimotzgalateatalk [2011/10/11 10:40] (current) nishimotz
Line 366: Line 366:
 </code> </code>
  
-chaone (from tokuteicorpus site)+chaone (from tokuteicorpus site or galateatalk sourceforge.jp site)
  
   * 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 ~/work/galatea/speakers-060820/ $ ls ~/work/galatea/speakers-060820/
 female01 male01 female01 male01
 +</code> 
 +<code>
 $ ls ~/work/galatea/unidic-chasen1312_eucj/ $ ls ~/work/galatea/unidic-chasen1312_eucj/
 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
 </code> </code>
 +
 +  * https://github.com/nishimotz/jagtalk
  
 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
 +</code> 
 +<code>
 $ 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
 +</code> 
 +<code>
 $ 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:  ../../galatea/speakers-060820/female01/lf0.pdf PIT-MODEL-FILE:  ../../galatea/speakers-060820/female01/lf0.pdf
 MCEP-MODEL-FILE: ../../galatea/speakers-060820/female01/mcep.pdf MCEP-MODEL-FILE: ../../galatea/speakers-060820/female01/mcep.pdf
 +</code>
  
 +chasenrc-euc-jp-macosx contains EUC-JP charactors.
 +
 +<code>
 $ cat chasenrc-euc-jp-macosx $ cat chasenrc-euc-jp-macosx
 ;; ;;
Line 487: Line 496:
 </code> </code>
  
-chasenrc-euc-jp-macosx contains EUC-JP charactors.+run the test script, open _out.wav using QuickTime Player. You will hear 'hyaku ni juu san' (123 in Japanese). 
 + 
 +<code> 
 +$ sh test-jagtalk-macosx.sh 
 +</code> 
 + 
 +jagtalk now uses Mac audio device: 
 + 
 +<code> 
 +$ sh run-jagtalk-macosx.sh 
 +</code> 
 + 
 +<code> 
 +$ cat 00-testcmd-speaker  
 +set Speak.syncinterval = 500 
 +set Text = 123456789 
 +set Speak = NOW 
 +</code> 
galateatalk.1318153252.txt.gz · Last modified: 2011/10/09 18:40 by nishimotz
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0