public inbox for speakup@linux-speakup.org
 help / color / mirror / Atom feed
* espeakup and pulseaudio
@  Christopher Moore
   ` David Csercsics
  0 siblings, 1 reply; 7+ messages in thread
From: Christopher Moore @  UTC (permalink / raw)
  To: speakup

Hello,
I'm running archand have the pulseaudio server running.
When I start espeakup with the rc.d script, the following message repeats
each time data is to be spoken:
wave_open_sound > Pa_OpenStream : err=-9996 (Invalid device)

So what is the invalid device?

Chris


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: espeakup and pulseaudio
   espeakup and pulseaudio Christopher Moore
@  ` David Csercsics
     ` Steve Holmes
  0 siblings, 1 reply; 7+ messages in thread
From: David Csercsics @  UTC (permalink / raw)
  To: Speakup is a screen review system for Linux.

On Sun, Feb 27, 2011 at 01:27:16PM -0500, Christopher Moore wrote:
> Hello,
> I'm running archand have the pulseaudio server running.
> When I start espeakup with the rc.d script, the following message repeats
> each time data is to be spoken:
> wave_open_sound > Pa_OpenStream : err=-9996 (Invalid device)
> 
> So what is the invalid device?

Probably portaudio trying to open your sound card using alsa but
pulseaudio has already grabbed the card and locked it open so you're
getting that error. I don't know how you'd get espeakup to work with
pulseaudio anyway since pulseaudio is typically started as a non-root user
and espeakup typically needs to be run as root so you can have speech
when you login for the first time. Espeakup would work with pulseaudio
if you built espeak against pulseaudio instead of portaudio but then
as I say I don't know how you're going to get speech in text consoles
since espeakup is started as root and the pulseaudio process is not. Yes
you can run pulseaudio in systemwide mode but if you do that the program
usually disables shared memory and so doesn't run very efficiently. Unless
they've changed some of this logic. It's been a long time since I messed
with pulseaudio so I'm possibly wrong about some or all of this but if
somebody wants to correct me then have at it. I'm not even sure how
pulseaudio helps anything over the standard dmix plugins. It's looking
like unnecessary complexity at this point but I'd be happy to try to
help get this working if somebody can give me a reason why I should
bother breaking a very nice sound setup.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: espeakup and pulseaudio
   ` David Csercsics
@    ` Steve Holmes
       ` David Csercsics
  0 siblings, 1 reply; 7+ messages in thread
From: Steve Holmes @  UTC (permalink / raw)
  To: speakup

The only reason I am even bothering to keep pulseaudio around is the
ability to control streams' volume independently of each other and I
seem to be getting more sound events to play now since I started using
pulse in gnome.  But I can't stand the fact that when I try to get
speech dispatcher to autosspawn properly when I startx, well that's
another matter and a very bad one at that.  I had much better luck
running speech dispatcher as a system-wide service with ALSA and then
just have Orca start up automatically when I startx gnome.  That
combination just seems to work better for me.  So, I'm about to change
speechd back to do just that.  I don't like the volume jumping all
over the place every time I restart gnome.

