Skip to content
VoiceTextAPI
Branch: master
Clone or download
Latest commit 64c2097 Jul 24, 2014
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib
.gitignore Init commit Jul 21, 2014
Gemfile Init commit Jul 21, 2014
LICENSE.txt Init commit Jul 21, 2014
README.md Update gem 0.0.2 Jul 24, 2014
Rakefile Init commit Jul 21, 2014
text2voice.gemspec Revert "Update gemspec dependency" Jul 21, 2014

README.md

Text2Voice

This gem is Voice Text Web API(https://cloud.voicetext.jp/webapi/docs/introduction) for Ruby.

Installation

Add this line to your application's Gemfile:

gem 'text2voice'

And then execute:

$ bundle

Or install it yourself as:

$ gem install text2voice

Usage

require 'text2voice'

voice = TextToVoice.new("Your API key")

voice.speak("こころぴょんぴょん")
     .speaker("haruka")
     .emotion(emotion: :happiness, level: :high)

voice.save_as("test.wav")

Contributing

  1. Fork it ( http://github.com//text2voice/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request
You can’t perform that action at this time.