From e717b87ac5be0b29c7c0979a3e336c5c40e40221 Mon Sep 17 00:00:00 2001 From: dvs1 Date: Fri, 21 Nov 2025 16:15:23 +1000 Subject: Speak at a rate that all devices should support. Also speak all at the same hertz. --- aataaj.lua | 44 ++++++++++++++++++++++---------------------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/aataaj.lua b/aataaj.lua index c9f10c2..c00fcc4 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 "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 "Your " | sox - your.wav channels 2 rate 44100 + espeak-ng --stdout " audio devices are - " | sox - devices.wav channels 2 rate 44100 + espeak-ng --stdout "Device number " | sox - device.wav channels 2 rate 44100 + espeak-ng --stdout ", sub device " | sox - sub.wav channels 2 rate 44100 + espeak-ng --stdout "zero" | sox - zero.wav channels 2 rate 44100 + espeak-ng --stdout "one" | sox - one.wav channels 2 rate 44100 + espeak-ng --stdout "two" | sox - two.wav channels 2 rate 44100 + espeak-ng --stdout "three" | sox - three.wav channels 2 rate 44100 + espeak-ng --stdout "four" | sox - four.wav channels 2 rate 44100 + espeak-ng --stdout "five" | sox - five.wav channels 2 rate 44100 + espeak-ng --stdout "six" | sox - six.wav channels 2 rate 44100 + espeak-ng --stdout "seven" | sox - seven.wav channels 2 rate 44100 + espeak-ng --stdout "eight" | sox - eight.wav channels 2 rate 44100 + espeak-ng --stdout "nine" | sox - nine.wav channels 2 rate 44100 + espeak-ng --stdout "ten" | sox - ten.wav channels 2 rate 44100 + espeak-ng --stdout "eleven" | sox - eleven.wav channels 2 rate 44100 + espeak-ng --stdout "twelve" | sox - twelve.wav channels 2 rate 44100 + espeak-ng --stdout "thirteen" | sox - thirteen.wav channels 2 rate 44100 + espeak-ng --stdout "fourteen" | sox - fourteen.wav channels 2 rate 44100 + espeak-ng --stdout "fifteen" | sox - fifteen.wav channels 2 rate 44100 + espeak-ng --stdout "sixteen" | sox - sixteen.wav channels 2 rate 44100 + espeak-ng --stdout "Please type the device number you heard best - " | sox - best.wav channels 2 rate 44100 popd ln -s `pwd`/*.md /usr/local/share/doc/aataaj/ update-rc.d aataaj.lua defaults -- cgit v1.1