You are not logged in.

#1 2010-10-31 14:12:59

terry98
Member
From: Dominican Republic
Registered: 2006-02-24
Posts: 20

how to get 5.1 (surround) in desktop and normal music apps

hi, for a while ive been trying to get sound from all my speakers in my 5.1 setup not just front... ive got an xfi xtremegamer and alsa does recognize all channels but independently, in phonon i can choose whether to use front/side/center/rear but not mixed! i wonder ow can i do that ive been reading about creating an .asoundrc file to customize my pcm settings for alsa with no luck... i've got this from the ubuntu forums from a guy with a similar problem.. this is the .asoundrc that i created:

pcm.ctxfi {
          type hw
          card 0
       }
       
ctl.ctxfi {
          type hw
          card 0
}

pcm.!default {
        type plug
        slave.pcm ch51dup
        slave.channels 6
}

pcm.ch51dup {
        type route
        slave.pcm ctxfi
        slave.channels 6
        ttable {
            0.0    0.75    #FL Channel to FL Speaker .75 volume
            1.1    0.75    #FR Channel to FR Speaker .75 volume
            2.0    0.5     #copy center to FL at .5 volume
            2.1    0.5     #copy center to FR at .5 volume
            3.3    1       #enable subwoofer Set to full volume to increase bass
            4.4    0.75    #RL Channel to RL Speaker .75 volume
            5.5    0.75    #RR Channel to RR Speaker .75 volume
            0.4    0.3     #copy FL to RL at .3 volume
            1.5    0.3     #copy FR to RR at .3 volume
         }
}

...but after restarting phonon doesnt show ch51dup as a device and if i try to use it in mplayer all i get is noise.... can somebody explain me how to get stereo surround normally on all speakers?...BTW in sources with 5.1 sound (like movies) it does work normally i just want to get stereo surround like a CMSS function.

Offline

#2 2010-10-31 14:55:51

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: how to get 5.1 (surround) in desktop and normal music apps

See http://forums.gentoo.org/viewtopic-p-45 … ml#4528619

To make phonon show it, you probably need to add e.g.:

    hint {
        show on
        description "20to51"
    }

Offline

#3 2010-11-01 22:53:41

terry98
Member
From: Dominican Republic
Registered: 2006-02-24
Posts: 20

Re: how to get 5.1 (surround) in desktop and normal music apps

sorry i havent tried yet.. ill try it when i get home tonight but.. is there anywhere i can see all the possible configuration options and their functions so i can configure my own asoundrc and know really what am doing?

Offline

#4 2010-11-07 16:07:36

terry98
Member
From: Dominican Republic
Registered: 2006-02-24
Posts: 20

Re: how to get 5.1 (surround) in desktop and normal music apps

well i got my 5.1 i most applications by only adding:

# for 5.1 speakers
pcm.ch51dup {
         slave.pcm surround51
         slave.channels 6
         type route
         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
        hint {
        show on
         description "Stereo Surround"
        }
}

in my asoundrc and specifying in all apps to use the device "ch51dup" but havent got to show it in phonon....

EDIT: brebs you were right it does work too add hint, but you must know where to add it, i got my stereo surround working and to show it in phonon by addind the lines above. Now i want to route the input lines to 5.1 aswell tongue

Last edited by terry98 (2010-11-07 16:30:58)

Offline

Board footer

Powered by FluxBB