Last active
January 27, 2016 18:36
-
-
Save yawara/ba4c94c9029cbd099af0 to your computer and use it in GitHub Desktop.
Mac; OS X MavericsにOpenJTalkを導入する ref: http://qiita.com/yawara/items/2cb20f7bbb07615229ec
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| brew install open-jtalk |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| mkdir -p /usr/local/OpenJTalk/voice |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| tar xzvf hts_engine_API-1.09.tar.gz | |
| cd hts_engine_API-1.09 | |
| ./configure --prefix=/usr/local/OpenJTalk | |
| make && make install |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| tar xzvf open_jtalk-1.08.tar.gz | |
| cd open_jtalk-1.08 | |
| ./configure --prefix=/usr/local/OpenJTalk --with-hts-engine-header-path=/usr/local/OpenJTalk/include --with-hts-engine-library-path=/usr/local/OpenJTalk/lib --with-charset=UTF-8 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sed -e 's/-finput-charset=UTF-8 -fexec-charset=UTF-8//' config.status > tmp | |
| mv tmp config.status && rm tmp | |
| make && make install |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| tar xzvf hts_voice_nitech_jp_atr503_m001-1.05.tar.gz | |
| mv hts_voice_nitech_jp_atr503_m001-1.05 /usr/local/OpenJTalk/voice | |
| cd /usr/local/OpenJTalk/voice | |
| ln -s hts_voice_nitech_jp_atr503_m001-1.05 m001 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| open_jtalk -x /usr/local/OpenJTalk/dic -m /usr/local/OpenJTalk/voice/m001/nitech_jp_atr503_m001.htsvoice -ow out.wav sample.txt |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| brew install open-jtalk |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment