4
I use the script below to download Audios from google translator to use in a personal program that narrates codes and quantities of my stock. The problem is that the high-pitched "oh" accent of the code word is bringing a faulty audio, as if it were with an Echo error. If trying straight through the translator google site works, speaks code right.
#!/bin/bash
echo 'iniciando program'
while read line; do
echo $line
wget -q -U Mozilla "http://translate.google.com/translate_tts?tl=pt&q=código: $line" -O $line.mp3
break
done < codigos.txt
echo 'fim'
You can try that too:
#!/bin/bash
echo 'iniciando program'
wget -q -U Mozilla "http://translate.google.com/translate_tts?tl=pt&q=código: 3 5 6. 05 unidades" -O teste.mp3
echo 'fim'
Thalysson, it worked out?
– stderr
It did work! : Thank you.
– ThalyssonVieira