summaryrefslogtreecommitdiff
path: root/readaloud
diff options
context:
space:
mode:
authorBen Sima <ben@bensima.com>2025-04-18 12:52:51 -0400
committerBen Sima <ben@bensima.com>2025-04-18 12:52:51 -0400
commiteff8592cd47b48febb3a09c3d593bb10ee310e5a (patch)
treea8200e8888aa5602683587ffa9818da9e1780064 /readaloud
parenta6d62663e20fb5d1359845017787c85c4b10746f (diff)
readaloud: kinda useful i guess
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 -
+