summaryrefslogtreecommitdiff
path: root/readaloud
diff options
context:
space:
mode:
Diffstat (limited to 'readaloud')
-rwxr-xr-xreadaloud9
1 files changed, 9 insertions, 0 deletions
diff --git a/readaloud b/readaloud
new file mode 100755
index 0000000..86dd0ea
--- /dev/null
+++ b/readaloud
@@ -0,0 +1,9 @@
+#!/usr/bin/env bash
+# pipe some text into this script
+#
+piper \
+ -m /home/ben/Downloads/en_GB-alba-medium.onnx \
+ -c /home/ben/Downloads/en_GB-alba-medium.onnx.json \
+ --output-raw \
+ | pw-play --rate 22050 --channels 1 -
+