public inbox for speakup@linux-speakup.org
 help / color / mirror / Atom feed
* multiple soundcards
@  Gregory Nowak
   ` Cheryl Homiak
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Gregory Nowak @  UTC (permalink / raw)
  To: speakup

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all.

Is there anyone here using multiple soundcards with alsa? I am mainly
curious to know how easy it is to control each card independently with applications
like alsactl/amixer/arecord/aplay, and mplayer, as well as how easy it is to switch
from using one card to another as the default on the fly? I do know
that the applications I mentioned support using multiple sound cards,
however, seeing what command-lines look like to for example
play/record with mplayer/arecord through the second soundcard would be
helpful. Thanks in advance.

Greg


- -- 
web site: http://www.romuald.net.eu.org
gpg public key: http://www.romuald.net.eu.org/pubkey.asc
skype: gregn1
(authorization required, add me to your contacts list first)

- --
Free domains: http://www.eu.org/ or mail dns-manager@EU.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFFSDr77s9z/XlyUyARAq8PAKCmE5AEr9haQSjSBx9PUc61uIi0tgCgmQ7Q
cNBrjO8TRZ9z6PKGm6qcrew=
=MAWc
-----END PGP SIGNATURE-----


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

* Re: multiple soundcards
   multiple soundcards Gregory Nowak
@  ` Cheryl Homiak
   ` John Heim
   ` Roman
  2 siblings, 0 replies; 4+ messages in thread
From: Cheryl Homiak @  UTC (permalink / raw)
  To: Speakup is a screen review system for Linux.

I have two sblive cards in one of my computers. I'm not using both of them 
so much now so don't remember a lot of detail off the top of my head, t 
once I found the relevant commands for each app it wasn't difficult to use 
both cards.


-- 
Cheryl

"Where your treasure is, there will your heart be also."


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

* Re: multiple soundcards
   multiple soundcards Gregory Nowak
   ` Cheryl Homiak
@  ` John Heim
   ` Roman
  2 siblings, 0 replies; 4+ messages in thread
From: John Heim @  UTC (permalink / raw)
  To: Speakup is a screen review system for Linux.

I don't use any of the applications you mention but when i put a second 
sound card in my linux machine, it just made another dsp device. So you'd 
have /dev/dsp1 and /dev/dsp2.

I don't use the apps you mention but there's no reason why it would be 
difficult to switch between sound cards because coding it would be no more 
difficult than writing to 2 different files.

If you wanted to play 2 different sound files at the same time you could 
just do this:

# cat file1.au > /dev/dsp1
# cat file2.au > /dev/dsp2


Anyway, I guess my point is that if it is difficult to switch between sound 
cards the application is bogus.
----- Original Message ----- 
From: "Gregory Nowak" <greg@romuald.net.eu.org>
To: <speakup@braille.uwo.ca>
Sent: Wednesday, November 01, 2006 12:13 AM
Subject: multiple soundcards


> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi all.
>
> Is there anyone here using multiple soundcards with alsa? I am mainly
> curious to know how easy it is to control each card independently with 
> applications
> like alsactl/amixer/arecord/aplay, and mplayer, as well as how easy it is 
> to switch
> from using one card to another as the default on the fly? I do know
> that the applications I mentioned support using multiple sound cards,
> however, seeing what command-lines look like to for example
> play/record with mplayer/arecord through the second soundcard would be
> helpful. Thanks in advance.
>
> Greg
>
>
> - -- 
> web site: http://www.romuald.net.eu.org
> gpg public key: http://www.romuald.net.eu.org/pubkey.asc
> skype: gregn1
> (authorization required, add me to your contacts list first)
>
> - --
> Free domains: http://www.eu.org/ or mail dns-manager@EU.org
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.5 (GNU/Linux)
>
> iD8DBQFFSDr77s9z/XlyUyARAq8PAKCmE5AEr9haQSjSBx9PUc61uIi0tgCgmQ7Q
> cNBrjO8TRZ9z6PKGm6qcrew=
> =MAWc
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>
> 



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

* Re: multiple soundcards
   multiple soundcards Gregory Nowak
   ` Cheryl Homiak
   ` John Heim
@  ` Roman
  2 siblings, 0 replies; 4+ messages in thread
From: Roman @  UTC (permalink / raw)
  To: Speakup is a screen review system for Linux.

* Gregory Nowak <greg@romuald.net.eu.org> writes:

 > Hi all.  Is there anyone here using multiple soundcards with alsa?

Once I was given for try a sound card together with my own one.

 > I am mainly curious to know how easy it is to control each card
 > independently with applications like alsactl/amixer/arecord/aplay,
 > and mplayer,

No hard at all.

 > as well as how easy it is to switch from using one card
 > to another as the default on the fly?

If you mean system-wide default -- you would have to reload sound
modules with appropriate "index=" options.

$ modprobe emu10k1 index=1

For instance.

 > I do know that the applications
 > I mentioned support using multiple sound cards, however, seeing what
 > command-lines look like to for example play/record with
 > mplayer/arecord through the second soundcard would be helpful. Thanks

I don't remember the CL mplayer opts, but here is params from
~/.mplayer/config for second sound card (index=1):

mixer=hw:1

or:

ao=alsa:device=hw=1.0


~~
Roman
out

Winusers like winmodems --
With no memory and no brain onboard.
	http://www.livejournal.com/~dottedmag/158509.html



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

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

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
 multiple soundcards Gregory Nowak
 ` Cheryl Homiak
 ` John Heim
 ` Roman

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).