Douglas Hunter | 29 Apr 16:56
Favicon

Is it possible to run two distinct soundcards at the same time ?

Hello,
I would like to pass 8khz festival .wav files to my pci soundcard (audio0
audioctl0), while at the same time not affecting the music I have playing
through my usb soundcard (a UA-5 on audio2 and audioctl2). I am using vlc to
play the music to my UA-5.

Is this an easy thing to achieve and if so how do I get there ?

both of my soundcards work fine when used as the sole soundcard for this pc.

thankyou

Douglas 
Peter Hessler | 29 Apr 19:04

Re: Is it possible to run two distinct soundcards at the same time ?

Theoretically its easy. I've never tried it however.

Put both sound cards in, and make sure the machine still boots.  Then 
create the appropriate sound devices (cd /dev; sh ./MAKEDEV audio1).  
Configure a sound app to send sound to one, then the other (an easy way 
is to `cat /bsd > /dev/audio0` and `cat /bsd > /dev/audio1`.  If 
horrible noise comes out of each set, then you're good.)  If all of 
that works, then configure one app to use audio0 and the other to use 
audio1.

On 2007 Apr 29 (Sun) at 15:58:17 +0100 (+0100), Douglas Hunter wrote:
:Hello,
:I would like to pass 8khz festival .wav files to my pci soundcard (audio0
:audioctl0), while at the same time not affecting the music I have playing
:through my usb soundcard (a UA-5 on audio2 and audioctl2). I am using vlc to
:play the music to my UA-5.
:
:Is this an easy thing to achieve and if so how do I get there ?
:
:both of my soundcards work fine when used as the sole soundcard for this pc.
:
:
:thankyou
:
:Douglas 

--
If I had only known, I would have been a locksmith.
		-- Albert Einstein
(Continue reading)

Douglas Hunter | 30 Apr 00:47
Favicon

Re: Is it possible to run two distinct soundcards at the same time ?

thanks Peter, 

cat /bsd > /dev/audio0

works well and the music vlc was sending via symlink from /dev/audio to /dev/
audio2 showed no interference as a result. :)

I will try it with wavplay tommorrow.

Douglas
Douglas Hunter | 3 May 14:29
Favicon

Re: Is it possible to run two distinct soundcards at the same time ?

> 
> thanks Peter, 
> 
> cat /bsd > /dev/audio0
> 
> works well and the music vlc was sending via symlink from /dev/audio to /dev/
> audio2 showed no interference as a result. :)
> 
> I will try it with wavplay tommorrow.
> 
> Douglas
> 

$ waveplay filename > /dev/audio0

didn't work but I got some help and 

$ waveplay -c filename > dev/audio0

outputs the pure data stream to audio0, while 

$ waveplay -f /dev/audio0 filename

outputs coherent audio to audio0
/dev/audio2 is totally unaffected by this operation :)

thankyou for the help

Douglas
(Continue reading)


Gmane