1 gpsnavi: Switch to ALSA output
3 Update the talk scripts to use ALSA output via gst-launch-1.0 instead
4 of PulseAudio's paplay. gstreamer is used since it is likely that a
5 further revision will change to a pipewire output sink and add back
6 setting a role property.
8 Upstream-Status: Inappropriate [no upstream]
10 Signed-off-by: Scott Murray <scott.murray@konsulko.com>
12 diff --git a/flite_agl.in b/flite_agl.in
13 index 28b512c..67a09e5 100644
19 echo "$1" | flite_hts_engine -m @datadir@/Voice/us/cmu_us_arctic_slt.htsvoice -o $TMP
20 -paplay --property='media.role=Navi' $TMP
21 +gst-launch-1.0 filesrc location=$TMP ! decodebin ! audioconvert ! audioresample ! alsasink
24 diff --git a/jtalk_agl.in b/jtalk_agl.in
25 index 76900f4..73c87e5 100644
31 echo "$1" | open_jtalk -ow $TMP -m @exec_prefix@/share/Voice/mei/mei_normal.htsvoice -x @exec_prefix@/share/dic/
32 -paplay --property='media.role=Navi' $TMP
33 +gst-launch-1.0 filesrc location=$TMP ! decodebin ! audioconvert ! audioresample ! alsasink