let's test your sound card and resampling 44100 ---> 48000
#1
if you are interesting how your card do resample 44100 ---> 48000 please download 2 seconds wav file (udial/SB_test) with 44100 sample rate
http://www.megaupload.com/?d=3DPCWFDT

and try to play it


In the best variant you should listen only dialtone, no more.

If you listen some background noise, try to add in advancedsettings.xml the string

Code:
<resample>48000</resample>

If it will not help you can try do resampling with Secret Rabbit Code (aka libsamplerate) is a Sample Rate Converter for audio.
http://www.mega-nerd.com/SRC/

in ~./asoundrc

Code:
pcm.48k {
type rate
slave {
pcm "hw:0,0"
rate 48000
}
converter"samplerate"
}

Before this step let's install libsamplerate0 libasound2-plugins packages

You can choose the conversion method - “samplerate_medium”, “samplerate_best”, “samplerate_order” or “samplerate_linear” to choose a different rate converter from libsamplerate. Seems the best variant - just "samplerate"

In xbmc for audio custom device let's write 48k and try to playback again test wav file

You can try also mplayer and aplay

mplayer -ao alsa:device=48k test_44.wav
aplay --device=48k test_44.wav

PS

please don't increase the volume a lot during tests because inside of this file there's sinusoid with 20 Khz and if you will not listen it, may be other people near you can listen it
Nvidia Shield
kodi 18.1 RC1
Reply
#2
Goga777 Wrote:if you are interesting how your card do resample 44100 ---> 48000 please download 2 seconds wav file (udial/SB_test) with 44100 sample rate
http://www.megaupload.com/?d=3DPCWFDT

and try to play it


In the best variant you should listen only dialtone, no more.

If you listen some background noise, try to add in advancedsettings.xml the string

Code:
<resample>48000</resample>
If it will not help you can try do resampling with Secret Rabbit Code (aka libsamplerate) is a Sample Rate Converter for audio.
http://www.mega-nerd.com/SRC/

in ~./asoundrc

Code:
pcm.48k {
type rate
slave {
pcm "hw:0,0"
rate 48000
}
converter"samplerate"
}
Before this step let's install libsamplerate0 libasound2-plugins packages

You can choose the conversion method - “samplerate_medium”, “samplerate_best”, “samplerate_order” or “samplerate_linear” to choose a different rate converter from libsamplerate. Seems the best variant - just "samplerate"

In xbmc for audio custom device let's write 48k and try to playback again test wav file

You can try also mplayer and aplay

mplayer -ao alsa:device=48k test_44.wav
aplay --device=48k test_44.wav

PS

please don't increase the volume a lot during tests because inside of this file there's sinusoid with 20 Khz and if you will not listen it, may be other people near you can listen it

You do know that the ~./asoundrc gets generated at everyboot on XBMCLive cd installs to HDD, which is what I have. Quite a lot of system files are regenerated again and again.

15KHZ to 20KHZ (limit) is just about what we people can hear if highre then your dog cat or mouse may get a bit twitchy... lol.

I will test these things as soon as I have some patiente. Though my main beef is audio or video and audio with mp3 @ 32000Hz files...
Reply

Logout Mark Read Team Forum Stats Members Help
let's test your sound card and resampling 44100 ---> 480000