Redirecting speakup output

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

 



Hi,

To direct alsa output for a program to a diffrent card from card 0 (or
which ever is the default), you can use the ALSA_CARD environment
variable. E.g.:

ALSA_CARD=1 espeakup

hth

Rynhardt

On 5/11/13, Janina Sajka <janina at rednote.net> wrote:
> Hi, Chuck:
>
> Hoping this finds you well ...
>
> I also have several audio devices on each of my computers, even the
> laptop. It's perfectly possible to configure Linux to assign them
> predictable alsa device designations. Here's how I do it on Fedora 18.
> Your distro may do it a bit differently, but I suspect the basics remain
> the same.
>
> Before I lay this out, however, let me point out that I believe there's
> an even better way that I haven't yet stopped to learn involving udev
> configuration.
>
>
> Here's my pre udev approach ...
>
> Sometime ago Fedora moved /etc/modprobe.conf to a set of files in
> /etc/modprobe.d/. In that directory I have two files of interest:
>
> 1.)	blacklist.conf
> 	In this file I find it important to comment out Fedora's default
> 	silencing of the system beep, so that the line now reads:
> #blacklist snd-pcsp
>
> 2.)	local.conf
> 	Here's the complete contents of this file from my main machine.
>
> alias snd-card-0 snd-hda-intel
> options snd-card-0 index=0
> options snd-hda-intel index=0
> alias snd-card-2 snd-usb-audio
> options snd-card-2 index=2
> options snd-usb-audio index=2
> alias snd-card-3 snd-usb-audio
> options snd-card-3 index=3
> options snd-usb-audio index=3
> alias snd-card-4 snd-hdsp
> options snd-card-4 index=4
> options snd-hdsp index=4
> alias snd-card-5 snd-ice1724
> options snd-card-5 index=3
> options snd-ice1724 index=5
> alias snd-card-6 snd-pcsp
> options snd-card-6 index=6
> options snd-pcsp index=6
>
>
> As I'm sure you've noticed, the two usb devices aren't differentiated.
> Fortunately, they do tend to load in the same order for me, but this
> where udev should be of help once I get my head around how to use it.
>
> hth
>
> Janina
>
> Chuck Hallenbeck writes:
>> Hi,
>>
>> I am using speakup with espeakup and espeak, on a system with several
>> audio
>> devices supported by alsa.  I would like to preserve the motherboard
>> device
>> as the default card0, and direct screen reader output to a different
>> interface, such as card1 or card2.  Is there a way to do this? Would
>> speechdispatcher  be able to do it?
>>
>> Thanks
>>
>>
>> --
>>
>> Chuck in Hudson.
>> _______________________________________________
>> Speakup mailing list
>> Speakup at linux-speakup.org
>> http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup
>
> --
>
> Janina Sajka,	Phone:	+1.443.300.2200
> 			sip:janina at asterisk.rednote.net
> 		Email:	janina at rednote.net
>
> Linux Foundation Fellow
> Executive Chair, Accessibility Workgroup:	http://a11y.org
>
> The World Wide Web Consortium (W3C), Web Accessibility Initiative (WAI)
> Chair,	Protocols & Formats	http://www.w3.org/wai/pf
> 	Indie UI			http://www.w3.org/WAI/IndieUI/
>
> _______________________________________________
> Speakup mailing list
> Speakup at linux-speakup.org
> http://linux-speakup.org/cgi-bin/mailman/listinfo/speakup
>


[Index of Archives]     [Linux for the Blind]     [Fedora Discussioin]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]
  Powered by Linux