Permalink
Browse files

Update main.rb

fixed spd-say saying only first word of output
  • Loading branch information...
nsrahmad committed Feb 19, 2015
1 parent 8f35038 commit 7e74db9590af8e664284f3b60ecb1c13e5c4c820
Showing with 2 additions and 2 deletions.
  1. +2 −2 main.rb
View
@@ -156,12 +156,12 @@ def speak(text)
end
else
if has_spd_say
system("spd-say -t female2 -m some -r 5 -p -25 -s #{text}")
system("spd-say -t female2 -m some -r 5 -p -25 -s \"#{text}\"")
end
end
else
if has_spd_say
system("spd-say -t female2 -m some -r 5 -p -25 -s #{text}")
system("spd-say -t female2 -m some -r 5 -p -25 -s \"#{text}\"")
end
end
end

0 comments on commit 7e74db9

Please sign in to comment.