ref: 3d4573f3902988f399aaccd0cbc618efd3b1634c
parent: 78121c49f76ce415ded466f394aafd04901d2b27
author: qwx <[email protected]>
date: Thu Aug 18 20:29:56 EDT 2022
add fbar: flite-powered narrator as a service
--- /dev/null
+++ b/bin/fbar
@@ -1,0 +1,9 @@
+#!/bin/rc
+rfork n
+rm -f /srv/bar
+bind -a '#|' /mnt/bar
+<>[3]/mnt/bar/data1 {
+ echo 3 >/srv/fbar
+ window -m rc -c 'cat >[1=3]'
+ audio/flite -v awb </mnt/bar/data >/dev/audio &
+}