Changes in ttssr

master
ange 7 years ago
parent ee753eebfd
commit 47d33a480d

@ -5,9 +5,9 @@ head -n 1 $1 > output/input0.txt
while [[ $i -le 10 ]] while [[ $i -le 10 ]]
do echo $i do echo $i
cat output/input$i.txt cat output/input$i.txt
python3 src/ttssr/write_audio.py src/sound$i.wav 2> /dev/null python3 src/write_audio.py src/sound$i.wav 2> /dev/null
play src/sound$i.wav repeat 5 2> /dev/null & #in the background the sound, without it all the sounds play one by one//2 is stderr play src/sound$i.wav repeat 5 2> /dev/null & #in the background the sound, without it all the sounds play one by one//2 is stderr
python3 src/ttssr/audio_transcribe.py sound$i.wav > output/input$((i+1)).txt 2> /dev/null python3 src/audio_transcribe.py sound$i.wav > output/input$((i+1)).txt 2> /dev/null
sleep 1 sleep 1
(( i++ )) (( i++ ))
done done

Loading…
Cancel
Save