Crackle while playing back in KXStudio

What other apps and distros do you use to round out your studio?

Moderators: MattKingUSA, khz

Post Reply
Jonidas
Established Member
Posts: 10
Joined: Sun Feb 19, 2012 7:46 pm

Crackle while playing back in KXStudio

Post by Jonidas »

Hello out there,

I'm using KXStudio with KDE (12.04.1, 32 bit). Everything works quite fine for me, but there is sort of a crackle while playing back sound (no matter if I use a player like audiacious or a source in internet like youtube...). I was experimenting with the jack-settings in cadence (buffersize, periods/buffer, samplerate, realtime on/off, realtime priority etc.), although it isn't a xrun problem, I think. I'm not a total newbie, but nevertheless it could be that I forgot to check something very simple...

Do you want me to provide more information about my system/settings?

Thank you for your help and for the great work providing this excellent software...

And sorry for the double post, I was wondering, if it fits better in the Distributions section.

Jonidas
danboid
Established Member
Posts: 1327
Joined: Sun Aug 26, 2012 11:28 am
Location: England
Has thanked: 1 time
Been thanked: 4 times

Re: Crackle while playing back in KXStudio

Post by danboid »

I presume this crackle wasn't present under Windows or whatever distro you ran previously?

Whats the output of

cat /proc/asound/cards

?
Jonidas
Established Member
Posts: 10
Joined: Sun Feb 19, 2012 7:46 pm

Re: Crackle while playing back in KXStudio

Post by Jonidas »

No, with windows it didn't happen. It's quite subtle, you can here it for example with classical music, wearing good headphones.
the output is

Code: Select all

 0 [Intel          ]: HDA-Intel - HDA Intel
                      HDA Intel at 0xfeb3c000 irq 43
 1 [Loopback       ]: Loopback - Loopback
                      Loopback 1
Thank you :)
danboid
Established Member
Posts: 1327
Joined: Sun Aug 26, 2012 11:28 am
Location: England
Has thanked: 1 time
Been thanked: 4 times

Re: Crackle while playing back in KXStudio

Post by danboid »

Might be worth trying this first:

https://wiki.ubuntu.com/Audio/PositionReporting
Jonidas
Established Member
Posts: 10
Joined: Sun Feb 19, 2012 7:46 pm

Re: Crackle while playing back in KXStudio

Post by Jonidas »

good hint, but it didn't work. the position fixing didn't take any effect and I couldn't find the /etc/pulse/default.pa, there is only /etc/pulse/client.conf.

any other ideas?

thanks a lot
danboid
Established Member
Posts: 1327
Joined: Sun Aug 26, 2012 11:28 am
Location: England
Has thanked: 1 time
Been thanked: 4 times

Re: Crackle while playing back in KXStudio

Post by danboid »

Unless you've manually updated your kernel, you will likely still be running kernel 3.2 w/ ALSA 1.0.25. You can check your kernel revision by running

uname -a

Check ALSA version by running

alsamixer

I have not yet installed F's newer 3.8 kernel but it should include a newer version of ALSA (which is up to version 1.0.27) which could include a fix for your sound prob so try installing these:

linux-lowlatency-headers-3.8.0-14
linux-headers-3.8.0-14-lowlatency
linux-image-3.8.0-14-lowlatency

Reboot, check your kernel and ALSA have been updated then test for your sound issue again.
Jonidas
Established Member
Posts: 10
Joined: Sun Feb 19, 2012 7:46 pm

Re: Crackle while playing back in KXStudio

Post by Jonidas »

Hmmm, I updated the kernel. Now it says:

Code: Select all

3.8.0-14-lowlatency
and ALSA-Version

Code: Select all

Advanced Linux Sound Architecture Driver Version k3.8.0-14-lowlatency.
But the crackle stays the same. :/
Thank you anyway.

Edit:
I realised, that using other players like VLC, the crackle doesn't appear (only while changing volume). in audacious it does. in streaming websites it does, although I have the feeling, that it is more using firefox and less using opera or konqueror (I'm not quite sure about this). Any idea?
danboid
Established Member
Posts: 1327
Joined: Sun Aug 26, 2012 11:28 am
Location: England
Has thanked: 1 time
Been thanked: 4 times

Re: Crackle while playing back in KXStudio

Post by danboid »

What samplerate are you running JACK at? If you're running it at 48K, try 44.1 instead and viceversa.
Post Reply