Seeing how many posts there are on sound problems, I thought I should add a seperate thread. Please contribute.
Here are the steps I have done so far:
1. Installed from knoppmyth...runs perfectly but no sound. R4V5 is the software I am using.
hardware: Dell Pentium 2.4 Ghz, 120GB, happauge WinTV Go and built in sound card from Dell. ( I dont even know which one this is)
I connected the speakers direct to TV ( pretty dumb huh) and this caused audio to be out of sync. The reason is even the Live TV is recorded and what you see as Live TV is behind by a few seconds. secondly, if you directly connect the speakers, there is no audio input to record audio on the TV programs...and finally how would you play CD/DVD and get sound?
So now I did the right thing: Connect the Line out from TV card into Line in on sound card through a simple audio jack that came with the TV card. Then the speaker is connected to sound card. Now comes the real issue. Still no sound on my TV or recording. Did not check whether audio CDs produce sound etc.
2. Started research on why sound does not work: figured from research there are at least 2 options:
2a: Sound Card is not supported: Solution: Try a new sound card.
Hope to have this thread compile a list of known to work sound cards.
Review this link:
http://www.alsa-project.org/alsa-doc/index.php
I checked for Creative cards only. I still cannot understand whether my card is supported by mythtv, if alsa supports it or not....but I will try posting some info.
If you are like me, the sound card came with the Dell Box and i dont know what card this is.
Maybe you can try this:
lspci -v | less:
(11/24: I did this myself and found out that my Dell box has an Intel audio card...and in the same line it says unrecognized something or the other...but the good news is I did get the audio to work and let this not be a deterrent.)
This should give a list of all PCI controllers??. Look for the multimedia controller and check that in the list of cards supported on the link above: (
http://www.alsa-project.org/alsa-doc/index.php)
Assuming the sound card is supported go to step 2b
2b: see if input is setup ok: Go to step3
3.
Alsamixer for noobies:
Ok...I had to reasearch how to "run" alsamixer. So even if this sounds dumb, just thought it will help a fellow noobie. So I researched Google and found this:
At the command prompt ( dont know whether you need to be root): You can get to the command prompt by hitting ESC untill you quit mythtv and then left click your mouse and hit Xterm.
$ alsamixer
This will bring up like a nice graphical display and you can drive up or down the volume using arrow buttons. Scroll to the right...there are many places to set or reset audio levels.
Apparantly the default install mutes "Line" in here, which have to be "Un"muted before sound works.
Second if anything is muted, it will say MM at the top of the bar or maybe OFF. Just press m and it will be unmuted. I think Line in has to be unmuted.
I unmuted Line In on my system and it still did not work. Then I started unmuting one by one and narrowed it down that only when Line In and headphone are both unmuted and volume set to about 70 audio comes on.
However this or something is causing an echo effect. I get the realtime audio audible very feebly and followed up with mythtv audio that is in sync with the video. I dont know whether something in the alsomixer that should be left unmuted is causing this?
Can somebody help and say what exactly has to be unmuted??
Here is what I found ina post today:
I set the master volumn to about 70. I set the PCM volumn to about 0. Set line-in to about 70, selected capture with the space bar, and set mute. I have to try this out to see if the echo effect goes off.
Even if you have quit mythtv,( thats how you are the command prompt I guess) as long as the audio works, it will be immediately audible. I think MAYBE, the reason is the backend and front end is on the same box and hence even if I have closed mythfrontend, the backend is still on etc. If you dont hear the audio, no sweat. Go to step 4.
Once you have "un" muted whatever needs to be unmuted, it needs to be saved:
Use this command to store it:
$ /usr/sbin/alsactl store
If that does not work, maybe you need to find out where the path to alsactl is
I would use a simple unix find
$ find / -name alsactl
and then type the entire path to alsactl as:
$ /whateverpath/whateverpath/alsactl store
Go to step4
However when I did this myself, it turns out knoppmyth does not install alsactl...or when I do find, I get nothing and I cant use the command. So I am still struck with having to manually start alsamixer everytime.
Can somebody help me on how to store this, by getting alsactl ? Should I do a apt-get install alsa-utils? I dont want to break anything right now.
Ok did some more search on the postings and found this:
apt-get update
apt-get install alsa-base
(it will error)
you then need to do a dkpg -i --force-overwrite the name of the file it errors on. ( i dont remember the exact command its in the forum.).
And I think this will also help to know, whether its applicable to R4 V5 I dont know:
the version of alsa on ver R4V4.1 is older, and something doesnt work quite right with saving settings. So IMHO the best solution is to say screw it, and get the newer version of alsa (hence my directions posted above). When you install the newer version of alsa, saving settings works in aumix and alsamixer. even on reboot.
4. This is shamelessly copied from:
http://knoppmythwiki.homelinux.org/inde ... AudioHowTo
Start up MythTV frontend again. Go to Settings->General and change Audio from "/dev/dsp" to "ALSA:Analog" just to test. Start a recording or live TV. You should hear audio via the analog outs as usual. Then return to the general settings and change Audio to "ALSA:Digital" to activate digital output. Return to a recording or live TV. You should hear audio via your digital out. (You may need to use the strings ALSA:analog and ALSA:digital, they seem to be case-sensitive on my system. --liv2cod)
This may have changed with release KnoppMyth R4V5. The setting "/dev/adsp" seems to work now for Settings->General. There may be further developments so stay tuned...
I tried this, and for ALSA:Analog, mythtv warned me that there is no audio source. So I simply changed it to dsp0 instead of dsp and it worked. I dont understand the reason why dsp0 would work instead of dsp...but thats for another day.
5. Onboard sound: Need to research this: apparently if you have multiple tuners this is the best option. Seems obvious considering there is only one Line In jack/port on the sound card.
6. So far this is the status:
a. Sound works, but there is an echo effect with the realtime voice audible very feebly a few seconds before the mythtv audio which is in sync with video
b. I do not have alsactl so I dont know how to store the settings. I wantto check to see if I can do an apt-get install alsactl which could fix this issue
Please help.