Re: [Alsa-user] Surround sound via optical spdif out

2006-10-22 Thread Dominique Dumont
Lee Revell [EMAIL PROTECTED] writes:

 (of course without taking into account the sata pb that's plaguing me
 ;-) )

 I'm afraid that is a hardware problem and there's no software solution.

:-(

The only way to be sure is to check how this stuff works with
Windoze. This is going to take a while as I'm quite windows challenged
;-)

Thanks for your help.

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] Surround sound via optical spdif out

2006-10-22 Thread Lee Revell
On Sun, 2006-10-22 at 14:18 +0200, Dominique Dumont wrote:
 Lee Revell [EMAIL PROTECTED] writes:
 
  (of course without taking into account the sata pb that's plaguing me
  ;-) )
 
  I'm afraid that is a hardware problem and there's no software solution.
 
 :-(
 
 The only way to be sure is to check how this stuff works with
 Windoze. This is going to take a while as I'm quite windows challenged
 ;-)

It could work on Windows and still be a hardware problem, just because
Linux might drive the hardware in a different (but correct) way.  For
example some people have singing capacitors under Linux but not
Windows because of the higher timer IRQ frequency of Linux combined with
poorly shielded motherboard components.

Lee


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] Surround sound via optical spdif out

2006-10-14 Thread Prakash Punnoor
Am Samstag 14 Oktober 2006 05:09 schrieb Lee Revell:
 I'm not really a home theater expert, but the DVD standard is AC3 which
 is also known as DD.

DVD standard limits bitrate to 448kbits, though ac3 allows up to 640kbit.

 DTS is an older, less common format.

Nope, it's actually newer, but an optional format.

 I *think* that if AC3 passthrough works then DTS must work - it's just a
 matter of setting a non-audio bit on the stream.

Depends on the receiver. Some play the stream even if non-audio is not set. It 
could be that non-audio is not set, but receiver detects DTS but not DD if 
the non-audio bit isn't set. There exist DTS-Audio CDs, which means instead 
of PCM DTS streams are recorded as CDDA tracks. So here the receiver can't 
rely on the non-audio bit.

Cheers,
-- 
(°= =°)
//\ Prakash Punnoor /\\
V_/ \_V


pgpWXAsdG1Zi6.pgp
Description: PGP signature
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] Surround sound via optical spdif out

2006-10-14 Thread Dominique Dumont
Nathan A. Smith [EMAIL PROTECTED] writes:

 Does that mean I should do something like this:

 speaker-test -Dplug:iec958 -c6 -w SURROUNDTEST_011212.wav

 where the wav file is a ac3 encoded file?

No you should use:

  ac3dec -C some_ac3_file.ac3

HTH  

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] Surround sound via optical spdif out

2006-10-14 Thread Lee Revell
On Sat, 2006-10-14 at 12:15 +0200, Dominique Dumont wrote:
 Nathan A. Smith [EMAIL PROTECTED] writes:
 
  Does that mean I should do something like this:
 
  speaker-test -Dplug:iec958 -c6 -w SURROUNDTEST_011212.wav
 
  where the wav file is a ac3 encoded file?
 
 No you should use:
 
   ac3dec -C some_ac3_file.ac3

No, that will decode the AC3 file on the host in software, what Nathan
wants to get working is AC3 passthrough, where the receiver does the AC3
decoding.

Lee


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] Surround sound via optical spdif out

2006-10-14 Thread Dominique Dumont
Lee Revell [EMAIL PROTECTED] writes:

 No you should use:
 
   ac3dec -C some_ac3_file.ac3

 No, that will decode the AC3 file on the host in software, what Nathan
 wants to get working is AC3 passthrough, where the receiver does the AC3
 decoding.

Sorry, I must respecfully disagree. I've just tried this command:

$ ac3dec -C en.ac3 
Using PCM device 'plug:iec958:{AES0 0x2 AES1 0x82 AES2 0x0 AES3 0x2}'
AC3 Stream 48.0 KHz 384 kbps

And I can see the dolby digital AC3 indication on the display of my
Yamaha DSP-A1 amplifier which means the passthrough is workign fine.
(of course without taking into account the sata pb that's plaguing me
;-) )

And iecset shows:

$ iecset
Mode: consumer
Data: non-audio
Rate: 48000 Hz
Copyright: protected
Emphasis: none
Category: PCM coder
Original: original
Clock: 1000 ppm


Cheers


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] Surround sound via optical spdif out

2006-10-14 Thread Lee Revell
On Sat, 2006-10-14 at 22:40 +0200, Dominique Dumont wrote:
 Lee Revell [EMAIL PROTECTED] writes:
 
  No you should use:
  
