Posts: 23,259
Joined: Aug 2011
Reputation:
1,073
fritsch
Team-Kodi Developer
Posts: 23,259
Yeah, your thinking is sadly not based on any facts ...
Provide me a sample that clearly reproduces your issue - then I can see and check.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Posts: 56
Joined: Oct 2013
Reputation:
0
Is there anyway to change the sample rate within Kodi? Maybe I can try different rates. I think right now it is at 48000. Maybe I can try 44100 or lower.
Processor: AMD Athlon 64 X2 Dual Core Processor 4000+ × 2
Memory: 2GiB
Graphics: GeForce 7050 PV / nForce 630a/integrated/SSE2
HardDrive: 320 GB
DVB: AVerTVHD MCE A180
Keyboard/Mouse: Wireless
OS Type: 14.04 64-bit Trusty
Kodi: 14.x
Receiver: Onkyo TX-SR606
TV: Vizio 42" LCD
Computer was formerly a Captiveworks 3000 HTPC
Posts: 23,259
Joined: Aug 2011
Reputation:
1,073
fritsch
Team-Kodi Developer
Posts: 23,259
2015-10-13, 19:25
(This post was last modified: 2015-10-13, 19:26 by fritsch.)
When PA is running it does not matter at all what kodi does - as the PA server is resampling again to what it likes. So if you force your pulseaudio to 44100 all of kodi's input will be resampled by the audio server ...
Besides that: You can set kodi to "Fixed" and make it resample everything to 44100 it's under the System -> Settings -> Audio Configuration. Though as said - if PA server is running at 48 it will resample back.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Posts: 56
Joined: Oct 2013
Reputation:
0
You're not going to believe this. The sampling rate seems to be the issue. I set the rate to fixed and tried dropping down to 44100. That made it worse and the frequency response dropped off; muddy audio and more clipping/distortion.
I tried the opposite direction and went to 96000 the apparent limit of the chip set for this old system's built in audio, the frequency response went up and the distortion dropped off.
I wouldn't close this thread just yet as solved. I'll update you and whomever may be following this as soon as I run a few other tests. If I remember correctly there is a setting in the pulse confg to set a frequency with a fallback frequency. I'll try 48000 to 96000 ad see what smokes...
Processor: AMD Athlon 64 X2 Dual Core Processor 4000+ × 2
Memory: 2GiB
Graphics: GeForce 7050 PV / nForce 630a/integrated/SSE2
HardDrive: 320 GB
DVB: AVerTVHD MCE A180
Keyboard/Mouse: Wireless
OS Type: 14.04 64-bit Trusty
Kodi: 14.x
Receiver: Onkyo TX-SR606
TV: Vizio 42" LCD
Computer was formerly a Captiveworks 3000 HTPC
Posts: 56
Joined: Oct 2013
Reputation:
0
2015-10-14, 02:45
(This post was last modified: 2015-10-14, 02:49 by GEEMac.)
Here is what I did so far and the audio cleaned up for at least one test for now. If this works with a few more tests I'll mark this as solved.
I use Leafpad for my editor, but any editor is fine.
Open a terminal window and type:
sudo leafpad /etc/pulse/daemon.conf
Remove ; to un-comment a line.
Also I have noticed, at least in my .conf file that line 78 alternate-sample-rate =xxxxxx was missing. Just add "alternate-sample-rate = 96000" (without quotes)
If your sound card does not except 96000 then use 44100 default and 48000 alternate.
Line
76. default-sample-format = s16le
77. default-sample-rate = 48000
78. alternate-sample-rate = 96000
Next I opened System > Settings > Audio output > Output configuration [Change to] Fixed
Next Limit sampling rate (KHz) 96.0 or 48.0
Processor: AMD Athlon 64 X2 Dual Core Processor 4000+ × 2
Memory: 2GiB
Graphics: GeForce 7050 PV / nForce 630a/integrated/SSE2
HardDrive: 320 GB
DVB: AVerTVHD MCE A180
Keyboard/Mouse: Wireless
OS Type: 14.04 64-bit Trusty
Kodi: 14.x
Receiver: Onkyo TX-SR606
TV: Vizio 42" LCD
Computer was formerly a Captiveworks 3000 HTPC
Posts: 23,259
Joined: Aug 2011
Reputation:
1,073
fritsch
Team-Kodi Developer
Posts: 23,259
This does not make sense for "most people". As resampling from 44100 to 48000 sucks. Seems your output device has issues with 44100 hz?
PA's default is: 48000 / 44100 - into those you can transform all other rates nicely.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.