Ardour and the clicking noise
Hey-
I am running Kubuntu 7.04 on my Compaq Presario V5204NR laptop. I have installed the low latency kernel from the universe repositories and have also installed Ardour 2 from getdeb. I am able to record my guitar, but there is a terrible clicking noise, which makes the sound "stutter". I had this problem with the generic kernel and thoughtthe low latency kernel would fix it... My question is, is this just crappy hardware, or is there something I can do to remvoe the "click" in my recorder sound? I know this laptop is not a studio workhorse, I just want to record some of my guitar tracks from the comfort of my bedroom, so I i get an idea for a song, I can semi-document it. Thanks for any help whatsoever.. -myk |
if you are using qjackctl try setting the jack buffer larger.
otherwise adjust command line jack settings. try setting rate to 44100 instead of 48000. i am going to give you a copy of my ~/.asoundrc and there are some settings in there for you to play with as well. You wil see where i have commented out various alternative settings. Code:
pcm.jackplug { |
Thank you, I will try.
I have located how to adjust the sample rate, but what about the buffer? I see an option for "Periods/Buffer",which is set at 2 by default. Is this the one I should change? If so, what value would you recommend? I see in your asound file, you have 2052 set.. I just want to make sure that this is the right thing to change, because going from 2 to 2000 is drastic. Thanks,. -myk |
me again.. Also, i do not have the file .asoundrc..
should i make one, or is everything for this configurable through the qjackctl interface? |
yea just make above a new file named ~/.asoundrc
the jack settings are something different. how it all interacts is the great mystery in qjackctl buffer is called Frames/Period mine is set to 512 thats a good place to start and moving up from there Periods/buffer 2 is good that makes the buffer 1024 read the slash as per generally slower hardware requires more buffering |
better than before, but still a clicking noise. I think it may be the sound card. My laptop has Intel HDA, and I am using alsa 1.0.14rc2 ( i think)
Since this driver is a release candidate, and I know this particular sound chipset has been a bit fruity, perhaps this is the problem.. I know I have successfully used Ardour on lesser hardware in the past, and it worked fine... I guess all I can do is wait for a better driver, but if anyone can confirm or deny my driver theory, that would help. thanks, -myk |
i don't know about the driver but there a few other tricks to try.
first try to make xorg a bit nicer renice +2 -p `ps -C Xorg -o pid=` if that makes the video or mouse real choppy try +1 or if all is ok try +5 and see what happens etc. just play with it so x eats up less bandwidth. also try to increase the hardware latency settings for larger bursts (seems counter intuitive) look up the soundcard with lspci -v mine is 04:08.0 so i insrease latency with the command setpci -v -s '04:08.0' latency_timer=48 use value ff for maximum setpci -v -s '04:08.0' latency_timer=ff just play with the values and check lspci -v to see results the command sees the values as sugestions only ! some drivers you can't change etc. just play with it and see if it helps you can also try to increase latence across the pci bus controllers and see if that helps you can also try to decrease latency on the video controller and see if it helps and one last tweek to try look at cat /proc/interrupts set realtime priorities for the soundcard -- mine is on IRQ 11 so i set chrt -f -p 82 `pidof "IRQ 11"` next set rt prioritier for yur real time clock (rtc) mine is on IRQ 8 so i set chrt -f -p 98 `pidof "IRQ 8"` if you don't have chrt just get it from your distribution package thingy |
All times are GMT -5. The time now is 10:04 PM. |