[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Search]

Re: Emacspeak with eSpeak losing speech on Vinux 4



so why do you need a shell script rather than just running
paplay?

Take a look at emacspeak-sounds.el -- it lets you  setup
auditory icon functions via custom.  At present it provides a few
choices; I suspect we should add one for pulseaudio users.  I've
explicitly nuked pulse from all my machines, and therefore am not
going to create it;  but if you have a pulseaudio setup and
already have the shell script, it would be useful to translate
that into an appropriate function, add it to emacspeak-sounds.el,
and then allow pulse users to set that up via custom.
>>>>> "Tim" == Tim Cross <tcross@xxxxxxxxxxx> writes:
    Tim> The auditory icon stuff is a good idea. I'd forgotten on
    Tim> my systems, I use a simple shell script which calls
    Tim> paplay and use that instead of aplay, so all my stuff is
    Tim> going through pulseaudio.
    Tim> 
    Tim> Tim
    Tim> 
    Tim> 
    Tim> On Sat, 2013-05-11 at 18:27 -0700, T. V. Raman wrote:
    >> From everything I have seen on this thread re espeak
    >> behavior, I suspect that those who are seeing issues are
    >> seeing them due to conflicts between pulse and alsa as
    >> usual. One way to confirm this is to turn off auditory
    >> icons; In cases where pulse causes audio to degrade, it
    >> will typically bite when auditory icons are on -- since
    >> emacspeak makes many, many calls to aplay in short bursts
    >> depending on what you're doing. >>>>> "Tim" == Tim Cross
    >> <tcross@xxxxxxxxxxx> writes:
    Tim> When you lose speech on the netbook, after hitting C-e
    Tim> C-s to restart the espeak server, is it pretty stable
    Tim> then?
    Tim> 
    Tim> I've noticed on netbooks and other devices which are not
    Tim> a resource rich, you can get additional instability,
    Tim> especially when first starting. However, after
    Tim> re-starting the emacspeak speech server, it isn't too
    Tim> bad.
    Tim> 
    Tim> To be honest, on any 32 bit system, I will always use
    Tim> ibmtts/outloud rather than espeak. Outloud I think is a
    Tim> better quality tts and is much better than espeak for
    Tim> emacspeak.
    Tim> 
    Tim> For speech-dispatcher, on 64 bit systems, espeak is
    Tim> really good and I'll use espeak if I don't want to
    Tim> pollute my 64 bit system with a whole pile of 32 bit
    Tim> libraries. While modern linux distros seem to handle
    Tim> mixed 32/64 bit libs, I think sticking with just 64 bit
    Tim> is probably going to reduce the likelihood of problems.
    Tim> 
    Tim> My guess for the difference with your netbook will be
    Tim> due to the lower performance and resources of the
    Tim> netbook.
    Tim> 
    Tim> Tim
    Tim> 
    Tim> 
    Tim> 
    Tim> On Sat, 2013-05-11 at 07:17 -0500, Christopher Chaltain
    Tim> wrote:
    >> >> In my particular case, I have the following two >>
    >> situations:
    >> >> 
    >> >> I have Vinux 4 64-bit running in a VM. I'm running
    >> Emacs24 >> and Emacspeak 37. I'm using my own version of
    >> eSpeak 1.47 >> that I compiled myself using the runtime
    >> option. I did >> this to keep from losing the last
    >> syllable when using >> eSpeak. Further note that I set it
    >> up this way before the >> eSpeak package in Vinux 4 was
    >> updated to also use the >> runtime option. I'm running
    >> Emacs on the desktop, and I >> have no issues whatsoever
    >> with eSpeak.
    >> >> 
    >> >> On my netbook running Vinux 4 32-bit, I'm running
    >> Emacs24 >> and Emacspeak 37. I'm using the eSpeak that's
    >> now shipped >> with Vinux 4, which is eSpeak 1.47. I don't
    >> have the >> situation with the dropped syllables, but I do
    >> lose speech >> shortly after starting Emacspeak. It
    >> doesn't look like the >> Emacspeak eSpeak server is
    >> crashing. I'm also running >> Emacs on the desktop.
    >> >> 
    >> >> Vinux 4 is based on Ubuntu 12.04.
    >> >> 
    >> >> I'm curious why I get one behavior on one system and >>
    >> another behavior on the other. One thing I can try is to
    >> >> compile my own version of eSpeak on my 32-bit netbook,
    >> but >> I'd like to see if I could use the system wide
    >> eSpeak and >> eliminate one thing from my to do list every
    >> time I >> install a new system.
    >> >> 
    >> >> 
    >> >> On 05/10/2013 06:17 PM, John Joseph Morgan wrote: > I
    >> see >> this too with espeak. It seems to go away when I
    >> run >> emacspeak with espeak under the root user. > I have
    >> gnome >> started with orca at boot up. Is gnome and orca
    >> >> interfering somehow with a non-root user's use of
    >> espeak? >> > John
    >> >> >
    >> >> > On May 10, 2013, at 6:43 PM, Tim Cross >>
    >> <tcross@xxxxxxxxxxx> wrote:
    >> >> >
    >> >> >>
    >> >> >> You can just use the dmesg command in a terminal.
    >> >> >>
    >> >> >> I also see the regular loss of speech with espeak. I
    >> >> have never been >> able to track down the issue, though
    >> I >> tend to get distracted with other >> things when I
    >> try. I >> don't see this crashing with speechd or with
    >> espeak >> and >> speech-dispatcher generally. It is
    >> limited to the >> emacspeak espeak >> interface.
    >> >> >>
    >> >> >> I find disabling character echo can help a >>
    >> bit. Otherwise, I've just >> gotten use to hitting C-e C-s
    >> >> to restart espeak when it stops >> responding.
    >> >> >>
    >> >> >> I have noticed that I don't see this issue with the
    >> >> experiments I've >> done that don't use tcl as the >>
    >> interface language. So it could be that >> the problem is
    >> >> in the tcl layer, but this is just more guesswork.
    >> >> >>
    >> >> >> Tim
    >> >> >>
    >> >> >>
    >> >> >> On Fri, 2013-05-10 at 11:50 +1000, Jason White
    >> wrote: >> >>> Christopher Chaltain <chaltain@xxxxxxxxxxx>
    >> wrote:
    >> >> >>>
    >> >> >>>> I don't see this file on this system. It's a
    >> Ubuntu >> based system.
    >> >> >>>
    >> >> >>> Ubuntu keeps diverging from every other Linux >>
    >> distribution in a growing >>> variety of ways.
    >> >> >>>
    >> >> >>> Try /var/log/syslog. I don't have an Ubuntu-based
    >> >> system so I'm guessing here.
    >> >> >>>
    >> >> >>> -----------------------------------------------------------------------------
    >> >> >>> To unsubscribe from the emacspeak list or change
    >> your >> address on the >>> emacspeak list send mail to >>
    >> "emacspeak-request@xxxxxxxxxxx" with a >>> subject of >>
    >> "unsubscribe" or "help".
    >> >> >>>
    >> >> >>
    >> >> >>
    >> >> >> -----------------------------------------------------------------------------
    >> >> >> To unsubscribe from the emacspeak list or change
    >> your >> address on the >> emacspeak list send mail to >>
    >> "emacspeak-request@xxxxxxxxxxx" with a >> subject of >>
    >> "unsubscribe" or "help".
    >> >> >>
    >> >> >
    >> >> > -----------------------------------------------------------------------------
    >> >> > To unsubscribe from the emacspeak list or change your
    >> >> address on the > emacspeak list send mail to >>
    >> "emacspeak-request@xxxxxxxxxxx" with a > subject of >>
    >> "unsubscribe" or "help".
    >> >> >
    >> >> 
    Tim> 
    Tim> 
    Tim> -----------------------------------------------------------------------------
    Tim> To unsubscribe from the emacspeak list or change your
    Tim> address on the emacspeak list send mail to
    Tim> "emacspeak-request@xxxxxxxxxxx" with a subject of
    Tim> "unsubscribe" or "help".
    >>
    Tim>

-- 
Best Regards,
--raman

-----------------------------------------------------------------------------
To unsubscribe from the emacspeak list or change your address on the
emacspeak list send mail to "emacspeak-request@xxxxxxxxxxx" with a
subject of "unsubscribe" or "help".



If you have questions about this archive or had problems using it, please send mail to:

priestdo@xxxxxxxxxxx No Soliciting!

Emacspeak List Archive | 2010 | 2009 | 2008 | 2007 | 2006 | 2005 | 2004 | 2003 | 2002 | 2001 | 2000 | 1999 | 1998 | Pre 1998

Emacspeak Files | Emacspeak Blog