diff options
| author | onefang | 2025-05-23 15:30:27 +1000 |
|---|---|---|
| committer | onefang | 2025-05-23 15:30:27 +1000 |
| commit | 02d321d7ffc3589262488e234edeeeb3b22b94ce (patch) | |
| tree | ee0fe95a9b59edbda05525aabfbf8da37ad8ea7b | |
| parent | Maximize the volume, and turn on IEC958 for everything, so we can hear everyt... (diff) | |
| download | JackOnAllDevices-02d321d7ffc3589262488e234edeeeb3b22b94ce.zip JackOnAllDevices-02d321d7ffc3589262488e234edeeeb3b22b94ce.tar.gz JackOnAllDevices-02d321d7ffc3589262488e234edeeeb3b22b94ce.tar.bz2 JackOnAllDevices-02d321d7ffc3589262488e234edeeeb3b22b94ce.tar.xz | |
Neaten up the white space.
| -rwxr-xr-x | aataaj.lua | 42 |
1 files changed, 22 insertions, 20 deletions
| @@ -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() |
| 232 | end | 232 | end |
| 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. | ||
| 234 | if 'start' == cmd then | 236 | if 'start' == cmd then |
| 235 | print('Your ' .. cnt .. ' audio devices are - ') | 237 | print('Your ' .. cnt .. ' audio devices are - ') |
| 236 | 238 | ||
