Simulated Surround Sound
Simulated Surround Sound
Ok, Trying to get my sound set up to the way it worked in Windows 7. I am running LM13 Cinnamon on an Acer AM5200 which comes with an onboard Realtek ALC1200 7.1 surround sound setup. I am using 5.1 surround speakers. I have gotten all the speakers to work in that it will play a 6 channel audio file properly, and it mirrors the front and back speakers when I play a 2 channel mp3. What I would like to do though, instead of mirroring the front speakers onto the back ones, I want to make it sound like it was a 6 channel sound file, with voice from the center speaker and music from the other 4 speakers. In Windows 7, after installing the Realtek drivers, it allowed you to simulate the 6 channel sound with a 2 channel sound file. Can anyone tell me how to do this in LM13? I am still a Linux newbie, so please try not to be too technical. Thanks |
hi
I am not a newbie so forgive the questions 1) Do you want 5.1 to be the permanent setting or do you want to be able to change settings on-the-fly ---leaping ahead your choices are a) change using root powers a configuration text file to be modified called /etc/modprobe.d/alsa-base.conf b) Create a local user (non-root) /home/yourname/.asoundrc text file with a certain setting or c) Install and configure a gui sound server ---the one I am thinking of is called pulseaudio and you need to know the root password to install it. 2) In the meantime can you post the output of some commands you can do as a local (non-root ) user eg Code:
lspci -v .....and copy and paste just the sound stuff pls |
Hi,
Thanks for responding. If you're willing to try and help, I have no problem answering questions. :) Quote:
It would be nice to change settings on the fly, however if I have to set it as permanent, I can live with that as well. a) I haven't looked at this file. In all my researching on this issue, I had not seen any mentions of using this method. b) I did try creating a .soundrc file in my home directory, with directions I had found elsewhere (sorry, don't have them anymore), but I did not notice any difference c) I have pulseaudio installed and am using it Quote:
Code:
|
ok you seem to have pulseaudio (=PA) already installed
ummm I don't use it but tried it in the past 1) I don't use LM but can you check that you have all the pulse packages installed either use your packagemanager or do it by single line commands replacing each packagename with the following pls padevchooser paman pavucontrol pavumeter paprefs Code:
dpkg -l | grep packagename this means if you have multiple users....there should be no /etc/asoundrc and each user has their own .asoundrc if you have only yourself as user you can choose but its safer to keep the etc file so you don't accidently delete the local user file Notice that system wide filename differs from local user leaping ahead I will show the contents of /etc/asoundrc Quote:
3) now you have 2 cards with the second one with hdmi outputs why did you disable it?....is it because you don't have a cable input to your speaker system? if you want to use it....we can set it in PA or by other ways...but I can't do anything until I know which way you want to go. Leaping ahead assuming you prefer card 0 here is a home user .asoundrc to try Quote:
|
Quote:
Quote:
Code:
Warning Quote:
Quote:
Quote:
|
1) good research as I don't use PA
2) I assume you made a typo its.../home/yourname/.asoundrc ...no need to reply...I am just anal b) then create using root powers the system wide /etc/asoundrc 3) your research on asoundrc is correct ONLY if we assume you are not using PA ---rant starts ---alsa is a backend...the real stuff ----PA is frontend....sometimes nice to newbies ---end of rant 4) HDMI ----good ok ....remove your home .asoundrc file reboot with a etc file pls and report Leaping ahead do you know how to take snapshots? do you have your own image hosting upload site? ---we may need to see snapshots of your PA controls or guis 5) is there a LM wiki on PA? |
Quote:
|
Quote:
I had also seen suggested elsewhere to use; Code:
pcm.ch51dup { Quote:
Quote:
Quote:
Quote:
Let me know what you would like to see, and I will provide it. |
Quote:
I am pretty sure it has to be possible to get what I want to do done though. After much playing around, I have mostly figured out how to get mplayer to do it from the command line with the command: Code:
mplayer -ao alsa -af surround=25,sub=75:5,center=4,delay=10.5:10.5:0:0:7:0 -channels 6 1.mp3 Now, I know mplayer is not ALSA or Pulse, but it is something positive. Now if we can get it so that Banshee or Amarok will play mp3 files in 5.1, I will be really happy. :) |
well maybe debian is different so try this pls
http://drona.csa.iisc.ernet.in/~uday...nd-pulse.shtml we are looking at this file.../etc/pulse/daemon.conf 2) leaping ahead azalia and google search shows there appears to be some issues b) also I was going to give you an alsa config file....ignoring PA to set your model=string but your codec does not appear in my alsa base model list for intel......damn 3) if you still have trouble ....yes take screenshots of your gui and post links below is an example only of embedded screenshots but don't get excited its not your codec of alc1200 |
Quote:
Quote:
Looking at Paman, I see that the version of PA I am running is 1.1. Looking at http://www.freedesktop.org/wiki/Soft...udio/Notes/2.0, I see that they have a version 2 out now, and one of the new things in it is a Virtual Surround module. I'm not sure if it will do what I am wanting, as I have been unable to find anything stating exactly what this does, but it might be worth me checking out. Quote:
I do want to say thank you taking time out of your schedule to try and help out this newbie. It has been very much appreciated. :) |
a) feel free to post to LM forums as I am not a LM expert ok so feel free to cut me loose anytime
LM13 well I guess Cinnamon is a graphical stuff hmm yes well something funny there ...trivia below hang on if LM13=maya I can't even see it....PA.... as a default package? http://packages.linuxmint.com/list.php?release=Maya and Maya is not listed in my repository...so must be a code name for 13? http://mirror.internode.on.net/pub/linuxmint/stable/13/ b) eek, LM13 has 1.1? and version 2 came out May 2012 http://www.freedesktop.org/wiki/Software/PulseAudio ---------------------------------------------------------- Now that has got me thinking so bear with me. You say you are a newbie...yet you know how to google and research umm so I think you can upgrade to 2 version but before you do, I will post a link to some older packages from Ubuntu in case you need to downgrade I could not find LM repos so forgive me for using pure Ubuntu http://mirror.internode.on.net/pub/u.../p/pulseaudio/ if you need to downgrade you would run a dpkg command like this Code:
sudo dpkg --force-i packagename.deb would be to over-write and I am thinking ---what other distros have your tried? |
ok I have given up on PA lets try it with just alsa??
1) we need to stop the PA daemon or service running. this is a manual test for you to try...if it works we will do a more permanent solution if LM uses upstart then...open a terminal and run command service pulseaudio stop if LM uses init.d services then...open a terminal and run command sudo /etc/init.d/pulseaudio stop or try...with a link for how to try other commands to kill PA pulseaudio --kill https://wiki.archlinux.org/index.php...startup_failed 2) next see if you have this folder pls /usr/share/alsa/alsa.conf.d if so check if you have this file /usr/share/alsa/pcm/surround51.conf use root powers to copy that surrond file and put it into the alsa.conf.d folder 3) now we need to restart alsa if LM uses upstart try sudo service alsa-utils restart if LM uses init.d try sudo /etc/init.d/alsa-utils restart 4) retest sound is surround pls 5) report if you have no such files/folders or commands fail only if they fail post the contents of /etc/init.d using command ls /etc/init.d not sure where to look for upstart but some distros keep the init.d folder for historical reasons good luck |
now you will notice I am doing separate posts as I am making final efforts to solve this
now if last post did not work we can do something else...but for troubleshooting we need to remember what we have done to undo it while PA daemon is killed we can do a modprobe command to force alc1200 to try something else 1) SO first we stop alsa with either Code:
sudo service alsa-utils stop add a last line to read as Quote:
next we restart alsa Code:
sudo /etc/init.d/alsa-utils start we can not reboot at this stage as PA will restart but you can try it....to see if new alsa-base.conf makes a difference if no difference you can reverse those changes and restart the daemons or reboot good luck |
Quote:
Quote:
Quote:
------------------ Quote:
Quote:
Quote:
Quote:
Quote:
The point of that rant is twofold. One is that even though it looks Windows user friendly, it is not the same as Windows and two, I am not adverse to playing around and trying out things. |
All times are GMT -5. The time now is 10:31 AM. |