Add event commands

This commit is contained in:
Michael Hansen
2023-12-06 15:59:57 -06:00
parent a3c4d43b46
commit 2af7d4cdcf
9 changed files with 184 additions and 72 deletions
+4
View File
@@ -0,0 +1,4 @@
#!/usr/bin/env sh
name="$(cat)"
echo "Wake word detected: ${name}"
+3
View File
@@ -0,0 +1,3 @@
#!/usr/bin/env sh
echo 'Audio streaming to server has started'
+3
View File
@@ -0,0 +1,3 @@
#!/usr/bin/env sh
echo 'User has started speaking'
+3
View File
@@ -0,0 +1,3 @@
#!/usr/bin/env sh
echo 'User has stopped speaking'
+4
View File
@@ -0,0 +1,4 @@
#!/usr/bin/env sh
text="$(cat)"
echo "Text to speech text: ${text}"
+4
View File
@@ -0,0 +1,4 @@
#!/usr/bin/env sh
text="$(cat)"
echo "Speech to text transcript: ${text}"
+3
View File
@@ -0,0 +1,3 @@
#!/usr/bin/env sh
echo 'Text to speech response has started'
+3
View File
@@ -0,0 +1,3 @@
#!/usr/bin/env sh
echo 'Text to speech response has stopped'