Recording with JACK and a USB recording device in Audacity

This section is now closed.
Forum rules
Audacity 1.3.x is now obsolete. Please use the current Audacity 2.x.x package for your distribution or compile Audacity from the source code.
tom_bitt
Posts: 24
Joined: Mon Jan 30, 2012 8:41 pm
Operating System: Please select

Recording with JACK and a USB recording device in Audacity

Post by tom_bitt » Mon Jan 30, 2012 8:57 pm

Hi,

I am using a TASCAM US-100 (http://tascam.com/product/us-100/) with my Lenovo R500 laptop to record my guitar, bass, voice etc. in Audacity with several tracks. I have changed to Ubuntu lately because I was fed up with Windows.

I wasn't able to record several tracks with the standard ALSA device and driver - for one track, it was okay, but the next ones were all blurry. So I switched to JACK. It worked fine the first time I started it - I'm not using any additional effects or anything like JACKRack - but now I can't get it to work properly. Every time I start the JACK server (via QJackCtl) and launch Audacity, recording is done via the internal microphone of the laptop, and playback is done via the internal speakers. In the Audacity device toolbar, it says JACK and then "system" for both recording and playback.

I have already tried to force Ubuntu to recognize the USB device as the one and only soundcard - that didn't help really. The thing is, it all worked well the first time, and then once more later when I had been fiddling around with the controls for 4 hours (and after many restarts etc.), but I have no idea how to reproduce this. Any help? Thanks!

Tom

steve
Site Admin
Posts: 81653
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Recording with JACK and a USB recording device in Audaci

Post by steve » Tue Jan 31, 2012 1:33 am

Open Jack Control and click on the Setup button.
The Input device must correspond with your USB device.
Once you have Jack started with the USB device as the input device, launch Audacity and set it to "Host: Jack", Record and Playback: System.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

tom_bitt
Posts: 24
Joined: Mon Jan 30, 2012 8:41 pm
Operating System: Please select

Re: Recording with JACK and a USB recording device in Audaci

Post by tom_bitt » Tue Jan 31, 2012 8:37 am

That was the first thing I tried when I installed QJackCtl - it didn't impress JACK very much. If it had been that easy, it wouldn't have taken me the 4 hours I mentioned :-)

I have chosen the USB device as input and output device, but the sound is still coming from the speakers /recorded from the internal mic.

steve
Site Admin
Posts: 81653
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Recording with JACK and a USB recording device in Audaci

Post by steve » Tue Jan 31, 2012 4:29 pm

tom_bitt wrote:I have chosen the USB device as input and output device, but the sound is still coming from the speakers /recorded from the internal mic.
Have you tried any other Jack applications?
"Hydrogen" (drum machine) is a pretty good test for Jack. Try running it and check that (a) it works. (b) it plays out through the USB device.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

tom_bitt
Posts: 24
Joined: Mon Jan 30, 2012 8:41 pm
Operating System: Please select

Re: Recording with JACK and a USB recording device in Audaci

Post by tom_bitt » Tue Jan 31, 2012 7:29 pm

I hadn't tried it with Hydrogen before - now I have: Same effect. When I connect the Hydrogen input to the System Playback Output under QJackCtl's "Connections" screen, I hear the playback from the internal speakers, although the USB device is chosen as input and output device under QJackCtl's preferences screen. I also tried to chooses the other devices mentioned there (like dev/audio, dev/dsp etc.), but that also didn't change anything. I am a bit lost here, sorry.

steve
Site Admin
Posts: 81653
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Recording with JACK and a USB recording device in Audaci

Post by steve » Tue Jan 31, 2012 8:57 pm

In QJackCtl, click on the "Setup" button.
In the setup screen, look on the right hand side where it says "Input device:" and "Output Device:"
Ignore the drop down menus, look just to the right of those and you should see a [>] after each of those drop down menus.
Click on the [>] and you should see some options. What are the options?
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

tom_bitt
Posts: 24
Joined: Mon Jan 30, 2012 8:41 pm
Operating System: Please select

Re: Recording with JACK and a USB recording device in Audaci

Post by tom_bitt » Tue Jan 31, 2012 9:22 pm

steve wrote:In QJackCtl, click on the "Setup" button.
(...)
Click on the [>] and you should see some options. What are the options?
The options are:

hw:0 HDA Intel
hw:0,0 Conexant Analog
---
hw:1 USB Audio CODEC
hw:1,0 USB Audio
---
hw:29 ThinkPad Console Audio Control
---
(default)


I tried every one of those, but it didn't work. Thanks for your help, Steve!

steve
Site Admin
Posts: 81653
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Recording with JACK and a USB recording device in Audaci

Post by steve » Tue Jan 31, 2012 10:09 pm

You need to use one of the "hw:1" options - either of them should do.
What do you mean "it didn't work"?
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

tom_bitt
Posts: 24
Joined: Mon Jan 30, 2012 8:41 pm
Operating System: Please select

Re: Recording with JACK and a USB recording device in Audaci

Post by tom_bitt » Tue Jan 31, 2012 11:36 pm

Sorry to bother you with this :-)

Well, choosing the hw:1 or hw:1,0 device was the rather obvious thing to do - I tried that in the very beginning. Result: Sound was coming through the internal speakers. That hasn't changed until now...I don't know what to do. JACK just doesn't use the USB device!

steve
Site Admin
Posts: 81653
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Recording with JACK and a USB recording device in Audaci

Post by steve » Wed Feb 01, 2012 12:51 am

tom_bitt wrote:That hasn't changed until now...
Until now? What's happening now?
Is Jack actually running with hw:1 selected for both Input and Output Device? (you should see yellow lettering in QJackCtl that says "Started")
QJackCtl.png
QJackCtl.png (33.08 KiB) Viewed 9172 times
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

Locked