You are not logged in.

#1 2013-12-14 15:33:34

mark2741
Member
Registered: 2013-12-02
Posts: 11

[SOLVED] USB Guitar Interface with jack

**SOLVED**
>>
Eventually figured out that I had the wrong output device selected. Also had to make sure the 'wiring' connections in Jack were setup correctly. A note to others new to Jack - it really is not very hard and makes total sense to me now, after spending a lot of time struggling with it. what helped me were understanding these two things:

1. qjackctl is simply a settings front-end for the command line jackd program.
2. Look at the Connections window in qjackctl and think of it as simply a physical 'wiring' selector. Once I understood those two things I was able to not only get going with it jack but also quickly appreciate it.
<<

I have been struggling to get this working but I think I'm halfway there. I have a USB audio interface (Apogee JAM) hooked up through USB to my Arch system. I start jack and then receive this in the Messages window:

10:22:27.293 Patchbay deactivated.
10:22:27.319 Statistics reset.
10:22:27.321 ALSA connection change.
10:22:27.332 ALSA connection graph change.
10:22:33.925 JACK is starting...
10:22:33.926 /usr/bin/jackd -r -dalsa -dhw:Jam -r48000 -p128 -n2 -D -Chw:Jam
jackd 0.121.3
Copyright 2001-2009 Paul Davis, Stephane Letz, Jack O'Quinn, Torben Hohn and others.
jackd comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details
10:22:33.936 JACK was started with PID=4767.
JACK compiled with System V SHM support.
loading driver ..
apparent rate = 48000
creating alsa driver ... hw:Jam|hw:Jam|128|2|48000|0|0|nomon|swmeter|-|32bit
ALSA: Cannot open PCM device alsa_pcm for playback. Falling back to capture-only mode
configuring for 48000Hz, period = 128 frames (2.7 ms), buffer = 2 periods
ALSA: final selected sample format for capture: 32bit integer little-endian
ALSA: use 2 periods for capture
10:22:35.994 JACK connection change.
10:22:35.995 Server configuration saved to "/home/mark/.jackdrc".
10:22:35.995 Statistics reset.
10:22:35.996 Client activated.
10:22:35.998 Buffer size change (128).
10:22:50.161 Transport start.

I fire up Ardour (Audacity keeps freezing up on me whenever I try to record with it with this setup) and it accepts the input just fine - I can record.

But the problem is I can't playback/listen to the audio either during recording or after while jack is running. I believe it is due to the error in the jack Messages window shown above:

ALSA: Cannot open PCM device alsa_pcm for playback. Falling back to capture-only mode
configuring for 48000Hz, period = 128 frames (2.7 ms), buffer = 2 periods

I've spent quite a bit of time in the alsamixer fiddling with settings. I have also read and re-read the Arch wiki for jack and did create the /etc/asound.conf file it mentions, but still no luck.

Last edited by mark2741 (2013-12-16 02:20:34)

Offline

#2 2013-12-15 19:17:02

sphaso
Member
Registered: 2013-07-15
Posts: 9

Re: [SOLVED] USB Guitar Interface with jack

I don't think fiddling with alsamixer will do any difference. The problem is with the jack setup, it cannot open a playback+recording server with those settings. I seem to understand you specified your interface as both input and output, is this correct? try changing the values of input\output and see what happens, also make sure you don't have any application using ALSA as you create the server with jack (sometimes jack gets fussy with me in those situations).
You said Audacity crashes on you whenever you try to record, have you specified JACK as the driver instead of ALSA?   
I don't have a straight solution to your problem, but hopefully I gave you something to work on.

Offline

#3 2013-12-16 02:17:15

mark2741
Member
Registered: 2013-12-02
Posts: 11

Re: [SOLVED] USB Guitar Interface with jack

Thanks sphaso. You were correct - I had to keep fiddling with the settings and eventually got it right. It's now working flawlessly for me! (though I am running into one strange issue - exporting out of Ardour, no matter what the format, results in a silent file...).
I had to switch the output device to HW:PCH, with the Interface set to the JAM. I also had to then bump the Frames/Period to 256.

Sounds great and am having a lot of fun with Rakarrack in particular. As I said - I am having trouble with exporting out of Ardour but I'll keep working on that issue and may post another thread if I can't figure it out.

Offline

Board footer

Powered by FluxBB