voxbi 0.2.3 → 0.2.4
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.
- checksums.yaml +4 -4
- data/data/paires/_.ogg +0 -0
- data/data/paires.wav +0 -0
- data/lib/voxbi.rb +11 -3
- data/voxbi.gemspec +2 -2
- metadata +2 -3
- data/phono.json +0 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a926da0bfeb11a4b04105d1aeb37effba040d74f
|
4
|
+
data.tar.gz: 03d718f37de101ab0bc84504f8e63f08d5ee7fb9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2a837c1c9672ceacfac2498d7828ca946ab4b59d9590e2b8ff7f6a3bfe2536ed8f0a9683835379543613041f61e594e560318838c6834d2b7c2909ee61dbab50
|
7
|
+
data.tar.gz: 12400857f8925e0cfc7ca7465d56c4f7d98664e008455ada7eb31cb14c2c9fe4cbba1f3056288df6ab03aec24556085b5392d10d2ca2b0a79436bde6b3db9bfa
|
data/data/paires/_.ogg
CHANGED
Binary file
|
data/data/paires.wav
CHANGED
Binary file
|
data/lib/voxbi.rb
CHANGED
@@ -5,7 +5,7 @@ require "json"
|
|
5
5
|
module Voxbi
|
6
6
|
|
7
7
|
ROOT = File.expand_path("../..", __FILE__)
|
8
|
-
|
8
|
+
@output_path = "#{ROOT}/data/paires.wav"
|
9
9
|
eval(File.read("#{ROOT}/lib/special_chars.rb"))
|
10
10
|
|
11
11
|
def Voxbi.parseCSV(path)
|
@@ -28,6 +28,14 @@ module Voxbi
|
|
28
28
|
@liaisons ||= parseCSV "liaisons"
|
29
29
|
end
|
30
30
|
|
31
|
+
def Voxbi.set_output_path(p)
|
32
|
+
@output_path = p
|
33
|
+
end
|
34
|
+
|
35
|
+
def Voxbi.output_path
|
36
|
+
@output_path
|
37
|
+
end
|
38
|
+
|
31
39
|
def Voxbi.apply_exceptions
|
32
40
|
exceptions.each {|k,v| dict[k] = v}
|
33
41
|
end
|
@@ -78,8 +86,8 @@ module Voxbi
|
|
78
86
|
end
|
79
87
|
end
|
80
88
|
end
|
81
|
-
`sox #{fichiers.join(" ")} #{
|
82
|
-
`aplay #{
|
89
|
+
`sox #{fichiers.join(" ")} #{output_path}`
|
90
|
+
`aplay #{output_path}`
|
83
91
|
end
|
84
92
|
|
85
93
|
|
data/voxbi.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: voxbi
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Galaad Gauthier
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-09-
|
11
|
+
date: 2013-09-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|
@@ -288,7 +288,6 @@ files:
|
|
288
288
|
- data/phono.json
|
289
289
|
- data/exceptions.csv
|
290
290
|
- data/liaisons.csv
|
291
|
-
- phono.json
|
292
291
|
- bin/voxbi
|
293
292
|
- README.md
|
294
293
|
homepage: https://github.com/Galaad-Gauthier/VoxBi
|