Hello Trevor. Here are a couple of dripbox links to scripts to patch espeak for portaudio on the Pi, stop it stuttering, and for fixing alsa.conf to suppress a load of error messages for devices which don't exist: https://dl.dropboxusercontent.com/u/59970788/fix-alsa-conf.sh https://dl.dropboxusercontent.com/u/59970788/patch-espeak.sh hth. Mike On 10/03/2014 01:21, Trevor Astrope wrote: > Hi Mike, > > I would still be interested in your script, as I am using pulseaudio > mainly because of the poor speech in alsa. What did you do to suppress > all the alsa and jack messages that portaudio outputs? I had to add a > lot of lines like "pcm.rear cards.pcm.default" when I used alsa. > > > On Sun, 9 Mar 2014, Mike Ray wrote: > >> Hello Trevor. >> >> If you're using pulse then my changes won't be relevant to you >> because the changes are applied to wave.cpp which is used for portaudio. >> >> I now have speech-dispatcher and speechd-up running with espeak >> compiled for portaudio and sd configured for alsa. >> >> I have also installed Orca on the default Raspbian with these changes >> applied but so far whenever I try to run Orca the card flakes out. >> Beginning to think it's just a step too far for the Pi. Might work >> with a lighter desktop than lxde. >> >> I can send you the script that applies the changes if you want. >> >> Have you tried trapping the kernel errors with a serial console? On >> the Pi it is caused by the VCHIQ baulking at a null pointer caused by >> latency set too fast. >> >> Mike >> >> On 09/03/2014 17:17, Trevor Astrope wrote: >>> Hi Mike, >>> >>> Can you share the espeak modifications to prevent the kernel >>> crashes? I have speakup working with espeakup on a cubieboard with >>> an armv7hl processor. Using pulseaudio solved the stuttering and >>> clipping problem with espeak, but I still get the kernel crashes. >>> >>> On Sun, 9 Mar 2014, Mike Ray wrote: >>> >>>> Hello. >>>> >>>> I have managed finally to get speech-dispatcher and speechd-up >>>> running on a Raspberry Pi and with some tweaks to the eSpeak source >>>> code for latency, to stop it stuttering and occasionally crashing >>>> the kernel. >>>> >>>> But at the moment when sd starts SpeakUp is saying 'capital' for >>>> every capital letter it finds. >>>> >>>> I have: >>>> >>>> DefaultCapLetRecognition "none" >>>> >>>> In my speechd.conf but this doesn't work. >>>> >>>> How do I set this off in the SpeakUp configuration? >>>> >>>> Mike >>>> >>>> -- >>>> Michael A. Ray >>>> Analyst/Programmer >>>> Witley, Surrey, South-east UK >>>> >>>> The box said: 'install Windows XP, 7 or better'. So I installed Linux >>>> >>>> Interested in accessibility on the Raspberry Pi? >>>> Visit: http://www.raspberryvi.org/ >>>> >>>> From where you can join our mailing list for visually-impaired Pi >>>> hackers >>>> >>>> _______________________________________________ >>>> Speakup mailing list >>>> Speakup at linux-speakup.org >>>> http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup >>>> >>>> >>> _______________________________________________ >>> Speakup mailing list >>> Speakup at linux-speakup.org >>> http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup >> >> >> -- >> Michael A. Ray >> Analyst/Programmer >> Witley, Surrey, South-east UK >> >> The box said: 'install Windows XP, 7 or better'. So I installed Linux >> >> Interested in accessibility on the Raspberry Pi? >> Visit: http://www.raspberryvi.org/ >> >> From where you can join our mailing list for visually-impaired Pi >> hackers >> >> _______________________________________________ >> Speakup mailing list >> Speakup at linux-speakup.org >> http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup >> >> > _______________________________________________ > Speakup mailing list > Speakup at linux-speakup.org > http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup -- Michael A. Ray Analyst/Programmer Witley, Surrey, South-east UK The box said: 'install Windows XP, 7 or better'. So I installed Linux Interested in accessibility on the Raspberry Pi? Visit: http://www.raspberryvi.org/ From where you can join our mailing list for visually-impaired Pi hackers