Update:
So it goes like this. Full month everything works perfectly, then for 2 weeks sound will be cracking, then again whole month it works without problems, and so on.
Update:
So it goes like this. Full month everything works perfectly, then for 2 weeks sound will be cracking, then again whole month it works without problems, and so on.
Problems like this can be caused by interference from wireless mice and keyboards, they can interfere with speakers in headphones, laptops, etc. I hear a perceptible crackling whenever I scroll the wheel on my mouse because of the interference with my laptop's speakers. You could try using wired peripherals?
Registered Ubuntu user #34794
Registered Linux user #551518
I'm not an expert at this and neither am I a Dev or Programmer, look at my other posts...
I'm mostly a hardware person. (couldn't find something with a hammer, but close enough.)
This is what I did to correct my situation with the audio via HDMI to my TV after grappling with this for months.
I used leafpad for my editor, pick your own poison...
----------------------------
First change was default.pa
sudo leafpad /etc/pulse/default.pa
If you are using line numbers it is roughly line 53...
Original line:
load-module module-udev-detect
Added to the end of this line was tsched=0
Changed to:
load-module module-udev-detect tsched=0
So after the first change failed which has worked for others, I changed the sample rate which apparently was too low for my Visio TV.
Next was daemon.conf:
sudo leafpad /etc/pulse/daemon.conf
Roughly lines 81 and 82...
Original lines:
default-sample-rate = 41000
alternate-sample-rate = 48000
Changed to:
default-sample-rate = 48000
alternate-sample-rate = 96000
The sample rate change was the charm that worked for my hardware situation.
No more distortion and chopping/clipping sounds during standard vocal or incidental music while watching recordings or live streams.
Cheers
G
P.S. Before you edit, save and close the edit window, you may want to make a comment of what the original line of code was and rem/comment it with a # before each comment.
example:
# Original code...
# load-module module-udev-detect
# changed due to audio distortion.
# change made 22 October 2014
In some cases if I make quite a bit of changes I date stamp and place reason for the change.
Last edited by geemac2; October 22nd, 2014 at 06:42 PM.
Processor: AMD Athlon 64 X2 Dual Core Processor 4000+ × 2 «» Memory: 2GiB
HardDrive: 320 GB «» Graphics: GeForce 7050 PV / nForce 630a/integrated/SSE2
OS Type: 14.04 64-bit Trusty
5.1 Receiver: Onkyo TX-SR606 «» TV: Vizio
OK get your popcorn out
If the moderators of this forum feel that this is not appropriate for this forum since it is hardware related; please feel free to move, delete and or give me hell for posting it here. No offence will be taken.
If all the code changes given so far in this thread do not fix your issue, can you give a breakdown of how your system hardware is set up? But first, follow the below steps.
Let's try some processes of elimination if the changes to the code in various files did not help.
{Audio Source} Is used to reference a computer or your Linux based media system for audio output.
{Audio Input Device} Is used to reference a TV's audio input, Stereo Receiver or a A/V system.
If you have HDMI directly to a TV for your video/audio input device then it could be the HDMI cable, but... that is rare for it to only affect one channel more then the other and not both equally.
The same goes for Toslink fiber or S/PDIF coaxial cable for audio (data) out.
If you have another audio source with HDMI out try it and see if the noise is still there.
If all is well then it is your oiginal audio source. If the distortion is still there testing with a new audio source then we have rulled out the main audio source. But now, we still have the HDMI cable and the audio input device that could be bad or have oxidized connections.
Try another HDMI cable and if avilable another HDMI cable from a different manufacture.
Why I state a different manufacture, it is from my experience that I have found a whole line of cables bad from a certain manufacture. Name not to be mentioned.
I only use Amphenol Premium High-Speed Certified HDMI Cable. Not cheap, but I have learned my lesson using low grade money saving HDMI cables. As the old saying goes... "You get what you paid for."
If the HDMI cable swap still has distortion we are now down to the audio input device.
Try a different input on the audio input device if available. If the original input is the cause then try to find a spray can of a zero residue cleaner like CRC-05103 or if CRC is not available then use DeOxit and clean the plugs and jacks. Don't flood the item you are cleaning, use sparingly.
DeOxit is not my favorite in high dust areas due to it being a cleaner/lubricant.
Most conections are silver or gold plated. As you already know what happens with silver or silver plate. Use a cleaner such as Tarn-X on a q-tip to remove any tarnish in or around the connection. If using a cotton swab such as a Q-Tip, make sure not to leave behind any cotton fibers.
Rubbing alcohol or diluted white vinegar with filtered water are other methods for cleaning electronic connections.
I do not always recommend using vinegar being that it is acidic and will leave a residue, and if you don't clean up the moisture after cleaning the with the vinegar, it will eat up the metal in the conections. I only use the vinegar solution if cleaning a heavily tarnished connection and Tarn-X is not available. Using rubbing alcohol for cleaning, it leaves moisture and a residue , but if these on hand at home items are all you have available at the time, then use them sparingly and immediately dry the cleaned surface. Also be careful of alcohol and any plastics that are used in plugs and jacks, if old and some cases new, the plastic can break down from the alcohol.
All the above can be followed if using any other method of cabling between devices.
All except cleaning, Toslink(TM of Toshiba) is an optical fiber link and should only be very carefully cleaned with a non abrasive dry cloth at the tips of the cable if the optics are accessible. Usually canned air for keyboards will do.
Cheers
G
Last edited by geemac2; October 22nd, 2014 at 09:56 PM.
Processor: AMD Athlon 64 X2 Dual Core Processor 4000+ × 2 «» Memory: 2GiB
HardDrive: 320 GB «» Graphics: GeForce 7050 PV / nForce 630a/integrated/SSE2
OS Type: 14.04 64-bit Trusty
5.1 Receiver: Onkyo TX-SR606 «» TV: Vizio
geemac2, first of all thank you for your insight.
Now 'tsched=0' thing I made long ago, and it makes no difference. Tried your daemon.conf changes, also no difference. Keep in mind that this noise is not just when I listen to music, but it's ALWAYS. It starts even before I get login screen on fresh reboot.
Now regarding HDMI cables.. I use ASUS laptop, the only things connected to laptop are keyboard and mouse, I can remove them and sound still remains. Sound comes directly from one out of two laptop speakers.
Some of these laptops have horrible built in sound, I know mine does.
Looking again through this thread we are talking about two different noise situations.
One being a timing and sample rate issue with audio output, especially audio over HDMI.
The other, in your case your noise is probably being generated by the hard drive. I listened to your audio sample and I'm leaning towards it coming from the hard drive servo motors while it is doing a R/W. As for hard drive noise, you're kind of out of luck on that issue unless you replace it with a SSD or go the route of USB audio.
If you have time, take a look at some of the USB audio interfaces. Some have sample rates as high as 192KHz such as Creative's E-MU line. There are also some cheap USB audio interfaces coming out of China now that are not that bad, and what I have been told some are as good as the high end ones. Just search for USB sound cards. Not sure why they call them cards but apparently that is just a carry over from days of old.
Cheers
G
Last edited by geemac2; October 24th, 2014 at 05:34 AM.
Processor: AMD Athlon 64 X2 Dual Core Processor 4000+ × 2 «» Memory: 2GiB
HardDrive: 320 GB «» Graphics: GeForce 7050 PV / nForce 630a/integrated/SSE2
OS Type: 14.04 64-bit Trusty
5.1 Receiver: Onkyo TX-SR606 «» TV: Vizio
Hi childintime,
when I was reading your post I suffered with you. I had the same problems under 14.04 with external speakers, whereas headphones worked flawlessly. However I found a solution that worked for me:
http://askubuntu.com/questions/16088...aptop-speakers
The method is to disable the intel audio power save settings..
Last edited by zierom; December 8th, 2014 at 02:17 AM.
Rather than trawl through every post, I'll just ask: Are you still using 13.10 or have you upgraded to a supported release?
13.10 is no longer supported and updates/upgrades are no longer available. This can be problematic and leave your machine vulnerable (no security updates).
Just thought I'd mention.
Bookmarks