ac3dec -C some_ac3_file.ac3
 
  No, that will decode the AC3 file on the host in software, what Nathan
  wants to get working is AC3 passthrough, where the receiver does the AC3
  decoding.
 
 Sorry, I must respecfully disagree. I've just tried this command:
 
 $ ac3dec -C en.ac3 
 Using PCM device 'plug:iec958:{AES0 0x2 AES1 0x82 AES2 0x0 AES3 0x2}'
 AC3 Stream 48.0 KHz 384 kbps
 
 And I can see the dolby digital AC3 indication on the display of my
 Yamaha DSP-A1 amplifier which means the passthrough is workign fine.

Sorry, I didn't realize that ac3dec supports passthrough with the -C
switch.

 (of course without taking into account the sata pb that's plaguing me
 ;-) )

I'm afraid that is a hardware problem and there's no software solution.

Lee


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Alsa-user] Surround sound via optical spdif out

2006-10-13 Thread Nathan A. Smith
Hi,

I am running a mythtv box based on Mandriva 2007 on a AMD 3200xp (Dual
core) on an AM2 chipset.  I am attempting to get surround sound audio out to my 
stereo
via an optical s/pidf cable.  
 
With some help from kirberich  crimsum I adjusted the model= line in my 
modprobe.conf
and applied the patch from 
http://hg-mirror.alsa-project.org/alsa-kernel?cmd=changeset;node=e51177a60747522a60bc1599aa5b2db22d4770a4;style=gitweb

Unfortunately, I still am unable to get surround sound to work.  The way we 
were testing this is 
with speaker-test -Dplug:iec958 -c6 (note:  iec958 and spdif are the same for 
this motherboard).
I am getting sound from my left and right speakers, but nothing 
from anything else.  

So any more troubleshooting help would be greatly appreciated.

Nasa


Here comes the system info:
 
uname -a
Linux mythtv 2.6.17-5mdv #1 SMP Wed Sep 13 14:32:31 EDT 2006 i686 AMD
Athlon(tm) 64 X2 Dual Core Processor 3800+ GNU/Linux
 
ALSA version 1.0.13

/sbin/lsmod|grep '^snd' 
snd_seq_dummy   3716  0 
snd_seq_oss33152  0 
snd_seq_midi_event  7072  1 snd_seq_oss
snd_seq49488  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device  7212  3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss40576  0 
snd_mixer_oss  16096  1 snd_pcm_oss
snd_hda_intel  16440  0 
snd_hda_codec 167072  1 snd_hda_intel
snd_pcm70116  3 snd_pcm_oss,snd_hda_intel,snd_hda_codec
snd_timer  19620  2 snd_seq,snd_pcm
snd_page_alloc  8712  2 snd_hda_intel,snd_pcm
snd47972  10 
snd_seq_dummy,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_hda_intel
 
 aplay -l
 List of PLAYBACK Hardware Devices 
