freetts 0.0.1 → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/bin/freetts +16 -0
- data/freetts.gemspec +23 -0
- data/lib/freetts/version.rb +1 -1
- metadata +5 -2
data/bin/freetts
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
#!/usr/bin/env jruby
|
|
2
|
+
|
|
3
|
+
require "freetts"
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
USAGE_MESSAGE = "please enter a message for free t t s to speak"
|
|
7
|
+
USAGE_EXAMPLE = "Usage: freetts <MESSAGE>"
|
|
8
|
+
|
|
9
|
+
if ARGV.length > 0
|
|
10
|
+
message = ARGV.join(" ")
|
|
11
|
+
FreeTTS.speak(message)
|
|
12
|
+
else
|
|
13
|
+
FreeTTS.speak(USAGE_MESSAGE)
|
|
14
|
+
puts USAGE_EXAMPLE
|
|
15
|
+
exit(false)
|
|
16
|
+
end
|
data/freetts.gemspec
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
$:.push File.expand_path("../lib", __FILE__)
|
|
2
|
+
require "freetts/version"
|
|
3
|
+
|
|
4
|
+
Gem::Specification.new do |s|
|
|
5
|
+
s.name = "freetts"
|
|
6
|
+
s.version = FreeTTS::VERSION
|
|
7
|
+
s.authors = ["Chris kottom"]
|
|
8
|
+
s.email = "chris@chriskottom.com"
|
|
9
|
+
s.homepage = ""
|
|
10
|
+
s.summary = %q{A voice synthesizer in JRuby}
|
|
11
|
+
s.description = %q{FreeTTS provides a simple wrapper around the Java library of the same name in order to expose a voice synthesis API.}
|
|
12
|
+
|
|
13
|
+
s.rubyforge_project = "freetts"
|
|
14
|
+
|
|
15
|
+
s.files = `git ls-files`.split("\n")
|
|
16
|
+
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
|
17
|
+
s.executables = ["freetts"]
|
|
18
|
+
s.require_paths = ["lib"]
|
|
19
|
+
|
|
20
|
+
# specify any dependencies here; for example:
|
|
21
|
+
# s.add_development_dependency "rspec"
|
|
22
|
+
# s.add_runtime_dependency "rest-client"
|
|
23
|
+
end
|
data/lib/freetts/version.rb
CHANGED
metadata
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
name: freetts
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
4
|
prerelease:
|
|
5
|
-
version: 0.0
|
|
5
|
+
version: 0.1.0
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
8
8
|
- Chris kottom
|
|
@@ -14,16 +14,19 @@ default_executable:
|
|
|
14
14
|
dependencies: []
|
|
15
15
|
description: FreeTTS provides a simple wrapper around the Java library of the same name in order to expose a voice synthesis API.
|
|
16
16
|
email: chris@chriskottom.com
|
|
17
|
-
executables:
|
|
17
|
+
executables:
|
|
18
|
+
- freetts
|
|
18
19
|
extensions: []
|
|
19
20
|
extra_rdoc_files: []
|
|
20
21
|
files:
|
|
21
22
|
- .gitignore
|
|
22
23
|
- .rvmrc.example
|
|
23
24
|
- README.md
|
|
25
|
+
- bin/freetts
|
|
24
26
|
- examples/hello_world.rb
|
|
25
27
|
- examples/rss_reader.rb
|
|
26
28
|
- examples/voice_play.rb
|
|
29
|
+
- freetts.gemspec
|
|
27
30
|
- lib/freetts.rb
|
|
28
31
|
- lib/freetts/version.rb
|
|
29
32
|
- lib/freetts/voice.rb
|