diff --git a/README b/README index 2231e6f..b64b1c7 100644 --- a/README +++ b/README @@ -48,9 +48,9 @@ run: `make ttssr-human-only` Specific Dependencies: -* PocketSphinx pacakge `sudo aptitude install pocketsphinx pocketsphinx-en-us` -Python Libaries: -* PocketSphinx: `sudo pip3 install PocketSphinx`, install dependencies: `sudo apt-get install gcc automake autoconf libtool bison swig python-dev libpulse-dev` +* PocketSphinx package `sudo aptitude install pocketsphinx pocketsphinx-en-us` +* PocketSphinx: `sudo pip3 install PocketSphinx` +* Python Libaries:`sudo apt-get install gcc automake autoconf libtool bison swig python-dev libpulse-dev` * Speech Recognition: `sudo pip3 install SpeechRecognition` * TermColor: `sudo pip3 install termcolor` * PyAudio: `pip3 install pyaudio` diff --git a/src/ttssr-loop-human-only.sh b/src/ttssr-loop-human-only.sh index 3e0e8ee..5967271 100644 --- a/src/ttssr-loop-human-only.sh +++ b/src/ttssr-loop-human-only.sh @@ -5,9 +5,9 @@ head -n 1 $1 > output/input0.txt while [[ $i -le 10 ]] do echo $i cat output/input$i.txt - python3 src/write_audio.py src/sound$i.wav 2> /dev/null + python3 src/ttssr_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 - python3 src/audio_transcribe.py sound$i.wav > output/input$((i+1)).txt 2> /dev/null + python3 src/ttssr_transcribe.py sound$i.wav > output/input$((i+1)).txt 2> /dev/null sleep 1 (( i++ )) done diff --git a/src/audio_transcribe.py b/src/ttssr_transcribe.py similarity index 100% rename from src/audio_transcribe.py rename to src/ttssr_transcribe.py diff --git a/src/write_audio.py b/src/ttssr_write_audio.py similarity index 100% rename from src/write_audio.py rename to src/ttssr_write_audio.py