From 02d321d7ffc3589262488e234edeeeb3b22b94ce Mon Sep 17 00:00:00 2001 From: onefang Date: Fri, 23 May 2025 15:30:27 +1000 Subject: Neaten up the white space. --- aataaj.lua | 42 ++++++++++++++++++++++-------------------- 1 file changed, 22 insertions(+), 20 deletions(-) (limited to 'aataaj.lua') diff --git a/aataaj.lua b/aataaj.lua index 7375811..e2ac7cb 100755 --- a/aataaj.lua +++ b/aataaj.lua @@ -88,28 +88,28 @@ local options = fi mkdir -p /usr/local/share/doc/aataaj pushd /usr/local/share/doc/aataaj - espeak-ng --stdout "Your " | sox - your.wav channels 2 - espeak-ng --stdout " audio devices are - " | sox - devices.wav channels 2 - espeak-ng --stdout "Device number " | sox - device.wav channels 2 - espeak-ng --stdout ", sub device " | sox - sub.wav channels 2 - espeak-ng --stdout "zero" | sox - zero.wav channels 2 - espeak-ng --stdout "one" | sox - one.wav channels 2 - espeak-ng --stdout "two" | sox - two.wav channels 2 - espeak-ng --stdout "three" | sox - three.wav channels 2 - espeak-ng --stdout "four" | sox - four.wav channels 2 - espeak-ng --stdout "five" | sox - five.wav channels 2 - espeak-ng --stdout "six" | sox - six.wav channels 2 - espeak-ng --stdout "seven" | sox - seven.wav channels 2 - espeak-ng --stdout "eight" | sox - eight.wav channels 2 - espeak-ng --stdout "nine" | sox - nine.wav channels 2 - espeak-ng --stdout "ten" | sox - ten.wav channels 2 - espeak-ng --stdout "eleven" | sox - eleven.wav channels 2 - espeak-ng --stdout "twelve" | sox - twelve.wav channels 2 + espeak-ng --stdout "Your " | sox - your.wav channels 2 + espeak-ng --stdout " audio devices are - " | sox - devices.wav channels 2 + espeak-ng --stdout "Device number " | sox - device.wav channels 2 + espeak-ng --stdout ", sub device " | sox - sub.wav channels 2 + espeak-ng --stdout "zero" | sox - zero.wav channels 2 + espeak-ng --stdout "one" | sox - one.wav channels 2 + espeak-ng --stdout "two" | sox - two.wav channels 2 + espeak-ng --stdout "three" | sox - three.wav channels 2 + espeak-ng --stdout "four" | sox - four.wav channels 2 + espeak-ng --stdout "five" | sox - five.wav channels 2 + espeak-ng --stdout "six" | sox - six.wav channels 2 + espeak-ng --stdout "seven" | sox - seven.wav channels 2 + espeak-ng --stdout "eight" | sox - eight.wav channels 2 + espeak-ng --stdout "nine" | sox - nine.wav channels 2 + espeak-ng --stdout "ten" | sox - ten.wav channels 2 + espeak-ng --stdout "eleven" | sox - eleven.wav channels 2 + espeak-ng --stdout "twelve" | sox - twelve.wav channels 2 espeak-ng --stdout "thirteen" | sox - thirteen.wav channels 2 espeak-ng --stdout "fourteen" | sox - fourteen.wav channels 2 - espeak-ng --stdout "fifteen" | sox - fifteen.wav channels 2 - espeak-ng --stdout "sixteen" | sox - sixteen.wav channels 2 - espeak-ng --stdout "Please type the device number you heard best - " | sox - best.wav channels 2 + espeak-ng --stdout "fifteen" | sox - fifteen.wav channels 2 + espeak-ng --stdout "sixteen" | sox - sixteen.wav channels 2 + espeak-ng --stdout "Please type the device number you heard best - " | sox - best.wav channels 2 popd ln -s `pwd`/*.md /usr/local/share/doc/aataaj/ update-rc.d aataaj.lua defaults @@ -231,6 +231,8 @@ print(s) -- io.flush() end +-- TODO - Start with the device, then go through the sub devices. Coz at boot time subs don't seem to work. +-- Likely that'll lock things up at "all speak at once" time. if 'start' == cmd then print('Your ' .. cnt .. ' audio devices are - ') -- cgit v1.1