diff options
-rwxr-xr-x | package/flite | 3 | ||||
-rwxr-xr-x | package/jtalk | 4 |
2 files changed, 2 insertions, 5 deletions
diff --git a/package/flite b/package/flite index 4c17b80..c6787ed 100755 --- a/package/flite +++ b/package/flite @@ -1,5 +1,4 @@ #!/bin/sh TMP=/tmp/navi.wav echo "$1" | flite_hts_engine -m /usr/share/Voice/us/cmu_us_arctic_slt.htsvoice -o $TMP -4a-play $TMP hw:0,0,3 navigation - +gst-launch-1.0 filesrc location=$TMP ! decodebin ! audioconvert ! audioresample ! pwaudiosink stream-properties="p,media.role=Navigation" diff --git a/package/jtalk b/package/jtalk index ed82281..7b273fb 100755 --- a/package/jtalk +++ b/package/jtalk @@ -1,6 +1,4 @@ #!/bin/sh TMP=/tmp/navi.wav echo "$1" | open_jtalk -ow $TMP -m /usr/share/Voice/mei/mei_normal.htsvoice -x /usr/share/dic/ -4a-play $TMP hw:0,0,3 navigation - - +gst-launch-1.0 filesrc location=$TMP ! decodebin ! audioconvert ! audioresample ! pwaudiosink stream-properties="p,media.role=Navigation" |