qjackctl patchbay and usb interface

Post fully complete "how to" guides and tutorials here. This is a great place to get feedback on stuff you might put in the wiki.

Moderators: khz, MattKingUSA

Post Reply
hapibeli
Established Member
Posts: 15
Joined: Mon Oct 07, 2013 2:05 am

qjackctl patchbay and usb interface

Post by hapibeli »

Does anyone know of a qjackctl tutorial showing patchpay examples of a usb interface with a mic and two instruments?

wattahay
Established Member
Posts: 4
Joined: Wed Jul 08, 2020 6:20 pm

Re: qjackctl patchbay and usb interface

Post by wattahay »

I have not really found a good one, but I have figured a few things out myself as a newb.

1. Plug in your usb devices
2. Enter the following command in a terminal
cat /proc/asound/cards


0 [PCH ]: HDA-Intel - HDA Intel PCH
HDA Intel PCH at 0xdff20000 irq 49
1 [HDMI ]: HDA-Intel - HDA ATI HDMI
HDA ATI HDMI at 0xdfe60000 irq 51
2 [M2496 ]: ICE1712 - M Audio Audiophile 24/96
M Audio Audiophile 24/96 at 0x6040, irq 17
3 [USB ]: USB-Audio - AT2020 USB
audio-technica � AT2020 USB at usb-0000:00:1d.0-1.7, full speed

(My USB Mic is the #3 that reads "USB" in the brackets

3.Use the word before the bracketed portion of the card you want to connect.
In my case: "USB" and alter this command to fit your multiple mics.

alsa_in -d hw:USB -j 'USB Mic 1' -q 4 -c 1 &

* The "USB Mic" portion is a custom name that will show up as a JACK device in Patchbay.
* Since you have two mics, you command might look something like two of the above command back to back, connected by &&

A command like this one is what you would enter in QjackCTL for "Run Command After Jack Starts"
alsa_in -d hw:USB -j 'USB Mic 1' -q 4 -c 1 && alsa_in -d hw:USB2 -j 'USB Mic 2' -q 4 -c 1 &

4. Also make sure to install a2jmidid, and put the following command in QjackCTL in "Run Command at the Same Time Jack Starts"

a2jmidid -e &
:mrgreen: :P :mrgreen: :P :mrgreen: :P :mrgreen: :P :mrgreen:

User avatar
stephen_doonan
Established Member
Posts: 13
Joined: Thu Feb 04, 2016 5:20 am

Re: qjackctl patchbay and usb interface

Post by stephen_doonan »

--
Your USB audio interface should be listed to select in Qjackctl's Settings--

--
qjackctl-settings.png
You do not have the required permissions to view the files attached to this post.

Post Reply