On Thu, 29 Jan 2004 08:37:49 +0200
"Jonathan Lee Mahon [VDB Mechancial Maintenance]" 
<[EMAIL PROTECTED]> wrote:

> >> On Saturday 17 of January 2004 4:23 pm, raptor wrote:
> >> > how can i make 2 or 4 channels sound be expanded to 5+1...
> >> > I'm doing some tricks with mplayer, but I need more general
> >solution> > which will work also fro xmms,mpg123,tvtime,zapping
> >etc...> 
> >> yeah, I'm curiuos about it too. Does anybody know, how to configure
> >> .asoundrc or what is needed ?
> 
> >just to clarify (i don't have a solution): You want the 2 (4) output
> >channels to be somehow distributed among 6 speakers? I don't know, if
> >there's a plugin that does that.
> 
> 
> >-- 
> >signature :)
> 
> 
> Some sound cards use a proprietary algorithm in their (wondow$) driver
> to do this. One of which is by QSound called QXpander(tm).  I don't
> think there would be something equivalent in the Alsa driver.

Hi, look at the thread "pcm copy plugin". I quote takashi here:

---quote start
"route (and plug) plugin already can do that.
for example,

pcm.ch40dup {
        type route
        slave.pcm surround40
        slave.channels 4
        ttable.0.0 1
        ttable.1.1 1
        ttable.0.2 1
        ttable.1.3 1
}

pcm.ch51dup {
        type route
        slave.pcm surround51
        slave.channels 6
        ttable.0.0 1
        ttable.1.1 1
        ttable.0.2 1
        ttable.1.3 1
        ttable.0.4 0.5
        ttable.1.4 0.5
        ttable.0.5 0.5
        ttable.1.5 0.5
}


and you can play two channel WAV like

        % aplay -Dch40dup 2ch-stereo.wav

        % aplay -Dch51dup 2ch-stereo.wav

for 4.0 and 5.1 surrounds, respectively.
of course, this is just copy of left/right samples, no dolby prologic 
effect is included ;)"
---quote end

Flo

-- 
signature :)



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to