Advertisement
kimmoli

Untitled

Aug 1st, 2014
24
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. export LD_LIBRARY_PATH="/home/nemo/work/espeak/espeak-1.48.04-source/src"
  2.  
  3. dbus-monitor |
  4. while read -r line;
  5. do
  6. if echo $line | grep "x-nemo-preview" > /dev/null
  7. then
  8. read -r idline
  9. if echo $idline | grep "string" > /dev/null
  10. then
  11. words=`echo $idline | cut -d "\"" -f 2`
  12. /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
  13. fi
  14. fi
  15. done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement