Guitarix doesn't "catch" my Guitar's sound but Audacity does
Moderators: MattKingUSA, khz
Guitarix doesn't "catch" my Guitar's sound but Audacity does
Hello everyone!
My intention is to play my Guitar using Guitarix digital amplifier. I have set up Jack not without slight problems (I had to manually select input and output devices as well as manually establish connections). Unfortunately Guitarix still doesn't seem to detect my guitar's sound. In Audacity however my Guitar is detected just fine.
I have found one Reddit thread where someone describes a similar problem: https://www.reddit.com/r/linuxaudio/com ... gram_that/
I have tried to run the command that supposedly helped this user but I encountered problems. I PMed this commenter but didn't receive any response so far. Let me copy problems / questions regarding this command from the aforementioned PM:
"1) What value should stand in place of MyGuitar? Should I just type MyGuitar or substitute it for something else (taken from that earlier "aplay -l" command for example).
2) Where exactly can I find address for device? I used the one in the beginning after card number and before square brackets.
3) When I typed the command as I thought was right an error "Capture open error: Device or resource busy" appeared. So I turned off Guitarix - the same thing. Also - I turned off Jack at all - now it shows much bigger output like if something was in the process but still gives me the same message in the end with an addition of: "Unknown error... terminate called after throwing an instance of 'Jack::JackTemporaryException' what():"
4) Do you mean "Frames/Period" setting when you talk about BUFFERS in your post?"
I'm sorry if it sounds really stupid. I'm a complete Linux newbie just trying to set up my Guitar - without any in-depth knowledge about my distribution (which is the latest Linux Mint by the way if it matters).
Could someone explain it to me like I'm 5 please? Or alternatively suggest another solution to my problem so that Guitarix captures input from my guitar.
Thank you in advance!
My intention is to play my Guitar using Guitarix digital amplifier. I have set up Jack not without slight problems (I had to manually select input and output devices as well as manually establish connections). Unfortunately Guitarix still doesn't seem to detect my guitar's sound. In Audacity however my Guitar is detected just fine.
I have found one Reddit thread where someone describes a similar problem: https://www.reddit.com/r/linuxaudio/com ... gram_that/
I have tried to run the command that supposedly helped this user but I encountered problems. I PMed this commenter but didn't receive any response so far. Let me copy problems / questions regarding this command from the aforementioned PM:
"1) What value should stand in place of MyGuitar? Should I just type MyGuitar or substitute it for something else (taken from that earlier "aplay -l" command for example).
2) Where exactly can I find address for device? I used the one in the beginning after card number and before square brackets.
3) When I typed the command as I thought was right an error "Capture open error: Device or resource busy" appeared. So I turned off Guitarix - the same thing. Also - I turned off Jack at all - now it shows much bigger output like if something was in the process but still gives me the same message in the end with an addition of: "Unknown error... terminate called after throwing an instance of 'Jack::JackTemporaryException' what():"
4) Do you mean "Frames/Period" setting when you talk about BUFFERS in your post?"
I'm sorry if it sounds really stupid. I'm a complete Linux newbie just trying to set up my Guitar - without any in-depth knowledge about my distribution (which is the latest Linux Mint by the way if it matters).
Could someone explain it to me like I'm 5 please? Or alternatively suggest another solution to my problem so that Guitarix captures input from my guitar.
Thank you in advance!
- milo
- Established Member
- Posts: 1242
- Joined: Wed Sep 06, 2017 2:55 am
- Location: Southern Utah, USA
- Has thanked: 275 times
- Been thanked: 218 times
- Contact:
Re: Guitarix doesn't "catch" my Guitar's sound but Audacity does
Please tell us more about your audio setup. What audio interface are you using? Do you have an external USB sound interface or are you using your computer's sound card?
Re: Guitarix doesn't "catch" my Guitar's sound but Audacity does
Hey, thank you for reply!
I'm using an external USB audio interface called Behringer U-PHORIA UM2. In Jack it's listed as input while my soundcard is listed as an output. I hope this is what you asked for.
I'm using an external USB audio interface called Behringer U-PHORIA UM2. In Jack it's listed as input while my soundcard is listed as an output. I hope this is what you asked for.
-
- Established Member
- Posts: 1392
- Joined: Thu Oct 11, 2018 4:13 pm
- Has thanked: 168 times
- Been thanked: 247 times
Re: Guitarix doesn't "catch" my Guitar's sound but Audacity does
On the Reddit thread a relevant link is dead. The thread addresses using two sound inputs -- an interface, and a guitar pedal that I'm guessing connected with USB. This isn't relevant to your setup.
Are you using Qjackctl? You will need to make connections in the 'connect' or 'patchbay' windows.
Are you using Qjackctl? You will need to make connections in the 'connect' or 'patchbay' windows.
-
- Established Member
- Posts: 2315
- Joined: Sat Jun 21, 2014 8:37 pm
- Been thanked: 251 times
Re: Guitarix doesn't "catch" my Guitar's sound but Audacity does
Start qjackctl, and the standalone guitarix (not a plugin version)
With audio active on your soundcard line-in, or recognized
usb input, you want these connections in the qjackctl Audio tab:
system on the bottom left connected to gx_head_amp upper right
gx_head_amp on the upper left to gx_head_fx on the middle right
gx_head_fx on the middle left, to system on the lower right.
Mimicks a real world setup, amp to fx to output.
Also, these connections happened automatically for me just now,
in an up-to-date Manjaro linux.
If I then launch audacity (with jackd for audio prefs), nothing yet appears
in qjackctl audio panel, until I press the Audacity record button.
Then a connection opens and is made between:
system on the left, and PortAudio (audacity-input),
shown just above system, on the right.
Now that Audacity has it's recording port visible, you can also connect
gx_head_fx on the middle left to PortAudio on the right.
You can of course pause audacity as you connect things.
I usually use timemachine for recording, as it makes it's
connection appear in qjackctl when launched, before
the record button is used, and the connector doesn't vanish
when you press 'stop'.
Hope this helps!
With audio active on your soundcard line-in, or recognized
usb input, you want these connections in the qjackctl Audio tab:
system on the bottom left connected to gx_head_amp upper right
gx_head_amp on the upper left to gx_head_fx on the middle right
gx_head_fx on the middle left, to system on the lower right.
Mimicks a real world setup, amp to fx to output.
Also, these connections happened automatically for me just now,
in an up-to-date Manjaro linux.
If I then launch audacity (with jackd for audio prefs), nothing yet appears
in qjackctl audio panel, until I press the Audacity record button.
Then a connection opens and is made between:
system on the left, and PortAudio (audacity-input),
shown just above system, on the right.
Now that Audacity has it's recording port visible, you can also connect
gx_head_fx on the middle left to PortAudio on the right.
You can of course pause audacity as you connect things.
I usually use timemachine for recording, as it makes it's
connection appear in qjackctl when launched, before
the record button is used, and the connector doesn't vanish
when you press 'stop'.
Hope this helps!
Re: Guitarix doesn't "catch" my Guitar's sound but Audacity does
First of all - thank you for your answer! It's good to know that this Reddit thread wasn't even relevant so I will waste no more time following its advice!merlyn wrote:On the Reddit thread a relevant link is dead. The thread addresses using two sound inputs -- an interface, and a guitar pedal that I'm guessing connected with USB. This isn't relevant to your setup.
Are you using Qjackctl? You will need to make connections in the 'connect' or 'patchbay' windows.
Yes, I'm using Qjackctl. I already made connection in the 'connect' window following some article I found over the internet. I attach screenshot of how it looks at the moment.
As for the 'patchbay' window - I didn't touch it. Could the problem lie there?
- Attachments
-
- connections.png (37.41 KiB) Viewed 2127 times
Re: Guitarix doesn't "catch" my Guitar's sound but Audacity does
Hey man - thank you for comprehensive answer!glowrak guy wrote:Start qjackctl, and the standalone guitarix (not a plugin version)
With audio active on your soundcard line-in, or recognized
usb input, you want these connections in the qjackctl Audio tab:
system on the bottom left connected to gx_head_amp upper right
gx_head_amp on the upper left to gx_head_fx on the middle right
gx_head_fx on the middle left, to system on the lower right.
Mimicks a real world setup, amp to fx to output.
Also, these connections happened automatically for me just now,
in an up-to-date Manjaro linux.
If I then launch audacity (with jackd for audio prefs), nothing yet appears
in qjackctl audio panel, until I press the Audacity record button.
Then a connection opens and is made between:
system on the left, and PortAudio (audacity-input),
shown just above system, on the right.
Now that Audacity has it's recording port visible, you can also connect
gx_head_fx on the middle left to PortAudio on the right.
You can of course pause audacity as you connect things.
I usually use timemachine for recording, as it makes it's
connection appear in qjackctl when launched, before
the record button is used, and the connector doesn't vanish
when you press 'stop'.
Hope this helps!
As for Qjackctl connections I have them set exactly like you described it to me already so I don't think the problem lies here.
I'm not sure if I understood you right but are you trying to help me with Audacity setup? Recording my guitar with Audacity goes smoothly (although obviously I can't apply any effects). It is Guitarix that doesn't seem to detect any input from my guitar at all.
-
- Established Member
- Posts: 194
- Joined: Mon Nov 13, 2017 5:54 am
- Has thanked: 8 times
- Been thanked: 4 times
Re: Guitarix doesn't "catch" my Guitar's sound but Audacity does
You must choose your behringer-card in qjackctl as your soundcard. You probably use the other one at the moment.
It is not easily possible to use one card for input, the other for output, with jack. Use the behringer for input and output! (Yeah, I know that it's possible, but it's not easy, definitely, and not recommended).
In audacity you probably used Alsa as host, there you can set one card for input and the other for output.
It is not easily possible to use one card for input, the other for output, with jack. Use the behringer for input and output! (Yeah, I know that it's possible, but it's not easy, definitely, and not recommended).
In audacity you probably used Alsa as host, there you can set one card for input and the other for output.
Re: Guitarix doesn't "catch" my Guitar's sound but Audacity does
I'm sorry if it sounds really stupid but how do I do that? I chose hw:CODEC (which is presumably my Behringer interface) as both my input and output in advanced Qjackctl settings but it doesn't seem to work. In fact the sound doesn't seem to work at all. Could you tell me which option exactly to choose so that I don't mess up anything in the process?Musicteacher wrote:You must choose your behringer-card in qjackctl as your soundcard. You probably use the other one at the moment.
It is not easily possible to use one card for input, the other for output, with jack. Use the behringer for input and output! (Yeah, I know that it's possible, but it's not easy, definitely, and not recommended).
In audacity you probably used Alsa as host, there you can set one card for input and the other for output.
-
- Established Member
- Posts: 194
- Joined: Mon Nov 13, 2017 5:54 am
- Has thanked: 8 times
- Been thanked: 4 times
Re: Guitarix doesn't "catch" my Guitar's sound but Audacity does
I have a behringer-card, too. In my case it's hw:UMC1820. In yours probably hw:UM2
codec is very likely the builtin-card.
Plug in the card first, then start qjackctl, not the other way! Also make sure the card is turned on (mine has a hardware-switch, don't know about yours).
codec is very likely the builtin-card.
Plug in the card first, then start qjackctl, not the other way! Also make sure the card is turned on (mine has a hardware-switch, don't know about yours).
- bluebell
- Established Member
- Posts: 1910
- Joined: Sat Sep 15, 2012 11:44 am
- Location: Saarland, Germany
- Has thanked: 111 times
- Been thanked: 116 times
Re: Guitarix doesn't "catch" my Guitar's sound but Audacity does
hw:CODEC sounds like Behringer.ciociosan wrote:I'm sorry if it sounds really stupid but how do I do that? I chose hw:CODEC (which is presumably my Behringer interface) as both my input and output in advanced Qjackctl settings but it doesn't seem to work. In fact the sound doesn't seem to work at all. Could you tell me which option exactly to choose so that I don't mess up anything in the process?Musicteacher wrote:You must choose your behringer-card in qjackctl as your soundcard. You probably use the other one at the moment.
It is not easily possible to use one card for input, the other for output, with jack. Use the behringer for input and output! (Yeah, I know that it's possible, but it's not easy, definitely, and not recommended).
In audacity you probably used Alsa as host, there you can set one card for input and the other for output.
What happens when you do on the command line:
Code: Select all
jackd -dalsa -r48000 -p256 -n2 -dhw:CODEC
Linux – MOTU UltraLite AVB – Qtractor – http://suedwestlicht.saar.de/
-
- Established Member
- Posts: 2315
- Joined: Sat Jun 21, 2014 8:37 pm
- Been thanked: 251 times
Re: Guitarix doesn't "catch" my Guitar's sound but Audacity does
aplay -l
arecord -l
these commands list detected audio input and recording hardware,
and the system name(s) will be displayed within brackets, like
[M Audio Audiophile 24/96]
With your device connected, boot, launch qjackctl, but do not
start the engine itself. Click the setup button, click the 'Advanced' tab
and on the right side of that advanced panel, the Input Device area has a widget on
the right side, click it, and a list of recognized audio input devices appears.
You can type in the name you see for your device from the commands above,
but omit the brackets. Now start qjackctl, and connect to Guitarix,
or rakarrack, or Dragonfly Reverb etc etc, with those connected to 'system'
as you've seen.
Separate input and output devices are not a problem. My guitars have
their own usb input (Fender Mustang amps)
and an mAudio pci card is the output, example above)
Cheers
arecord -l
these commands list detected audio input and recording hardware,
and the system name(s) will be displayed within brackets, like
[M Audio Audiophile 24/96]
With your device connected, boot, launch qjackctl, but do not
start the engine itself. Click the setup button, click the 'Advanced' tab
and on the right side of that advanced panel, the Input Device area has a widget on
the right side, click it, and a list of recognized audio input devices appears.
You can type in the name you see for your device from the commands above,
but omit the brackets. Now start qjackctl, and connect to Guitarix,
or rakarrack, or Dragonfly Reverb etc etc, with those connected to 'system'
as you've seen.
Separate input and output devices are not a problem. My guitars have
their own usb input (Fender Mustang amps)
and an mAudio pci card is the output, example above)
Cheers
Re: Guitarix doesn't "catch" my Guitar's sound but Audacity does
I get the following output:bluebell wrote:hw:CODEC sounds like Behringer.ciociosan wrote:I'm sorry if it sounds really stupid but how do I do that? I chose hw:CODEC (which is presumably my Behringer interface) as both my input and output in advanced Qjackctl settings but it doesn't seem to work. In fact the sound doesn't seem to work at all. Could you tell me which option exactly to choose so that I don't mess up anything in the process?Musicteacher wrote:You must choose your behringer-card in qjackctl as your soundcard. You probably use the other one at the moment.
It is not easily possible to use one card for input, the other for output, with jack. Use the behringer for input and output! (Yeah, I know that it's possible, but it's not easy, definitely, and not recommended).
In audacity you probably used Alsa as host, there you can set one card for input and the other for output.
What happens when you do on the command line:
Code: Select all
jackd -dalsa -r48000 -p256 -n2 -dhw:CODEC
jackdmp 1.9.12
Copyright 2001-2005 Paul Davis and others.
Copyright 2004-2016 Grame.
Copyright 2016-2017 Filipe Coelho.
jackdmp 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
JACK server starting in realtime mode with priority 10
self-connect-mode is "Don't restrict self connect requests"
audio_reservation_init
Acquire audio card Audio2
creating alsa driver ... hw:CODEC|hw:CODEC|256|2|48000|0|0|nomon|swmeter|-|32bit
configuring for 48000Hz, period = 256 frames (5.3 ms), buffer = 2 periods
ALSA: final selected sample format for capture: 16bit little-endian
ALSA: use 2 periods for capture
ALSA: final selected sample format for playback: 16bit little-endian
ALSA: use 2 periods for playback
Re: Guitarix doesn't "catch" my Guitar's sound but Audacity does
I'm sorry for double post but now after I launched Guitarix I seem to have two additional lines in my output:
Funnily Guitarix seems to "catch" the sound of my guitar somewhat because I can see it in program's interface but no sound seems to get out of speakers. Generally no sound gets out of speakers as long as I have my Behringer interface plugged in. As soon as I plug it out I can listen to music, etc. I think it's beyond my comprehension.JackEngine::XRun: client = gx_head_fx was not finished, state = Running
JackAudioDriver::ProcessGraphAsyncMaster: Process error
-
- Established Member
- Posts: 1392
- Joined: Thu Oct 11, 2018 4:13 pm
- Has thanked: 168 times
- Been thanked: 247 times
Re: Guitarix doesn't "catch" my Guitar's sound but Audacity does
Are your speakers plugged into the Behringer?ciociosan wrote:Generally no sound gets out of speakers as long as I have my Behringer interface plugged in.