Your absolutly right!
My ultimate goal is to have a speech engine up and running that will speak text piped in from all applications, encluding the desktop and voice command allowing me to "do everything".
and have 0 java on my machine... [personal hatred of java update badness left over from windows days]
An insanely tall order, I know...
But! I'm slowly making progress! OP V3 seems to have installed both festival AND Technosaurous' speak pets and can run them both! (OP2 seemed to balk at festival pup on my machine)
espeak (standard ppm package) gives -w (no sound) only error, I need to to some work there...
I also found
http://hak5.org/episodes/haktip-51
and now have a hotkey to speak selected text!
[For puppy users the hotkey controls are in Menu>Utility>PupControlPanel>Window Manager Settings>Keyboard Shortcuts ]
Or!
/root/.jwm/jwmrc-personal {or personal2 }
You'll need to click the eye to see hidden if you are using ROX...
look for
<!-- Key bindings -->
in that file and add
<Key mask="CS" key="z">exec:/usr/bin/talkit.sh</Key>
on a new line right below it.
save and exit
then in a terminal window type these lines
cat << eof > talk.sh
#!/bin/bash
xsel | festival --tts --pipe
eof
cmod +x ~/talkit.sh
install xsel in puppy package manager
and poof! CTRL-SHIFT-z will now speak selected text!
(even though we did this in the wrong order)
If you run into the error Linux: can't open /dev/dsp
echo "
(Parameter.set 'Audio_Command "aplay -q -c 1 -t raw -f s16 -r $SR $FILE")
(Parameter.set 'Audio_Method 'Audio_Command)
" >> ~/.festivalrc
fixes that!
(and I hope to have one just like that for espeak so the -w error goes away, not sure how technosaurous' speak works fine but espeak doesn't...)
The speech rate can be configured in /usr/share/festival/voices/english/kal_diphone/festvox/kal_diphone.scm
under the setting "Parameter.set 'Duration_Stretch" -- the lower the value the faster the speech rate.
YAAAAAY HakTip!
Believe it or not "puppylinux.com" was a link on the site in haktip-10
I'll have to update my linux skill soon
I have yasr installed but yasr seems to do NOTHING??
yasr --help = error
info =same
man -k yasr = deadend search 0 results...
it's in Pprocess manager a couple times but nothing seems to get it to speak...
Speech dispatcher hangs my puppy package manager but Gespeaker seems to have installed ok...
I seem to still be missing the go between part that pipes output to the speech from bash/urxvt ,
(also the desktop>urxvt settings thingy doesn't seem to be changeing forground or background values in console even after restart...)
on the mud front I have a thread at
http://www.kildclient.org/forum/viewtop ... f=3&t=4020
but it's still a work in progress, hopefully soon my now working tk bindings for perl will allow us to get a finished work.
I have so many partially working bits installed it's getting hard to keep track already, and it's only week 1 with the new distro...