card 0: NVidia [HDA NVidia], device 0: ALC883 Analog [ALC883 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 1: ALC883 Digital [ALC883 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
 
scanpci:
...
pci bus 0x cardnum 0x06 function 0x01: vendor 0x10de device 0x0371
 nVidia Corporation MCP55 High Definition Audio
 
Simple mixer control 'Headphone',0
  Capabilities: pswitch
  Playback channels: Front Left - Front Right
  Mono:
  Front Left: Playback [on]
  Front Right: Playback [on]
Simple mixer control 'PCM',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 255
  Mono:
  Front Left: Playback 255 [100%] [0.00dB]
  Front Right: Playback 255 [100%] [0.00dB]
Simple mixer control 'Front',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 25 [81%] [-9.00dB] [on]
  Front Right: Playback 25 [81%] [-9.00dB] [on]
Simple mixer control 'Front Mic',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 25 [81%] [3.00dB] [on]
  Front Right: Playback 25 [81%] [3.00dB] [on]
Simple mixer control 'Surround',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 25 [81%] [-9.00dB] [on]
  Front Right: Playback 25 [81%] [-9.00dB] [on]
Simple mixer control 'Center',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 31
  Mono: Playback 25 [81%] [-9.00dB] [on]
Simple mixer control 'LFE',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 31
  Mono: Playback 25 [81%] [-9.00dB] [on]
Simple mixer control 'Line',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 25 [81%] [3.00dB] [on]
  Front Right: Playback 25 [81%] [3.00dB] [on]
Simple mixer control 'CD',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 25 [81%] [3.00dB] [on]
  Front Right: Playback 25 [81%] [3.00dB] [on]
Simple mixer control 'Mic',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 0 [0%] [-34.50dB] [off]
  Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 31
  Front Left: Capture 0 [0%] [-12.00dB] [on]
  Front Right: Capture 0 [0%] [-12.00dB] [on]
Simple mixer control 'Capture',1
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 31
  Front Left: Capture 0 [0%] [-12.00dB] [on]
  Front Right: Capture 0 [0%] [-12.00dB] [on]
Simple mixer control 'Input Source',0
  Capabilities: enum
  Items: 'Mic' 'Front Mic' 'Line' 'CD'
  Item0: 

Re: [Alsa-user] Surround sound via optical spdif out

2006-10-13 Thread Nathan A. Smith
On Fri, 2006-10-13 at 09:56 -0400, Lee Revell wrote:
 On Fri, 2006-10-13 at 04:10 -0400, Nathan A. Smith wrote:
  Unfortunately, I still am unable to get surround sound to work.  The
  way we were testing this is 
  with speaker-test -Dplug:iec958 -c6 (note:  iec958 and spdif are the
  same for this motherboard).
  I am getting sound from my left and right speakers, but nothing 
  from anything else.   
 
 SPDIF only supports 2 channels unless the signal is AC3-encoded.
Thanks for the reply Lee,

Does that mean I should do something like this:

speaker-test -Dplug:iec958 -c6 -w SURROUNDTEST_011212.wav

where the wav file is a ac3 encoded file?

Nasa

 
 Lee
 


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] Surround sound via optical spdif out

2006-10-13 Thread Lee Revell
On Fri, 2006-10-13 at 16:34 -0400, Nathan A. Smith wrote:
 On Fri, 2006-10-13 at 09:56 -0400, Lee Revell wrote:
  On Fri, 2006-10-13 at 04:10 -0400, Nathan A. Smith wrote:
   Unfortunately, I still am unable to get surround sound to work.  The
   way we were testing this is 
   with speaker-test -Dplug:iec958 -c6 (note:  iec958 and spdif are the
   same for this motherboard).
   I am getting sound from my left and right speakers, but nothing 
   from anything else.   
  
  SPDIF only supports 2 channels unless the signal is AC3-encoded.
 Thanks for the reply Lee,
 
 Does that mean I should do something like this:
 
 speaker-test -Dplug:iec958 -c6 -w SURROUNDTEST_011212.wav
 
 where the wav file is a ac3 encoded file?

I don't know if speaker-test will play AC3 encoded files.  Try xine or
mplayer.

Lee


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] Surround sound via optical spdif out

2006-10-13 Thread Nathan A. Smith
On Fri, 2006-10-13 at 16:36 -0400, Lee Revell wrote:
 On Fri, 2006-10-13 at 16:34 -0400, Nathan A. Smith wrote:
  On Fri, 2006-10-13 at 09:56 -0400, Lee Revell wrote:
   On Fri, 2006-10-13 at 04:10 -0400, Nathan A. Smith wrote:
Unfortunately, I still am unable to get surround sound to work.  The
way we were testing this is 
with speaker-test -Dplug:iec958 -c6 (note:  iec958 and spdif are the
same for this motherboard).
I am getting sound from my left and right speakers, but nothing 
from anything else.   
   
   SPDIF only supports 2 channels unless the signal is AC3-encoded.
  Thanks for the reply Lee,
  
  Does that mean I should do something like this:
  
  speaker-test -Dplug:iec958 -c6 -w SURROUNDTEST_011212.wav
  
  where the wav file is a ac3 encoded file?
 
 I don't know if speaker-test will play AC3 encoded files.  Try xine or
 mplayer.
Damn,

No love at all  Sound from Left and right speakers, but nothing
else.  How do I troubleshoot this?

Nasa

 
 Lee
 


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] Surround sound via optical spdif out

2006-10-13 Thread Lee Revell
On Fri, 2006-10-13 at 16:52 -0400, Nathan A. Smith wrote:
 On Fri, 2006-10-13 at 16:36 -0400, Lee Revell wrote:
  On Fri, 2006-10-13 at 16:34 -0400, Nathan A. Smith wrote:
   On Fri, 2006-10-13 at 09:56 -0400, Lee Revell wrote:
On Fri, 2006-10-13 at 04:10 -0400, Nathan A. Smith wrote:
 Unfortunately, I still am unable to get surround sound to work.  The
 way we were testing this is 
 with speaker-test -Dplug:iec958 -c6 (note:  iec958 and spdif are the
 same for this motherboard).
 I am getting sound from my left and right speakers, but nothing 
 from anything else.   

