Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
alsa emu10k, swapping front/rear possible?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
wilho
Apprentice
Apprentice


Joined: 22 Jul 2002
Posts: 169

PostPosted: Tue Apr 20, 2004 7:59 pm    Post subject: alsa emu10k, swapping front/rear possible? Reply with quote

Hi,

Subject says it all; is it possible to swap front and rear channels when using emu10k with alsa? Live!'s and Audigy!'s rear channels uses better DAC's than front channel, check details from here.


Last edited by wilho on Fri Apr 23, 2004 8:29 pm; edited 2 times in total
Back to top
View user's profile Send private message
Insanity5902
Veteran
Veteran


Joined: 23 Jan 2004
Posts: 1228
Location: Fort Worth, Texas

PostPosted: Tue Apr 20, 2004 8:48 pm    Post subject: Reply with quote

switch the cables?
_________________
Join the adopt an unanswered post initiative today
Back to top
View user's profile Send private message
wilho
Apprentice
Apprentice


Joined: 22 Jul 2002
Posts: 169

PostPosted: Wed Apr 21, 2004 5:27 am    Post subject: Reply with quote

Swithcing cables ain't gonna help here. I'm using headphones. Rear channel has lower noise and better THD and acs than front channels.
Back to top
View user's profile Send private message
Insanity5902
Veteran
Veteran


Joined: 23 Jan 2004
Posts: 1228
Location: Fort Worth, Texas

PostPosted: Wed Apr 21, 2004 1:29 pm    Post subject: Reply with quote

LOL, that was merely a joke, but here is some real help.

check out www.alsa-project.org . They have a lot of documentation. Take a look at this document. It has a lot of useful tips.

Basically what you are going to have to do it create some type of config file that maps creates a virtual front and rear speaker and then maps the cards front speakers to your virtual rear, and the cards rear to your virtual front.

Make sense. In that docuement take a look at the bindings , you might find some tips and there. Also look at the alias section. Basically read this whole document, it will get you started. It talk about the asoundrc file, I found I like all my asound settings in /etc/asound.conf , system wide :P

I hope this gets you started, If I run across anything else I will let you know.
_________________
Join the adopt an unanswered post initiative today
Back to top
View user's profile Send private message
wilho
Apprentice
Apprentice


Joined: 22 Jul 2002
Posts: 169

PostPosted: Wed Apr 21, 2004 5:07 pm    Post subject: Reply with quote

Well, I thought it a while, and came a conclusion that you had read only topic - I seem to lack sense of humour :)

Thanks for a tip.
Back to top
View user's profile Send private message
Insanity5902
Veteran
Veteran


Joined: 23 Jan 2004
Posts: 1228
Location: Fort Worth, Texas

PostPosted: Wed Apr 21, 2004 8:11 pm    Post subject: Reply with quote

I have read some more on Alsa's site you you defiantly need to edit your asound file (either asoundrc or asounc.conf). I read this on the description of the file
Code:
hese allow you to do tricky things like combine your cards into one or access multiple i/o's on your mulitchannel card
I just don'e knot the syntax for what you are trying to do, look at the first link under the bndings, you might be able to figure that out there. And if you need to email the ALSA or ask on their forums/mailing list, you might get some good help over there.

Be sure to keep us updated on your progress.
_________________
Join the adopt an unanswered post initiative today
Back to top
View user's profile Send private message
Insanity5902
Veteran
Veteran


Joined: 23 Jan 2004
Posts: 1228
Location: Fort Worth, Texas

PostPosted: Wed Apr 21, 2004 8:16 pm    Post subject: Reply with quote

sorr for another post, but this is also a good site.

http://alsa.opensrc.org/
_________________
Join the adopt an unanswered post initiative today
Back to top
View user's profile Send private message
wilho
Apprentice
Apprentice


Joined: 22 Jul 2002
Posts: 169

PostPosted: Thu Apr 22, 2004 6:38 am    Post subject: Reply with quote

Don't know how I missed this read earliear. I haven't yet get into it, but I'll do it tonight and let you know.
Back to top
View user's profile Send private message
wilho
Apprentice
Apprentice


Joined: 22 Jul 2002
Posts: 169

PostPosted: Fri Apr 23, 2004 8:17 pm    Post subject: Reply with quote

I haven't much tested this yet, but it seems to do difference:

cat /usr/share/alsa/pcm/front.conf >> /etc/asound.conf
cat /usr/share/alsa/pcm/rear.conf >> /etc/asound.conf

find lines
pcm.!rear {
and
pcm.!front {
from /etc/asound.conf and swap them between eachothers. 8)

now
aplay -D front test.wav goes to rear channel, and I think that it'll do with true multichannel material too. Problem still is, that this new front is not default channel, or at least master and other sliders except 'wav sur' won't affect into it in alsamixer.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum