FILENAME=/tmp/$RANDOM
espeak -s 175 -g 3 -w $FILENAME\.wav "$(xclip -out -selection)"
lame $FILENAME\.wav -o $FILENAME\.mp3
obexftp -b 2C:D2:E7:BE:25:3E -c "Ontv. best." -p $FILENAME\.mp3
rm $FILENAME\.wav $FILENAME\.mp3
exit 0
The place to come if you're lost ;)