SPDIF only supports 2 channels unless the signal is AC3-encoded.
   Thanks for the reply Lee,
   
   Does that mean I should do something like this:
   
   speaker-test -Dplug:iec958 -c6 -w SURROUNDTEST_011212.wav
   
   where the wav file is a ac3 encoded file?
  
  I don't know if speaker-test will play AC3 encoded files.  Try xine or
  mplayer.
 Damn,
 
 No love at all  Sound from Left and right speakers, but nothing
 else.  How do I troubleshoot this?

Does the receiver indicate an AC3 signal rather than standard PCM?

IIRC AC3 passthrough might not work on nvidia chipsets due to a
proprietary hardware implementation, but it might have changed.

Lee


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] Surround sound via optical spdif out

2006-10-13 Thread Nathan A. Smith
On Fri, 2006-10-13 at 17:05 -0400, Lee Revell wrote:
 On Fri, 2006-10-13 at 16:52 -0400, Nathan A. Smith wrote:
  On Fri, 2006-10-13 at 16:36 -0400, Lee Revell wrote:
   On Fri, 2006-10-13 at 16:34 -0400, Nathan A. Smith wrote:
On Fri, 2006-10-13 at 09:56 -0400, Lee Revell wrote:
 On Fri, 2006-10-13 at 04:10 -0400, Nathan A. Smith wrote:
  Unfortunately, I still am unable to get surround sound to work.  The
  way we were testing this is 
  with speaker-test -Dplug:iec958 -c6 (note:  iec958 and spdif are 
  the
  same for this motherboard).
  I am getting sound from my left and right speakers, but nothing 
  from anything else.   
 
 SPDIF only supports 2 channels unless the signal is AC3-encoded.
Thanks for the reply Lee,

Does that mean I should do something like this:

speaker-test -Dplug:iec958 -c6 -w SURROUNDTEST_011212.wav

where the wav file is a ac3 encoded file?
   
   I don't know if speaker-test will play AC3 encoded files.  Try xine or
   mplayer.
  Damn,
  
  No love at all  Sound from Left and right speakers, but nothing
  else.  How do I troubleshoot this?
 
 Does the receiver indicate an AC3 signal rather than standard PCM?
No, nothing visibile on my receiver.

 
 IIRC AC3 passthrough might not work on nvidia chipsets due to a
 proprietary hardware implementation, but it might have changed.

Anywhere I could look to see if that's true or not?  (hopefully it's not
but I would like to check).

Nasa
 
 Lee
 


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] Surround sound via optical spdif out

2006-10-13 Thread Lee Revell
On Fri, 2006-10-13 at 17:39 -0400, Nathan A. Smith wrote:
  Does the receiver indicate an AC3 signal rather than standard PCM?
 No, nothing visibile on my receiver. 

Do you mean the receiver has no way to display whether it's receiving
PCM or AC3, or that the indicator is not active?

Lee


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] Surround sound via optical spdif out

2006-10-13 Thread Nathan A. Smith
On Fri, 2006-10-13 at 17:57 -0400, Lee Revell wrote:
 On Fri, 2006-10-13 at 17:39 -0400, Nathan A. Smith wrote:
   Does the receiver indicate an AC3 signal rather than standard PCM?
  No, nothing visibile on my receiver. 
 
 Do you mean the receiver has no way to display whether it's receiving
 PCM or AC3, or that the indicator is not active?
 

The receiver I have is:

http://reviews.cnet.com/Pioneer_VSX_816_K/4505-6466_7-31848960.html

I don't have the instructions right now, as I am still moving into my
new place.  It's surely in one of these boxes

Nasa

 Lee
 


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] Surround sound via optical spdif out

2006-10-13 Thread Gordon McLellan
just to chime in ... I have a similar pioneer

look on your display, where the little digital / analog display box
is.  when receiving a encoded pcm bitstream, the display will show:

DOLBY
DIGITAL

or

DIGITAL
DTS

depending on the encoding used... when a normal non-encoded pcm is
received the indicator will just read DIGITAL

gordon

On 10/13/06, Nathan A. Smith [EMAIL PROTECTED] wrote:
 On Fri, 2006-10-13 at 17:57 -0400, Lee Revell wrote:
  On Fri, 2006-10-13 at 17:39 -0400, Nathan A. Smith wrote:
Does the receiver indicate an AC3 signal rather than standard PCM?
   No, nothing visibile on my receiver.
 
  Do you mean the receiver has no way to display whether it's receiving
  PCM or AC3, or that the indicator is not active?
 

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] Surround sound via optical spdif out

2006-10-13 Thread Nathan A. Smith
On Fri, 2006-10-13 at 18:50 -0400, Gordon McLellan wrote:
 just to chime in ... I have a similar pioneer
 
 look on your display, where the little digital / analog display box
 is.  when receiving a encoded pcm bitstream, the display will show:
 
 DOLBY
 DIGITAL
 
 or
 
 DIGITAL
 DTS
 
 depending on the encoding used... when a normal non-encoded pcm is
 received the indicator will just read DIGITAL

Thanks Gordon...

I am not getting AC3 info to my receiver...  I have never seen either of
those on my display  :{

Nasa
 
 gordon
 
 On 10/13/06, Nathan A. Smith [EMAIL PROTECTED] wrote:
  On Fri, 2006-10-13 at 17:57 -0400, Lee Revell wrote:
   On Fri, 2006-10-13 at 17:39 -0400, Nathan A. Smith wrote:
 Does the receiver indicate an AC3 signal rather than standard PCM?
No, nothing visibile on my receiver.
  
   Do you mean the receiver has no way to display whether it's receiving
   PCM or AC3, or that the indicator is not active?
  
 
 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated technology to make your job easier
 Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
 ___
 Alsa-user mailing list
 Alsa-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/alsa-user


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] Surround sound via optical spdif out

2006-10-13 Thread Nathan A. Smith
On Fri, 2006-10-13 at 19:05 -0400, Nathan A. Smith wrote:
 On Fri, 2006-10-13 at 18:50 -0400, Gordon McLellan wrote:
  just to chime in ... I have a similar pioneer
  
  look on your display, where the little digital / analog display box
  is.  when receiving a encoded pcm bitstream, the display will show:
  
  DOLBY
  DIGITAL
  
  or
  
  DIGITAL
  DTS
  
  depending on the encoding used... when a normal non-encoded pcm is
  received the indicator will just read DIGITAL
 
 Thanks Gordon...
 
 I am not getting AC3 info to my receiver...  I have never seen either of
 those on my display  :{
 
 Nasa

BTW: using files from
http://www.sr.se/cgi-bin/mall/index.asp?programid=2445

I ran aplay -v ...  and got the following,


aplay -v SURROUNDTEST_DD_640.wav 
Playing WAVE 'SURROUNDTEST_DD_640.wav' : Signed 16 bit Little Endian,
Rate 44100 Hz, Stereo
Plug PCM: Rate conversion PCM (48000, sformat=S16_LE)
Its setup is:
  stream   : PLAYBACK
  access   : RW_INTERLEAVED
  format   : S16_LE
  subformat: STD
  channels : 2
  rate : 44100
  exact rate   : 44100 (44100/1)
  msbits   : 16
  buffer_size  : 15052
  period_size  : 940
  period_time  : 21333
  tick_time: 0
  tstamp_mode  : NONE
  period_step  : 1
  sleep_min: 0
  avail_min: 940
  xfer_align   : 940
  start_threshold  : 15040
  stop_threshold   : 15052
  silence_threshold: 0
  silence_size : 0
  boundary : 986447872
Slave: Soft volume PCM
Control: PCM Playback Volume
min_dB: -51
resolution: 256
Its setup is:
  stream   : PLAYBACK
  access   : MMAP_INTERLEAVED
  format   : S16_LE
  subformat: STD
  channels : 2
  rate : 48000
  exact rate   : 48000 (48000/1)
  msbits   : 16
  buffer_size  : 16384
  period_size  : 1024
  period_time  : 21333
  tick_time: 0
  tstamp_mode  : NONE
  period_step  : 1
  sleep_min: 0
  avail_min: 1024
  xfer_align   : 1024
  start_threshold  : 16384
  stop_threshold   : 16384
  silence_threshold: 0
  silence_size : 0
  boundary : 1073741824
Slave: Direct Stream Mixing PCM
Its setup is:
  stream   : PLAYBACK
  access   : MMAP_INTERLEAVED
  format   : S16_LE
  subformat: STD
  channels : 2
  rate : 48000
  exact rate   : 48000 (48000/1)
  msbits   : 16
  buffer_size  : 16384
  period_size  : 1024
  period_time  : 21333
  tick_time: 0
  tstamp_mode  : NONE
  period_step  : 1
  sleep_min: 0
  avail_min: 1024
  xfer_align   : 1024
  start_threshold  : 16384
  stop_threshold   : 16384
  silence_threshold: 0
  silence_size : 0
  boundary : 1073741824
Hardware PCM card 0 'HDA NVidia' device 0 subdevice 0
Its setup is:
  stream   : PLAYBACK
  access   : MMAP_INTERLEAVED
  format   : S16_LE
  subformat: STD
  channels : 2
  rate : 48000
  exact rate   : 48000 (48000/1)
  msbits   : 16
  buffer_size  : 16384
  period_size  : 1024
  period_time  : 21333
  tick_time: 4000
  tstamp_mode  : NONE
  period_step  : 1
  sleep_min: 0
  avail_min: 1024
  xfer_align   : 1024
  start_threshold  : 1
  stop_threshold   : 1073741824
  silence_threshold: 0
  silence_size : 1073741824
  boundary : 1073741824

From looking at this aplay played this files as stereo (2 channel) --
which doesn't seem right.  Why would it do that?

It has a slightly different output when I do the following:

aplay -v -Dplug:iec958 SURROUNDTEST_011212.wav 
Playing WAVE 'SURROUNDTEST_011212.wav' : Signed 16 bit Little Endian,
Rate 44100 Hz, Stereo
Plug PCM: Hooks PCM
Its setup is:
  stream   : PLAYBACK
  access   : RW_INTERLEAVED
  format   : S16_LE
  subformat: STD
  channels : 2
  rate : 44100
  exact rate   : 44100 (44100/1)
  msbits   : 16
  buffer_size  : 16384
  period_size  : 4096
  period_time  : 92879
  tick_time: 4000
  tstamp_mode  : NONE
  period_step  : 1
  sleep_min: 0
  avail_min: 4096
  xfer_align   : 4096
  start_threshold  : 16384
  stop_threshold   : 16384
  silence_threshold: 0
  silence_size : 0
  boundary : 1073741824
Slave: Hardware PCM card 0 'HDA NVidia' device 1 subdevice 0
Its setup is:
  stream   : PLAYBACK
  access   : RW_INTERLEAVED
  format   : S16_LE
  subformat: STD
  channels : 2
  rate : 44100
  exact rate   : 44100 (44100/1)
  msbits   : 16
  buffer_size  : 16384
  period_size  : 4096
  period_time  : 92879
  tick_time: 4000
  tstamp_mode  : NONE
  period_step  : 1
  sleep_min: 0
  avail_min: 4096
  xfer_align   : 4096
  start_threshold  : 16384
  stop_threshold   : 16384
  silence_threshold: 0
  silence_size : 0
  boundary : 107374182

notice the different rates

Any ideas?

Nasa

  
  gordon
  
  On 10/13/06, Nathan A. Smith [EMAIL PROTECTED] wrote:
   On Fri, 2006-10-13 at 17:57 -0400, Lee Revell wrote:
On Fri, 2006-10-13 at 17:39 -0400, Nathan A. Smith wrote:
  Does the receiver indicate an AC3 signal rather than standard PCM?
 No, nothing visibile 

Re: [Alsa-user] Surround sound via optical spdif out

2006-10-13 Thread Nathan A. Smith
On Fri, 2006-10-13 at 21:48 -0400, Nathan A. Smith wrote:
 On Fri, 2006-10-13 at 19:05 -0400, Nathan A. Smith wrote:
  On Fri, 2006-10-13 at 18:50 -0400, Gordon McLellan wrote:
   just to chime in ... I have a similar pioneer
   
   look on your display, where the little digital / analog display box
   is.  when receiving a encoded pcm bitstream, the display will show:
   
   DOLBY
   DIGITAL
   
   or
   
   DIGITAL
   DTS
   
   depending on the encoding used... when a normal non-encoded pcm is
   received the indicator will just read DIGITAL
  
  Thanks Gordon...
  
  I am not getting AC3 info to my receiver...  I have never seen either of
  those on my display  :{
  
  Nasa
 
 BTW: using files from
 http://www.sr.se/cgi-bin/mall/index.asp?programid=2445
 
 I ran aplay -v ...  and got the following,
 
 
 aplay -v SURROUNDTEST_DD_640.wav 
 Playing WAVE 'SURROUNDTEST_DD_640.wav' : Signed 16 bit Little Endian,
 Rate 44100 Hz, Stereo
 Plug PCM: Rate conversion PCM (48000, sformat=S16_LE)
 Its setup is:
   stream   : PLAYBACK
   access   : RW_INTERLEAVED
   format   : S16_LE
   subformat: STD
   channels : 2
   rate : 44100
   exact rate   : 44100 (44100/1)
   msbits   : 16
   buffer_size  : 15052
   period_size  : 940
   period_time  : 21333
   tick_time: 0
   tstamp_mode  : NONE
   period_step  : 1
   sleep_min: 0
   avail_min: 940
   xfer_align   : 940
   start_threshold  : 15040
   stop_threshold   : 15052
   silence_threshold: 0
   silence_size : 0
   boundary : 986447872
 Slave: Soft volume PCM
 Control: PCM Playback Volume
 min_dB: -51
 resolution: 256
 Its setup is:
   stream   : PLAYBACK
   access   : MMAP_INTERLEAVED
   format   : S16_LE
   subformat: STD
   channels : 2
   rate : 48000
   exact rate   : 48000 (48000/1)
   msbits   : 16
   buffer_size  : 16384
   period_size  : 1024
   period_time  : 21333
   tick_time: 0
   tstamp_mode  : NONE
   period_step  : 1
   sleep_min: 0
   avail_min: 1024
   xfer_align   : 1024
   start_threshold  : 16384
   stop_threshold   : 16384
   silence_threshold: 0
   silence_size : 0
   boundary : 1073741824
 Slave: Direct Stream Mixing PCM
 Its setup is:
   stream   : PLAYBACK
   access   : MMAP_INTERLEAVED
   format   : S16_LE
   subformat: STD
   channels : 2
   rate : 48000
   exact rate   : 48000 (48000/1)
   msbits   : 16
   buffer_size  : 16384
   period_size  : 1024
   period_time  : 21333
   tick_time: 0
   tstamp_mode  : NONE
   period_step  : 1
   sleep_min: 0
   avail_min: 1024
   xfer_align   : 1024
   start_threshold  : 16384
   stop_threshold   : 16384
   silence_threshold: 0
   silence_size : 0
   boundary : 1073741824
 Hardware PCM card 0 'HDA NVidia' device 0 subdevice 0
 Its setup is:
   stream   : PLAYBACK
   access   : MMAP_INTERLEAVED
   format   : S16_LE
   subformat: STD
   channels : 2
   rate : 48000
   exact rate   : 48000 (48000/1)
   msbits   : 16
   buffer_size  : 16384
   period_size  : 1024
   period_time  : 21333
   tick_time: 4000
   tstamp_mode  : NONE
   period_step  : 1
   sleep_min: 0
   avail_min: 1024
   xfer_align   : 1024
   start_threshold  : 1
   stop_threshold   : 1073741824
   silence_threshold: 0
   silence_size : 1073741824
   boundary : 1073741824
 
 From looking at this aplay played this files as stereo (2 channel) --
 which doesn't seem right.  Why would it do that?
 
 It has a slightly different output when I do the following:
 
 aplay -v -Dplug:iec958 SURROUNDTEST_011212.wav 
 Playing WAVE 'SURROUNDTEST_011212.wav' : Signed 16 bit Little Endian,
 Rate 44100 Hz, Stereo
 Plug PCM: Hooks PCM
 Its setup is:
   stream   : PLAYBACK
   access   : RW_INTERLEAVED
   format   : S16_LE
   subformat: STD
   channels : 2
   rate : 44100
   exact rate   : 44100 (44100/1)
   msbits   : 16
   buffer_size  : 16384
   period_size  : 4096
   period_time  : 92879
   tick_time: 4000
   tstamp_mode  : NONE
   period_step  : 1
   sleep_min: 0
   avail_min: 4096
   xfer_align   : 4096
   start_threshold  : 16384
   stop_threshold   : 16384
   silence_threshold: 0
   silence_size : 0
   boundary : 1073741824
 Slave: Hardware PCM card 0 'HDA NVidia' device 1 subdevice 0
 Its setup is:
   stream   : PLAYBACK
   access   : RW_INTERLEAVED
   format   : S16_LE
   subformat: STD
   channels : 2
   rate : 44100
   exact rate   : 44100 (44100/1)
   msbits   : 16
   buffer_size  : 16384
   period_size  : 4096
   period_time  : 92879
   tick_time: 4000
   tstamp_mode  : NONE
   period_step  : 1
   sleep_min: 0
   avail_min: 4096
   xfer_align   : 4096
   start_threshold  : 16384
   stop_threshold   : 16384
   silence_threshold: 0
   silence_size : 0
   boundary : 107374182
 
 notice the different rates
 
 Any ideas?
 
 Nasa
 
Forgot to note:  each time I 

Re: [Alsa-user] Surround sound via optical spdif out

2006-10-13 Thread Lee Revell
On Fri, 2006-10-13 at 21:48 -0400, Nathan A. Smith wrote:
 BTW: using files from
 http://www.sr.se/cgi-bin/mall/index.asp?programid=2445
 
 I ran aplay -v ...  and got the following,
 
 
 aplay -v SURROUNDTEST_DD_640.wav

Are you still testing AC3/DTS/etc passthrough?  aplay won't play those
files.

What happens if you test AC3 passthrough using xine or mplayer as
described in this article:

http://linuxgazette.net/118/knaggs.html

For example:

mplayer -ao alsa -ac hwac3 filename.ac3

Lee




-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] Surround sound via optical spdif out

2006-10-13 Thread Nathan A. Smith
On Fri, 2006-10-13 at 22:06 -0400, Lee Revell wrote:
 On Fri, 2006-10-13 at 21:48 -0400, Nathan A. Smith wrote:
  BTW: using files from
  http://www.sr.se/cgi-bin/mall/index.asp?programid=2445
  
  I ran aplay -v ...  and got the following,
  
  
  aplay -v SURROUNDTEST_DD_640.wav
 
 Are you still testing AC3/DTS/etc passthrough?  aplay won't play those
 files.
 
 What happens if you test AC3 passthrough using xine or mplayer as
 described in this article:
 
 http://linuxgazette.net/118/knaggs.html
 
 For example:
 
 mplayer -ao alsa -ac hwac3 filename.ac3
 
 Lee
 
This is what happens...

mplayer -ao alsa -ac hwac3 SURROUNDTEST_011212.wav 
MPlayer 1.0pre8-4.1.1 (C) 2000-2006 MPlayer Team
CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ (Family: 15, Model:
75, Stepping: 2)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.


93 audio  211 video codecs
Opening joystick device /dev/input/js0
Setting up LIRC support...
mplayer: could not connect to socket
mplayer: Connection refused
Failed to open LIRC support.
You will not be able to use your remote control.

Playing SURROUNDTEST_011212.wav.
Audio file file format detected.
==
Forced audio codec: hwac3
Cannot find codec for audio format 0x2001.
Read DOCS/HTML/en/codecs.html!
==
Segmentation fault

remember: the test file is from 
http://www.sr.se/cgi-bin/mall/index.asp?programid=2445
which I found via a link out of an ALSA HOWTO

Nasa

 
 


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] Surround sound via optical spdif out

2006-10-13 Thread Lee Revell
On Fri, 2006-10-13 at 22:16 -0400, Nathan A. Smith wrote:
 Playing SURROUNDTEST_011212.wav.
 Audio file file format detected.
 ==
 Forced audio codec: hwac3
 Cannot find codec for audio format 0x2001.
 Read DOCS/HTML/en/codecs.html!
 ==
 Segmentation fault
 
 remember: the test file is from 
 http://www.sr.se/cgi-bin/mall/index.asp?programid=2445
 which I found via a link out of an ALSA HOWTO
 

I think that's a DTS/DD file.  Try this one:

http://downloads.lightspeed.cx/lynne/bjorn_lynne-secret_world_(surround_version).ac3

Lee


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] Surround sound via optical spdif out

2006-10-13 Thread Nathan A. Smith
On Fri, 2006-10-13 at 22:39 -0400, Lee Revell wrote:
 On Fri, 2006-10-13 at 22:16 -0400, Nathan A. Smith wrote:
  Playing SURROUNDTEST_011212.wav.
  Audio file file format detected.
  ==
  Forced audio codec: hwac3
  Cannot find codec for audio format 0x2001.
  Read DOCS/HTML/en/codecs.html!
  ==
  Segmentation fault
  
  remember: the test file is from 
  http://www.sr.se/cgi-bin/mall/index.asp?programid=2445
  which I found via a link out of an ALSA HOWTO
  
 
 I think that's a DTS/DD file.  Try this one:
 
 http://downloads.lightspeed.cx/lynne/bjorn_lynne-secret_world_(surround_version).ac3
