Guitarix doesn't "catch" my Guitar's sound but Audacity does

Still new to all of this? Feel free to post in any of the subforums on this site, but in this subforum newbie questions are especially encouraged!

Moderators: khz, MattKingUSA

ciociosan
Established Member
Posts: 7
Joined: Thu Jun 13, 2019 11:41 am

Guitarix doesn't "catch" my Guitar's sound but Audacity does

Postby ciociosan » Thu Jun 13, 2019 11:52 am

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!

User avatar
milo
Established Member
Posts: 174
Joined: Wed Sep 06, 2017 2:55 am
Location: Southern Utah, USA
Contact:

Re: Guitarix doesn't "catch" my Guitar's sound but Audacity does

Postby milo » Thu Jun 13, 2019 4:58 pm

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?

ciociosan
Established Member
Posts: 7
Joined: Thu Jun 13, 2019 11:41 am

Re: Guitarix doesn't "catch" my Guitar's sound but Audacity does

Postby ciociosan » Thu Jun 13, 2019 5:16 pm

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. :D

merlyn
Established Member
Posts: 369
Joined: Thu Oct 11, 2018 4:13 pm

Re: Guitarix doesn't "catch" my Guitar's sound but Audacity does

Postby merlyn » Thu Jun 13, 2019 7:36 pm

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.

glowrak guy
Established Member
Posts: 1314
Joined: Sat Jun 21, 2014 8:37 pm

Re: Guitarix doesn't "catch" my Guitar's sound but Audacity does

Postby glowrak guy » Thu Jun 13, 2019 11:22 pm

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!

ciociosan
Established Member
Posts: 7
Joined: Thu Jun 13, 2019 11:41 am

Re: Guitarix doesn't "catch" my Guitar's sound but Audacity does

Postby ciociosan » Sat Jun 15, 2019 6:07 pm

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.


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!

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?
You do not have the required permissions to view the files attached to this post.

ciociosan
Established Member
Posts: 7
Joined: Thu Jun 13, 2019 11:41 am

Re: Guitarix doesn't "catch" my Guitar's sound but Audacity does

Postby ciociosan » Sat Jun 15, 2019 6:12 pm

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!


Hey man - thank you for comprehensive answer!

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. :(

Musicteacher
Established Member
Posts: 167
Joined: Mon Nov 13, 2017 5:54 am

Re: Guitarix doesn't "catch" my Guitar's sound but Audacity does

Postby Musicteacher » Sun Jun 16, 2019 9:22 am

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.

ciociosan
Established Member
Posts: 7
Joined: Thu Jun 13, 2019 11:41 am

Re: Guitarix doesn't "catch" my Guitar's sound but Audacity does

Postby ciociosan » Sun Jun 16, 2019 11:14 am

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.


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? :D

Musicteacher
Established Member
Posts: 167
Joined: Mon Nov 13, 2017 5:54 am

Re: Guitarix doesn't "catch" my Guitar's sound but Audacity does

Postby Musicteacher » Sun Jun 16, 2019 1:17 pm

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).

User avatar
bluebell
Established Member
Posts: 1036
Joined: Sat Sep 15, 2012 11:44 am
Location: Saarland & Frankfurt, Germany

Re: Guitarix doesn't "catch" my Guitar's sound but Audacity does

Postby bluebell » Sun Jun 16, 2019 6:22 pm

ciociosan wrote:
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.


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? :D


hw:CODEC sounds like Behringer.

What happens when you do on the command line:

Code: Select all

jackd -dalsa -r48000 -p256 -n2 -dhw:CODEC

glowrak guy
Established Member
Posts: 1314
Joined: Sat Jun 21, 2014 8:37 pm

Re: Guitarix doesn't "catch" my Guitar's sound but Audacity does

Postby glowrak guy » Tue Jun 18, 2019 2:36 am

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

ciociosan
Established Member
Posts: 7
Joined: Thu Jun 13, 2019 11:41 am

Re: Guitarix doesn't "catch" my Guitar's sound but Audacity does

Postby ciociosan » Tue Jun 18, 2019 5:55 pm

bluebell wrote:
ciociosan wrote:
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.


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? :D


hw:CODEC sounds like Behringer.

What happens when you do on the command line:

Code: Select all

jackd -dalsa -r48000 -p256 -n2 -dhw:CODEC


I get the following output:

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

ciociosan
Established Member
Posts: 7
Joined: Thu Jun 13, 2019 11:41 am

Re: Guitarix doesn't "catch" my Guitar's sound but Audacity does

Postby ciociosan » Tue Jun 18, 2019 6:05 pm

I'm sorry for double post but now after I launched Guitarix I seem to have two additional lines in my output:

JackEngine::XRun: client = gx_head_fx was not finished, state = Running
JackAudioDriver::ProcessGraphAsyncMaster: Process error


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.

merlyn
Established Member
Posts: 369
Joined: Thu Oct 11, 2018 4:13 pm

Re: Guitarix doesn't "catch" my Guitar's sound but Audacity does

Postby merlyn » Tue Jun 18, 2019 6:13 pm

ciociosan wrote:Generally no sound gets out of speakers as long as I have my Behringer interface plugged in.

Are your speakers plugged into the Behringer?


Return to “Newbies”

Who is online

Users browsing this forum: No registered users and 1 guest