I open this topic because I have an issue when I plug a jack 1/4" to USB (guitar to USB) cable to my laptop, as I stop listening any audio.
My goal is to set up an audio studio on standard Ubuntu (not Ubuntu Studio), having already installed and configured jackd2, QjackCtl, Carla, Hydrogen, Guitarix and Ardour.
I have been successful in synchronizing Hydrogen and Ardour and record the drums. I am able to hear the drums through my headphones as they are being recorded and play the record back. I detailed the installation & configuration steps in this post, in case you want to have a look. The next achievement would be to record something played from an instrument (specifically an electroacoustic cello) connected through USB interface, and this is where I am getting issues.
I am using a Dell XPS 13 9305 laptop with Ubuntu 21.10. This laptop only has USB-C ports, so I am plugging a USB-A to USB-C adapter to it, and then a jack 1/4" to USB-A cable (in particular, a Behringer Guitar 2 USB cable) that is connected to the instrument.
When I plug the USB, QjackCtl detects two new interfaces related to USB:
- hw:Device (USB PnP Sound Device)
- hw:Device,0 (USB Audio).
Once USB is plugged (even if JACK is not up) I no longer hear any sound through my computer. When JACK is on, I still hear nothing even when there are sounds played from apps using JACK (e.g., Hydrogen, Ardour). System plays JACK sounds normally when USB is not plugged.
It is weird because system is actually receiving the sound, though I do not hear it. For example, I was able to record the instrument with Audacity or Ardour and export a file that I am able to hear once JACK is closed AND USB is unplugged (if USB remains plugged, there is no sound on pulseaudio, even when JACK server is already down).
I am NOT using yet Guitarix during the tests, to remove an additional possible source of issues while troubleshooting. Because of the same reason, I have not yet configured a bridge between JACK and pulseaudio.
All apps are connected to system:audio_out, as seen in Carla, so I should hear them as I did when USB was not connected.
One more clue: I tested the same instrument and cable in another computer with a different OS and USB-A ports. It was a MacBook Pro and DAW GarageBand. And surprisingly, the result was the same: once I plug the Guitar 2 USB cable I stop listening any audio during recording or when playing back, even when I checked when creating the project that I wanted to hear myself while playing.
My questions are:
- Is it possible to hear system audio through the computer speakers/headphones while the USB is plugged? Is it possible that this is not the expected behaviour?
- How can it be that the same cable is causing the same incident in two different OS? Is it possible that the guitar 2 USB cable is not working as expected?
- Do I need to change some configuration?
- Among the two USB interfaces offered in QjackCtl, which one is the one I should use?