Kodi Community Forum

Full Version: I need help to setup my sound
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hi all,

I have a pc with an integrated audo sound card. ALC883 (ICH8).

I have a old amplifier that only make Analog prologic I (dpl ?)

Now I want to have my surround sound. I'm using linux Ubuntu natty.

Is it possible to have a surround sound with this setup ?

What should I do ? I try messing with downmix.. but nothing.

I always have the left, center and the right channel working.

I want to have my 2 rear working too.


Also my receiver have 2 front speaker on each side. (this is an option of the receiver).

Thanx for you help.

Regards

Dumarjo
dumarjo Wrote:Hi all,

I have a pc with an integrated audo sound card. ALC883 (ICH8).

I have a old amplifier that only make Analog prologic I (dpl ?)

Now I want to have my surround sound. I'm using linux Ubuntu natty.

Is it possible to have a surround sound with this setup ?

What should I do ? I try messing with downmix.. but nothing.

I always have the left, center and the right channel working.

I want to have my 2 rear working too.


Also my receiver have 2 front speaker on each side. (this is an option of the receiver).

Thanx for you help.

Regards

Dumarjo
You basically have to transcode everything to DPL1. This is easy to do in alsa.

See the following thread: http://forum.xbmc.org/showthread.php?tid=106217, in particular posts #9 and #11.

Of course make sure to replace dpl2:hdmi with dpl:whateveryououtputdeviceis

Also note though, that contrary to DPL2, DPL1 can only matrix sound to 4.0 rather than 5.1. And I mean 4.0 as in FL, FR, C, MonoSurround. Not quadraphonic.
Hi,

Thanx for you help. I have already found this post.

ok I got something semi fonctional.

here my .asoundrc
Quote:<confdir:pcm/dpl.conf>

pcm.MyCard {
type hw
card 0
device 0
}

pcm.!default {
type plug
slave.pcm
{
type upmix
slave.pcm "dpl:MyCard"
channels 6
}
}

BUT

The rear channel if like mono.

where can I find a good avi file to test my setup ? I fond something but i have no idea if it's good.

Thax for you help again

Dumarjo
I don't seem to understand the lfe channel too

Dumarjo
Read again the comment of LB06, if you have a pro logic 1 decoder, you have only 4 channels (no LFE and MonoSurround):

LB06 Wrote:Also note though, that contrary to DPL2, DPL1 can only matrix sound to 4.0 rather than 5.1. And I mean 4.0 as in FL, FR, C, MonoSurround. Not quadraphonic.

edit:
In the file /usr/share/alsa/pcm/dpl.conf, you can see what alsa does :
pcm.!dpl {
@args [ SLAVE ]
@args.SLAVE {
type string
}
type route
slave.pcm $SLAVE
slave.channels 2
# input: FL/FR/SL/SR/C/LFE
# S=SL+SR, LFE not used
ttable.0.0 1
ttable.1.1 1
ttable.2.0 0.707
ttable.2.1 -0.707
ttable.3.0 0.707
ttable.3.1 -0.707
Merged Surround
ttable.4.0 0.707
ttable.4.1 0.707
ttable.5.0 0
ttable.5.1 0
(No LFE)
}
EkASs Wrote:Read again the comment of LB06, if you have a pro logic 1 decoder, you have only 4 channels (no LFE and MonoSurround):

sorry, i missed that one. If I use a 3 channel I got LFE right ?. After 1 day of testing i don'T remember exactly, but somewhere in my test i got LFE working but not the rear channel
How xbmc should be set to get my new dpl setting working properly ?
dumarjo Wrote:sorry, i missed that one. If I use a 3 channel I got LFE right ?. After 1 day of testing i don'T remember exactly, but somewhere in my test i got LFE working but not the rear channel

I don't think so. Pro Logic I and II don't understand the LFE channel, they are created before a separate LFE channel exist (LFE is plugged to L and R channels, it should be your configuration).

Perhaps you can try to add the LFE channel to other channels ?
Something like this :
ttable.0.0 1
ttable.1.1 1
ttable.2.0 0.707
ttable.2.1 -0.707
ttable.3.0 0.707
ttable.3.1 -0.707
ttable.4.0 0.707
ttable.4.1 0.707
ttable.5.0 0.707
ttable.5.1 0.707


It's the trick used for pro logic II in this site :
http://forum.doom9.org/showthread.php?p=...post145721

Not guaranteed.
I'll try that..

For xbmc, how should I configure it ?

Dumarjo
dumarjo Wrote:How xbmc should be set to get my new dpl setting working properly ?

With a pro logic, you don't need the upmix plugin, when the source is stereo, the prologic decoder take care of "surrounding" the sound.

Nothing to do on the xbmc side (just set the audio output to alse default with your configuration).

When you have 5.1 source, the route plugin take care of the encoding.

You can test your configuration with speaker-test tool :
speaker-test -c6 (generate noise on each 6 channels sequentially).
HI,

Thats how i have tested it. But the LFE is muted.

dumarjo
when I try speaker-test -c5 I can hear:

FL, Center, FR and RL and RR (RL and RR are in pair)

but I use a 5.1 avi ac3 file with mplayer, I got only FL, C, FR working.

If I create a new device like pcm.mydpl and use this device with mplayer it play good (all channel working). I have the same problem in xbmc. I cannot get the avi 5.1 encodded to work like speaker-test or mplayer with the new device. even if the pcm.!default is there.

what a hell this alsa setup !!!!

dumarjo
Have you tried without the upmix plug in ?

pcm.MyCard {
type hw
card 0
device 0
}

pcm.!default {
type plug
slave.pcm
{
type route
slave.pcm "MyCard"
slave.channels 2
ttable.0.0 1
ttable.1.1 1
ttable.2.0 0.707
ttable.2.1 -0.707
ttable.3.0 0.707
ttable.3.1 -0.707
ttable.4.0 0.707
ttable.4.1 0.707
ttable.5.0 0
ttable.5.1 0
}
}
EkASs Wrote:Have you tried without the upmix plug in ?

pcm.MyCard {
type hw
card 0
device 0
}

pcm.!default {
type plug
slave.pcm
{
type route
slave.pcm "MyCard"
slave.channels 2
ttable.0.0 1
ttable.1.1 1
ttable.2.0 0.707
ttable.2.1 -0.707
ttable.3.0 0.707
ttable.3.1 -0.707
ttable.4.0 0.707
ttable.4.1 0.707
ttable.5.0 0
ttable.5.1 0
}
}

I probably found a cue.

When I use mplayer, the default ao is pulse. If I force mplayer to use alsa, all is working.

mplayer test.avi -ao alsa:device=default

it's work. It seam to be a problem between pulseaudio and alsa. What do you think ?

Dumarjo
Hi,

I gave up. life is too short to this kind of problem. I install windows 7 now.

Thanx evry one your their time and help !!!

dumarjo
Pages: 1 2