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

Re: pulseaudio



From the statement "Why orca chose to add one more layer with pulseaudio", it seems clear to me there may be an incorrect assumption of how Orca works with audio.

Orca doesn't deal with audio directly. There are no audio calls or configuration or anything related to audio in Orca. Instead, Orca relies upon the speech synthesis system provider to manage the audio. As such, the choice of audio system to use is up to the speech synthesis system provider (e.g., Outloud, DECtalk, eSpeak, Cepstral, festival, FreeTTS/Java, etc.).

If the speech synthesis system provider uses ALSA, it uses ALSA. If the speech synthesis system provider uses OSS, it uses OSS. If the speech synthesis system provider uses Pulse Audio, it uses Pulse Audio. Orca doesn't change this, and it doesn't even know or care.

Hope this helps,

Will

Janina Sajka wrote:
Will Walker may correct me if I'm wrong, but I don't believe Orca does
anything with pulse audio. Rather, I think pulseaudio is being
introduced by distributions. Specifically, I know for a fact that
Fedora/Red Hat has moved to it in Fedora 8. In fact it's a bit of a
problem as implemented in F-8, because it isn't launched until a gui
login, and there's no audio access before that. And, after the login,
there's still no root level access to audio--ever. I'm suggesting people
remove it for now on F-8 installations.

Janina

T. V. Raman writes:
you dont need to even set up a .asoundrc on things like dapper
I  believe post alsa 1.10, dmix is configured by default
correctly. Why orca chose to add one more layer with pulseaudio
-- or why pulseaudio refuses to work with Alsa are all mysteries
I've not delved into -- but  I  do run orca and emacspeak on my
laptop on the rare occasions that I start orca -- and they do
both work happily with the emacspeak tts server.

"Tim" == Tim Cross <tcross@rapttech.com.au> writes:
    Tim> It does work and it works quite well once you get the
    Tim> .asoundrc file sorted. This can be a bit tricky. For
    Tim> example, I found that the reason I couldn't get my
    Tim> soundcard to work was because it was a multi channel
    Tim> card and you had to use a specific device (in my case
    Tim> device 3) in order for the dmix plugin to work. Prior to
    Tim> working this out, I defined an 'emacspeak' device in my
    Tim> asoundrc file and then modified the sources to use that
    Tim> as the device rather than default. This had been the
    Tim> only way I could get outloud to work and still be able
    Tim> to play other sound sources.
Tim> Tim> What type of sound card do you have? Maybe someone else
    Tim> has a working .asoundrc file for that type of card?
Tim> Tim> Tim Tim> Tim> Tim> Tim> getting mixing to work that th epro T. V. Raman writes:
    >> Alsa dmix works --- believe in it.
>> >> >>>>> "bart" == bart <bart@bunting.net.au> writes:
    bart> Yes, but what pulseaudio does is mix sound streams.  So
    bart> theoretically I could have two applications speaking at
    bart> the same time.  Although alsa's dmix is meant to do
    bart> this as well.  In practice it has never worked for me,
    bart> it does with some applications and not others even
    bart> though they are all using alsa.  Regards
bart> bart> Bart bart> bart> Janina Sajka writes:
    >> >> Unless I misunderstand it, it's not an either or >>
    >> situation. I don't believe pulseaudio provides drivers for
    >> >> audio hardware. Rather, it's for managing user and >>
    >> application access.
>> >> >> >> The one use case on their site is about two people, a
    >> >> couple, logging in and out of the desktop without
    >> issues >> of audio access. Woefully insufficient, of
    >> course. We''' >> have to expand their thinking, I suspect.
>> >> >> >> Janina >> >> >> >> bart@bunting.net.au writes:> Hi list, >> >> > >> >> > Does anyone know what would be involved in getting
    >> the >> outloud speech server to use pulseaudio instead of
    >> alsa >> directly?
>> >> > >> >> > If this was done am I correct in assuming that
    >> emacspeak >> would be able to run along side orca if they
    >> are both >> using pulseaudio?
>> >> > >> >> > Has anyone already thought about this? >> >> > >> >> > Regards >> >> > >> >> > Bart >> >> > >> >> > -----------------------------------------------------------------------------
    >> >> > To unsubscribe from the emacspeak list or change your
    >> >> address on the > emacspeak list send mail to >>
    >> "emacspeak-request@cs.vassar.edu" with a > subject of >>
    >> "unsubscribe" or "help"
>> >> >> >> -- >> >> >> >> Janina Sajka, Phone: +1.202.595.7777;
    >> sip:janina@a11y.org >> Partner, Capital Accessibility LLC
    >> >> http://CapitalAccessibility.Com
>> >> >> >> Marketing the Owasys 22C talking screenless cell phone
    >> in >> the U.S. and Canada Learn more at >>
    >> http://ScreenlessPhone.Com
>> >> >> >> Chair, Open Accessibility janina@a11y.org Linux
    >> Foundation >> http://a11y.org
bart> bart> -----------------------------------------------------------------------------
    bart> To unsubscribe from the emacspeak list or change your
    bart> address on the emacspeak list send mail to
    bart> "emacspeak-request@cs.vassar.edu" with a subject of
    bart> "unsubscribe" or "help"
>> >> -- >> Best Regards, --raman >> >> >> Email: raman@users.sf.net WWW:
    >> http://emacspeak.sf.net/raman/ AIM: emacspeak GTalk:
    >> tv.raman.tv@gmail.com PGP:
    >> http://emacspeak.sf.net/raman/raman-almaden.asc Google:
    >> tv+raman IRC: irc://irc.freenode.net/#emacs
>> >> -----------------------------------------------------------------------------
    >> To unsubscribe from the emacspeak list or change your
    >> address on the emacspeak list send mail to
    >> "emacspeak-request@cs.vassar.edu" with a subject of
    >> "unsubscribe" or "help"
>> Tim> --
Tim Cross tcross@rapttech.com.au
Tim> Tim> There are two types of people in IT - those who do not
    Tim> manage what they understand and those who do not
    Tim> understand what they manage.
Tim> Tim> -----------------------------------------------------------------------------
    Tim> To unsubscribe from the emacspeak list or change your
    Tim> address on the emacspeak list send mail to
    Tim> "emacspeak-request@cs.vassar.edu" with a subject of
    Tim> "unsubscribe" or "help"

--
Best Regards,
--raman

Email: raman@users.sf.net
WWW:    http://emacspeak.sf.net/raman/
AIM:    emacspeak       GTalk: tv.raman.tv@gmail.com
PGP:    http://emacspeak.sf.net/raman/raman-almaden.asc
Google: tv+raman IRC: irc://irc.freenode.net/#emacs


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



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

priestdo@cs.vassar.edu No Soliciting!

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

Emacspeak Files | Emacspeak Blog | Search the archive