Changing the sample rate in version .99

Don’t know if this has anything to do with it, but I had a similar problem with my RME. I could not change the samplerate with qjackctl.

However, once I compiled the RME driver as a module instead of building it into the kernel it worked.

Sorry to say but I’m kind of lost here. What is the best approach for me to take to get things correct.

I did install a package for Ubuntu. Should I uninstall jack? If so, what then? I’ve never complied anything. So I don’t know where to start. Detailed baby steps are what I need. I’ve only been using Linux for about 3 weeks (and a lot of that was taken up with ALSA and video driver issues), so it’s all very new to me.

I looked in the package manager both Jackd and libjack are listed as version 0.101.1-1.

I have been able to record/playback with what I have now, however, the sound quality doesn’t seem as good as I was getting with Audacity, Krystal, or Ableton under windows. Perhaps that different issue.

he is running Ardour first and it is initiating its very own JACK session.

you have to start qjackctl before you start any jack clients. server, then client.

most likely you are not connecting to qjackctl because you don’t have realtime privileges.

niko123456: the information you are providing is incorrect.

pk1, please show the results of the following commands:

ls -l /usr/lib/libjack*
ls -l /usr/local/lib/libjack*
ls -l /usr/bin/jack*
ls -l /usr/local/bin/jack*

Regarding audio quality, that seems rather unlikely. But lets not address that until we get your system configuration figured out.

Here you go:

ls -l /usr/lib/libjack*

pk@pk-desktop:~$ ls -l /usr/lib/libjack*
lrwxrwxrwx 1 root root 25 2007-01-27 10:46 /usr/lib/libjack-0.100.0.so.0 -> libjack-0.100.0.so.0.0.23
-rw-r–r-- 1 root root 57340 2006-06-21 03:12 /usr/lib/libjack-0.100.0.so.0.0.23

/usr/lib/libjack0.100.0-0:
total 112
-rw-r–r-- 1 root root 4100 2006-06-21 03:12 inprocess.so
-rw-r–r-- 1 root root 4624 2006-06-21 03:12 intime.so
-rw-r–r-- 1 root root 49208 2006-06-21 03:12 jack_alsa.so
-rw-r–r-- 1 root root 7028 2006-06-21 03:12 jack_dummy.so
-rw-r–r-- 1 root root 29048 2006-06-21 03:12 jack_oss.so


ls -l /usr/local/lib/libjack*

pk@pk-desktop:~$ ls -l /usr/local/lib/libjack*
ls: /usr/local/lib/libjack*: No such file or directory



ls -l /usr/bin/jack*

pk@pk-desktop:~$ ls -l /usr/bin/jack*
-rwxr-xr-x 1 root root 82080 2006-05-09 20:46 /usr/bin/jackbeat
-rwxr-xr-x 1 root root 4384 2006-06-21 03:12 /usr/bin/jack_bufsize
-rwxr-xr-x 1 root root 4860 2006-06-21 03:12 /usr/bin/jack_connect
-rwxr-xr-x 1 root root 59800 2006-06-21 03:12 /usr/bin/jackd
-rwxr-xr-x 1 root root 4860 2006-06-21 03:12 /usr/bin/jack_disconnect
-rwxr-xr-x 1 root root 100644 2006-08-01 21:08 /usr/bin/jackeq
-rwxr-xr-x 1 root root 3972 2006-06-21 03:12 /usr/bin/jack_freewheel
-rwxr-xr-x 1 root root 6468 2006-06-21 03:12 /usr/bin/jack_impulse_grabber
-rwxr-xr-x 1 root root 5632 2006-06-21 03:12 /usr/bin/jack_load
-rwxr-xr-x 1 root root 6384 2006-06-21 03:12 /usr/bin/jack_lsp
-rwxr-xr-x 1 root root 7920 2006-06-21 03:12 /usr/bin/jack_metro
-rwxr-xr-x 1 root root 3756 2006-06-21 03:12 /usr/bin/jack_monitor_client
-rwxr-xr-x 1 root root 8564 2006-06-21 03:12 /usr/bin/jackrec
-rwxr-xr-x 1 root root 4380 2006-06-21 03:12 /usr/bin/jack_showtime
-rwxr-xr-x 1 root root 5748 2006-06-21 03:12 /usr/bin/jack_simple_client
-r-sr-xr-x 1 root root 11832 2006-06-21 03:12 /usr/bin/jackstart
-rwxr-xr-x 1 root root 8464 2006-06-21 03:12 /usr/bin/jack_transport
-rwxr-xr-x 1 root root 3948 2006-06-21 03:12 /usr/bin/jack_unload


ls -l /usr/local/bin/jack*

pk@pk-desktop:~$ ls -l /usr/local/bin/jack*
ls: /usr/local/bin/jack*: No such file or directory

Debian/Ubuntu’s confusing package naming isn’t helping here. I just checked Debian Testing (which Edgy is based on AFAIK) and it has a jackd' package (version 0.101.1) and a separatelibjack0.100.0’ package, which is actually libjack version 0.101.1 despite its name.

You can check what package versions you actually have with the dpkg command:
dpkg --list jackd
dpkg --list libjack0.100.0

(That’s a double hyphen in front of the list option, just in case your browser uses a typeface that merges them together).

pk1, you said earlier in the thread that you managed to record at the correct sample rate. Things to remember:

Don’t specify -i or -o numbers (specifying -i0 or -o0
is the same as not specifying any and causes ALSA to use
the correct number by default).

Make sure that .asoundrc has been removed. If you are
using the plug device the quality will be bad, so get rid of it. You shouldn’t need any .asoundrc just to record with a single sound card.

Here is the output:

pk@pk-desktop:~$ sudo dpkg --list jackd
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Description
++±==============-==============-============================================
ii jackd 0.101.1-1 JACK Audio Connection Kit (server and exampl


pk@pk-desktop:~$ dpkg --list libjack0.100.0
No packages found matching libjack0.100.0.


I tried “dpkg libjack” without a version number and got the same:

pk@pk-desktop:~$ dpkg --list libjack
No packages found matching libjack.

With “dpkg libjack*” this is the results:

pk@pk-desktop:~$ dpkg --list libjack*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Description
++±==============-==============-============================================
ii libjack0.100.0 0.101.1-1 JACK Audio Connection Kit (libraries)
un libjackasyn0 (no description available)

So it looks like libjack and jackd are different versions.

pk1, you said earlier in the thread that you managed to record at the correct sample rate. Things to remember:

Don’t specify -i or -o numbers (specifying -i0 or -o0
is the same as not specifying any and causes ALSA to use
the correct number by default).

Make sure that .asoundrc has been removed. If you are
using the plug device the quality will be bad, so get rid of it. You shouldn’t need any .asoundrc just to record with a single sound card.

Thanks for the tip. I now have qjackctl set a zero for I/O.

I have deleted asoundrc.

On rechecking the package name it’s `libjack0.100.0-0’.
Sorry, my mistake.

You can specify -i0 -o0 or not use the -i -o options at all, it should give the same result (at least it should on the command line - I’m not sure if qjackctl defaults to that, so you might need to tell it to use -i0 -o0).

On the sound quality issue:

Operator error!

I found I had inadvertently cranked the bass EQ knob all the way up on my mixer. Everything sounds a lot better now.

Since I didn’t hear any different, and the system seems to working alright. I’m just going to leave things as they are. Thanks for the help in setting the sample rate and configuring Jack properly.
I’m going to test lowering the sample rate from 88200 until latency becomes an issue then raise it back up a notch.