Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- export LD_LIBRARY_PATH="/home/nemo/work/espeak/espeak-1.48.04-source/src"
- dbus-monitor |
- while read -r line;
- do
- if echo $line | grep "x-nemo-preview-summary" > /dev/null
- then
- sleep 2
- fi
- if echo $line | grep "x-nemo-preview" > /dev/null
- then
- read -r idline
- if echo $idline | grep "string" > /dev/null
- then
- words=`echo $idline | cut -d "\"" -f 2`
- /home/nemo/work/espeak/espeak-1.48.04-source/src/espeak --stdout -v fi "$words" | gst-launch-0.10 -v fdsrc ! wavparse ! audioconvert ! alsasink > /dev/null
- fi
- fi
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement