Re: [Alsa-user] Dolby Surround/ProLogic output?

2006-08-19 Thread Takashi Iwai
At Fri, 18 Aug 2006 14:39:42 -0700 (PDT),
Rob Jensen wrote:
 
 Would this work even if my soundcard does not have a pcm channel?  I
 have a Soundblaster Live! 24-bit, which uses the ca0106 driver instead
 of the emu10k1, and instead of pcm, master and the like, I have IEC958
 and Analog as my only real volume controls through any mixer
 applications.

It's quite irrelevant question.  DPL is a technique to pack 4 channels
into 2 channels but still as an audiible data unlike AC3 or DTS.
So, basically this encoding always work if you can play a 2-channel
audio stream.


Takashi

 
 Rob
 
 
 --- Takashi Iwai [EMAIL PROTECTED] wrote:
 
  At Fri, 18 Aug 2006 13:09:46 +0200,
  I wrote:
   
   then define a PCM like below:
   
 pcm.mydpl {
 type plug
 slave.pcm {
 type upmix
 slave.pcm dpl:spdif
 channels 6
 }
 }
   
   where it outputs to SPDIF from the input with any number of
  channels.
   (This configuration requires upmix plugin included in alsa-lib.)
  
  s/alsa-lib/alsa-plugins/
  
  
  Takashi
  
 
 
 __
 Do You Yahoo!?
 Tired of spam?  Yahoo! Mail has the best spam protection around 
 http://mail.yahoo.com 
 

-
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] Dolby Surround/ProLogic output?

2006-08-18 Thread Takashi Iwai
At Wed, 16 Aug 2006 14:21:01 -0700 (PDT),
Rob Jensen wrote:
 
 Does anyone know how to encode the audio out with Dolby Surround?  I
 have a receiver that supports Dolby Pro Logic, but not DPL2, and was
 hoping that I could still have surround sound.  Ideally, I'd hope that
 everything could be properly configured so that mono sources comes out
 all 5 speakers, stereo sources only come out front left and right, and
 all surround becomes downmixed to Dolby Surround.  Right now, however,
 I'd settle for downmixing DTS, Dolby Digital and the like to Dolby
 Surround.
 
 I've searched for something that would do this, but all I found were
 references to a plugin for LADSPA, but have yet to find the actual plugin.

The encoding to DPL (and DPL2) is pretty easy if you have already
discrete channels.  Even the recent alsa-lib has a configuration.

First, include pcm/dpl.conf by adding the following to ~/.asoundrc:

confdir:pcm/dpl.conf

then define a PCM like below:

pcm.mydpl {
type plug
slave.pcm {
type upmix
slave.pcm dpl:spdif
channels 6
}
}

where it outputs to SPDIF from the input with any number of channels.
(This configuration requires upmix plugin included in alsa-lib.)

Now you'll be able to play such as

% aplay -D mydpl somefile.wav


Takashi

-
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] Dolby Surround/ProLogic output?

2006-08-18 Thread Takashi Iwai
At Fri, 18 Aug 2006 13:09:46 +0200,
I wrote:
 
 then define a PCM like below:
 
   pcm.mydpl {
   type plug
   slave.pcm {
   type upmix
   slave.pcm dpl:spdif
   channels 6
   }
   }
 
 where it outputs to SPDIF from the input with any number of channels.
 (This configuration requires upmix plugin included in alsa-lib.)

s/alsa-lib/alsa-plugins/


Takashi

-
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