First off

Nice song -- I might have to look for more of him/her.

Which points out that the file actually worked (and it does sound really
nice).

So I must ask -- DD/DTS/AC3 are all forms of encoding surround sound.
Is it typical that only AC3 works on our systems?  Is AC3 the DVD
standard (I didn't think so...)?  


Nasa

BTW: THANKS Lee, I appreciate your efforts and patience.


 
 Lee
 


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] Surround sound via optical spdif out

2006-10-13 Thread Lee Revell
On Fri, 2006-10-13 at 22:52 -0400, Nathan A. Smith wrote:
 On Fri, 2006-10-13 at 22:39 -0400, Lee Revell wrote:
  I think that's a DTS/DD file.  Try this one:
  
  http://downloads.lightspeed.cx/lynne/bjorn_lynne-secret_world_(surround_version).ac3
 First off
 
 Nice song -- I might have to look for more of him/her.
 
 Which points out that the file actually worked (and it does sound really
 nice).
 
 So I must ask -- DD/DTS/AC3 are all forms of encoding surround sound.
 Is it typical that only AC3 works on our systems?  Is AC3 the DVD
 standard (I didn't think so...)?  

I'm not really a home theater expert, but the DVD standard is AC3 which
is also known as DD.  DTS is an older, less common format.  So you
should be able to play DVDs in surround.

I'm not sure why the other file didn't work.  It looks like mplayer
tried and failed to guess the file type?

I *think* that if AC3 passthrough works then DTS must work - it's just a
matter of setting a non-audio bit on the stream.

Lee


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user