aboutsummaryrefslogtreecommitdiffstats
path: root/package/jtalk
diff options
context:
space:
mode:
authorScott Murray <scott.murray@konsulko.com>2019-07-24 17:47:03 -0400
committerScott Murray <scott.murray@konsulko.com>2019-07-24 17:47:03 -0400
commita15ca404ac293aab52d35f9fdbf992ac6ed55500 (patch)
tree8cb668614fc76d528960347dd860a368ed4ec791 /package/jtalk
parent6410e9a18eb8af04a3e8e42c17adcf566a338a6d (diff)
Switch to pipewire output
Update the talk scripts to use pipewire output via gst-launch-1.0 instead of 4A's 4a-play. gstreamer is used to allow using the pipewire output sink and set its media role property. Updated version of previous patch for ALSA support that was applied in the meta-agl-demo recipe. Bug-AGL: SPEC-2667 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I7a38f6e2c464ce13de541e8ad5aa3c109f718845
Diffstat (limited to 'package/jtalk')
-rwxr-xr-xpackage/jtalk4
1 files changed, 1 insertions, 3 deletions
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"