[Alsa-user] Stereo Downmix with cmipci

2008-03-15 Thread Hendrik Friedel
Hello,

I'm trying to get the AC3 output coming from a digital Video Card converted
to a plain old analog stereo signal.
For this, I connected the SPDIF out of the video Card to the SPDIF in of the
soundcard (cmipci, CMI8738MC6). For stereo/pcm signals, this works. I get
the digital signal converted to an analog signal at the speaker output of my
soundcard.
But if the TV-Station sends AC3 signals, apperently this is not downmixed to
stereo by the soundcard. Moreover, it sounds like a helicopter.
How do I have to configure the soundcard to convert the AC3 to stereo?
This:
# amixer cset iface=MIXER,name='IEC958 Mix Analog'on
amixer: Cannot find the given element from control default
Seemed promising, but it's not accepted by the soundcard.

I had all this working once, IIRC. And -IIRC- the above command did work.

Any suggestions?

Regards,
Hendrik


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] recording from /dev/dsp

2008-03-15 Thread James Shatto
   record -D copy -f cd -t wav outfile.wav
  
ecasound -i:/dev/dsp -o outfile.wav

I found a way around this.  Sort of.  Since the files do get cached by the web 
browser, even if they don't finish downloading.  I extracted their URLs from 
about:cache for the disk cache.

about:cache - Disk cache device - List Cache Entries
File - save page as.

grep -i .mp3 ./saved_as_file.html  tempfile1
grep -o http://[^]*\ ./tempfile1 | sed 's/\//'  tempfile2
grep -i studioauditions.com ./tempfile2  tempfile3
wget -c -i ./tempfile3

There's probably a simpler way, but this one kept me from having to go to every 
individual file to redownload them or save as from about:cache.  Anyway it 
works.  And for some reason the flash player varies the volume level for 
various samples, which doesn't seem to be noticeable when playing the 
downloaded .mp3's from mplayer.

Anyway enough rambling I guess.  Couldn't get arecord to work good enough for 
either of my soundcards(usb_audio  atiixp).  It did sort of work for atiixp, 
but the resultant wav wasn't anything close to what actually made it through 
the speakers the first time around.

- James

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user