On Sun, Feb 27, 2011 at 12:11:33PM -0800, David Csercsics wrote:
> On Sun, Feb 27, 2011 at 01:27:16PM -0500, Christopher Moore wrote:
> > Hello,
> > I'm running archand have the pulseaudio server running.
> > When I start espeakup with the rc.d script, the following message repeats
> > each time data is to be spoken:
> > wave_open_sound > Pa_OpenStream : err=-9996 (Invalid device)
> > 
> > So what is the invalid device?
> 
> Probably portaudio trying to open your sound card using alsa but
> pulseaudio has already grabbed the card and locked it open so you're
> getting that error. I don't know how you'd get espeakup to work with
> pulseaudio anyway since pulseaudio is typically started as a non-root user
> and espeakup typically needs to be run as root so you can have speech
> when you login for the first time. Espeakup would work with pulseaudio
> if you built espeak against pulseaudio instead of portaudio but then
> as I say I don't know how you're going to get speech in text consoles
> since espeakup is started as root and the pulseaudio process is not. Yes
> you can run pulseaudio in systemwide mode but if you do that the program
> usually disables shared memory and so doesn't run very efficiently. Unless
> they've changed some of this logic. It's been a long time since I messed
> with pulseaudio so I'm possibly wrong about some or all of this but if
> somebody wants to correct me then have at it. I'm not even sure how
> pulseaudio helps anything over the standard dmix plugins. It's looking
> like unnecessary complexity at this point but I'd be happy to try to
> help get this working if somebody can give me a reason why I should
> bother breaking a very nice sound setup.
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: espeakup and pulseaudio
     ` Steve Holmes
@      ` David Csercsics
         ` linux mint debian and speakup Bardia Zakeri
         ` espeakup and pulseaudio Steve Holmes
  0 siblings, 2 replies; 7+ messages in thread
From: David Csercsics @  UTC (permalink / raw)
  To: Speakup is a screen review system for Linux.


If you do that though you'll probably end up having speech dispatcher
crashes. I get them quite often here. I would like the per application
volume settings too but I don't want all the clipping and stuff because
the server does bad things with my PCM volumes in hardware. I wouldn't
want fried speakers possibly.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* linux mint debian and speakup
       ` David Csercsics
@        ` Bardia Zakeri
           ` Steve Holmes
         ` espeakup and pulseaudio Steve Holmes
  1 sibling, 1 reply; 7+ messages in thread
From: Bardia Zakeri @  UTC (permalink / raw)
  To: Speakup is a screen review system for Linux.

hi! i will create a usbpen  to linux mint debian  are the linux mint debian 
gnome? can i use orca  and speakup in this ? thanks 


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: espeakup and pulseaudio
       ` David Csercsics
         ` linux mint debian and speakup Bardia Zakeri
@        ` Steve Holmes
  1 sibling, 0 replies; 7+ messages in thread
From: Steve Holmes @  UTC (permalink / raw)
  To: speakup

I don't know if you were replying to my message or someone else.  But
I think I will try to run speech dispatcher exclusively through ALSA
and run it as a central system-wide service like before and let pulse
do its thing when I run X.  Fortunately, my sound card (SB Live) does
support multiple channels.  As a surprise, my HP laptop also supported
multiple channels too (Realtech something or other) so pulse would be
less valuable to me except for more flexible volume controls in
gnome.  Also, I think it would be a bit of a chore to completely
remove pulse from my system now but I can avoid using it in the
console though.

On Sun, Feb 27, 2011 at 10:14:27PM -0800, David Csercsics wrote:
> 
> If you do that though you'll probably end up having speech dispatcher
> crashes. I get them quite often here. I would like the per application
> volume settings too but I don't want all the clipping and stuff because
> the server does bad things with my PCM volumes in hardware. I wouldn't
> want fried speakers possibly.
> 
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: linux mint debian and speakup
         ` linux mint debian and speakup Bardia Zakeri
@          ` Steve Holmes
  0 siblings, 0 replies; 7+ messages in thread
From: Steve Holmes @  UTC (permalink / raw)
  To: speakup

Please move this other subject to a new thread!  Start by creating a
brand new message; don't just reply to someone else and change the
subject line.  Needs a brand new message to start.

On Mon, Feb 28, 2011 at 02:07:18PM +0100, Bardia Zakeri wrote:
> hi! i will create a usbpen  to linux mint debian  are the linux mint
> debian gnome? can i use orca  and speakup in this ? thanks
> 
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~ UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
 espeakup and pulseaudio Christopher Moore
 ` David Csercsics
   ` Steve Holmes
     ` David Csercsics
       ` linux mint debian and speakup Bardia Zakeri
         ` Steve Holmes
       ` espeakup and pulseaudio Steve Holmes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).