I am a bit confused about audio device names. If I use command aplay -l
I get the list of all audio devices on my system:
**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 0: VT1708S Analog [VT1708S Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 2: VT1708S Alt Analog [VT1708S Alt Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 3: VT1708S Digital [VT1708S Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 3: USB [Scarlett 2i4 USB], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0
Notice that the order is card 0
, card 1
, card 3
where card 2
is not listed. This confuses me.
I know that every entry here is a single device (not card) so if I am correct (and please confirm or correct me if I am wrong) I would name my soundcard "Scarlet 2i4" like hd:3,0
? Or is it hd:2,0
because card 2
is missing?
Now when I open a JACK and want to tweak audio settings, I have different names than the ones above. The names are:
hw:USB,0
hw:USB
hw:0
plughw:0
/dev/audio
/dev/dsp
Where does a JACK get this device table? What kind of naming convention is this and how can I figure out which device is which (I want JACK to primarily use my "Scarlet 2i4")? Is there any terminal command which will let me know this?
At the moment my ~/.jackrc
settings are like this:
/usr/bin/jackd -nziga-scarlet-2i4 -t2000 -dalsa -dhw:0 -r48000 -p128 -n2