Coder Social home page Coder Social logo

japanese_tts_ros's Introduction

japanese_text_to_speech

日本語テキストを音声として出力する ROS node です.

Open JTalk を利用しています.

インストール

Open JTalkとaplayコマンドに依存しています.

sudo apt install open-jtalk open-jtalk-mecab-naist-jdic hts-voice-nitech-jp-atr503-m001 alsa-utils

catkin workspace内に設置して catkin_make してください.

使い方

japanese_text_to_speech node を起動してください. この node がサーバとなり,クライアントから受け取ったテキストを音声出力します.

rosrun japanese_text_to_speech japanese_text_to_speech

この node は actionlib を使って実装されています. 簡単なクライアントのサンプルとして test_client nodeを用意してあります.

rosrun japanese_text_to_speech test_client

音響モデルの切り替え

デフォルトでは男性の音声を使うようになっていますが,他の音声に切り換えることもできます.

.htsvoice ファイルを適当な場所に設置し, ~hts_voice_file rosparam をセットしてください.

rosrun japanese_text_to_speech japanese_text_to_speech _hts_voice_file:='/path/to/htsvoice'

参考: http://mahoro-ba.net/index.php?j=1875

japanese_tts_ros's People

Contributors

fujimo-t avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.