aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xaataaj.lua42
1 files changed, 22 insertions, 20 deletions
diff --git a/aataaj.lua b/aataaj.lua
index 7375811..e2ac7cb 100755
--- a/aataaj.lua
+++ b/aataaj.lua
@@ -88,28 +88,28 @@ local options =
88 fi 88 fi
89 mkdir -p /usr/local/share/doc/aataaj 89 mkdir -p /usr/local/share/doc/aataaj
90 pushd /usr/local/share/doc/aataaj 90 pushd /usr/local/share/doc/aataaj
91 espeak-ng --stdout "Your " | sox - your.wav channels 2 91 espeak-ng --stdout "Your " | sox - your.wav channels 2
92 espeak-ng --stdout " audio devices are - " | sox - devices.wav channels 2 92 espeak-ng --stdout " audio devices are - " | sox - devices.wav channels 2
93 espeak-ng --stdout "Device number " | sox - device.wav channels 2 93 espeak-ng --stdout "Device number " | sox - device.wav channels 2
94 espeak-ng --stdout ", sub device " | sox - sub.wav channels 2 94 espeak-ng --stdout ", sub device " | sox - sub.wav channels 2
95 espeak-ng --stdout "zero" | sox - zero.wav channels 2 95 espeak-ng --stdout "zero" | sox - zero.wav channels 2
96 espeak-ng --stdout "one" | sox - one.wav channels 2 96 espeak-ng --stdout "one" | sox - one.wav channels 2
97 espeak-ng --stdout "two" | sox - two.wav channels 2 97 espeak-ng --stdout "two" | sox - two.wav channels 2
98 espeak-ng --stdout "three" | sox - three.wav channels 2 98 espeak-ng --stdout "three" | sox - three.wav channels 2
99 espeak-ng --stdout "four" | sox - four.wav channels 2 99 espeak-ng --stdout "four" | sox - four.wav channels 2
100 espeak-ng --stdout "five" | sox - five.wav channels 2 100 espeak-ng --stdout "five" | sox - five.wav channels 2
101 espeak-ng --stdout "six" | sox - six.wav channels 2 101 espeak-ng --stdout "six" | sox - six.wav channels 2
102 espeak-ng --stdout "seven" | sox - seven.wav channels 2 102 espeak-ng --stdout "seven" | sox - seven.wav channels 2
103 espeak-ng --stdout "eight" | sox - eight.wav channels 2 103 espeak-ng --stdout "eight" | sox - eight.wav channels 2
104 espeak-ng --stdout "nine" | sox - nine.wav channels 2 104 espeak-ng --stdout "nine" | sox - nine.wav channels 2
105 espeak-ng --stdout "ten" | sox - ten.wav channels 2 105 espeak-ng --stdout "ten" | sox - ten.wav channels 2
106 espeak-ng --stdout "eleven" | sox - eleven.wav channels 2 106 espeak-ng --stdout "eleven" | sox - eleven.wav channels 2
107 espeak-ng --stdout "twelve" | sox - twelve.wav channels 2 107 espeak-ng --stdout "twelve" | sox - twelve.wav channels 2
108 espeak-ng --stdout "thirteen" | sox - thirteen.wav channels 2 108 espeak-ng --stdout "thirteen" | sox - thirteen.wav channels 2
109 espeak-ng --stdout "fourteen" | sox - fourteen.wav channels 2 109 espeak-ng --stdout "fourteen" | sox - fourteen.wav channels 2
110 espeak-ng --stdout "fifteen" | sox - fifteen.wav channels 2 110 espeak-ng --stdout "fifteen" | sox - fifteen.wav channels 2
111 espeak-ng --stdout "sixteen" | sox - sixteen.wav channels 2 111 espeak-ng --stdout "sixteen" | sox - sixteen.wav channels 2
112 espeak-ng --stdout "Please type the device number you heard best - " | sox - best.wav channels 2 112 espeak-ng --stdout "Please type the device number you heard best - " | sox - best.wav channels 2
113 popd 113 popd
114 ln -s `pwd`/*.md /usr/local/share/doc/aataaj/ 114 ln -s `pwd`/*.md /usr/local/share/doc/aataaj/
115 update-rc.d aataaj.lua defaults 115 update-rc.d aataaj.lua defaults
@@ -231,6 +231,8 @@ print(s)
231-- io.flush() 231-- io.flush()
232end 232end
233 233
234-- TODO - Start with the device, then go through the sub devices. Coz at boot time subs don't seem to work.
235-- Likely that'll lock things up at "all speak at once" time.
234if 'start' == cmd then 236if 'start' == cmd then
235 print('Your ' .. cnt .. ' audio devices are - ') 237 print('Your ' .. cnt .. ' audio devices are - ')
236 238