Guitarix as a plugin?

All your LV2 and LADSPA goodness and more.

Moderators: MattKingUSA, khz

tramp
Established Member
Posts: 1610
Joined: Mon Jul 01, 2013 8:13 am

Re: Guitarix as a plugin?

Post by tramp »

xaccrocheur wrote:But hey, it's a dirty hack. So yea, OK when I load my carla-exported plugin, I can acces any GX preset. But if I close the window, the sound is gone on this track.
I've just added a new command-line option to guitarix, -E --hideonquit, this replace the engine->quit menu entry with a hide entry, so instead quitting the engine and the GUI, it will now just hide the GUI. You could show it afterwards with the usual double click on the entry in the mixer strip. The same is true when you close the window with the little cross in the decoration frame.
This means guitarix could then only quitted by removing it from the mixer strip, like any other plug.
One special I added is, that guitarix will now save it's settings, when ever you hide the GUI.
xaccrocheur wrote: Also, when saving and reloading the session, no sound on the track. I have to fiddle something, i'm not sure what, to get my sound back. Oh, and when I export the track in qtractor, sometimes I get no guitar, too.
I noticed that sometimes the state could be undefined, that is as well, at least I can't reproduce it any-more, solved with the above implementation.

So after update, it should be enough to open the file ~/.lv2/guitarix2.lv2/guitarix.xml with a text editor and replace the line

Code: Select all

   <Filename>guitarix -D</Filename>
with

Code: Select all

   <Filename>guitarix -D -E</Filename>
to make your experience a bit more smooth.


regards
hermann
On the road again.

User avatar
xaccrocheur
Established Member
Posts: 54
Joined: Wed Jul 24, 2013 10:15 am
Contact:

Re: Guitarix as a plugin?

Post by xaccrocheur »

tramp wrote:
So after update, it should be enough to open the file ~/.lv2/guitarix2.lv2/guitarix.xml with a text editor and replace the line

Code: Select all

   <Filename>guitarix -D</Filename>
with

Code: Select all

   <Filename>guitarix -D -E</Filename>
to make your experience a bit more smooth.

regards
hermann
Duly noted ; thanks a lot, sir.

PS - Quick guitar test

User avatar
xaccrocheur
Established Member
Posts: 54
Joined: Wed Jul 24, 2013 10:15 am
Contact:

Re: Guitarix as a plugin?

Post by xaccrocheur »

Hum, this morning, everything is broken: My exported plugin won't produce any sound or open on click, and even carla (updated an hour ago in the last KXStudio update) won't open (the plugin window opens but the GUI won't show up - Qtractor 0.9.1 in i3wm 4.14.1) :(

Let's try another approach :

Using the gx-prefixed slew of plugins, how would I go and re-create the "funkMuscle / MarsMesa" preset?

When opened in plain guitarix, what it shows is:

- Noise gate
- Tonestack

... And that seems to be it ; Here are all the gx* LV2 plugins installed on this system:

Code: Select all

http://guitarix.sourceforge.net/plugins/gx_AxisFace_#_AxisFace_
http://guitarix.sourceforge.net/plugins/gx_DOP250_#_DOP250_
http://guitarix.sourceforge.net/plugins/gx_Heathkit_#_Heathkit_
http://guitarix.sourceforge.net/plugins/gx_KnightFuzz_#_KnightFuzz_
http://guitarix.sourceforge.net/plugins/gx_MicroAmp_#_MicroAmp_
http://guitarix.sourceforge.net/plugins/gx_SunFace_#_SunFace_
http://guitarix.sourceforge.net/plugins/gx_TubeDistortion_#_TubeDistortion_
http://guitarix.sourceforge.net/plugins/gx_aclipper_#_aclipper_
http://guitarix.sourceforge.net/plugins/gx_alembic#alembic
http://guitarix.sourceforge.net/plugins/gx_amp#GUITARIX
http://guitarix.sourceforge.net/plugins/gx_amp_stereo#GUITARIX_ST
http://guitarix.sourceforge.net/plugins/gx_ampegsvt_#_ampegsvt_
http://guitarix.sourceforge.net/plugins/gx_barkgraphiceq_#_barkgraphiceq_
http://guitarix.sourceforge.net/plugins/gx_bmp_#_bmp_
http://guitarix.sourceforge.net/plugins/gx_bossds1_#_bossds1_
http://guitarix.sourceforge.net/plugins/gx_bottlerocket_#_bottlerocket_
http://guitarix.sourceforge.net/plugins/gx_cabinet#CABINET
http://guitarix.sourceforge.net/plugins/gx_chorus_stereo#_chorus_stereo
http://guitarix.sourceforge.net/plugins/gx_colwah_#_colwah_
http://guitarix.sourceforge.net/plugins/gx_compressor#_compressor
http://guitarix.sourceforge.net/plugins/gx_cstb_#_cstb_
http://guitarix.sourceforge.net/plugins/gx_delay_stereo#_delay_stereo
http://guitarix.sourceforge.net/plugins/gx_detune_#_detune_
http://guitarix.sourceforge.net/plugins/gx_digital_delay_#_digital_delay_
http://guitarix.sourceforge.net/plugins/gx_digital_delay_st_#_digital_delay_st_
http://guitarix.sourceforge.net/plugins/gx_duck_delay_#_duck_delay_
http://guitarix.sourceforge.net/plugins/gx_duck_delay_st_#_duck_delay_st_
http://guitarix.sourceforge.net/plugins/gx_echo_stereo#_echo_stereo
http://guitarix.sourceforge.net/plugins/gx_expander#_expander
http://guitarix.sourceforge.net/plugins/gx_flanger#_flanger
http://guitarix.sourceforge.net/plugins/gx_fumaster_#_fumaster_
http://guitarix.sourceforge.net/plugins/gx_fuzz_#fuzz_
http://guitarix.sourceforge.net/plugins/gx_fuzzface_#_fuzzface_
http://guitarix.sourceforge.net/plugins/gx_fuzzfacefm_#_fuzzfacefm_
http://guitarix.sourceforge.net/plugins/gx_gcb_95_#_gcb_95_
http://guitarix.sourceforge.net/plugins/gx_graphiceq_#_graphiceq_
http://guitarix.sourceforge.net/plugins/gx_guvnor_#_guvnor_
http://guitarix.sourceforge.net/plugins/gx_hfb_#_hfb_
http://guitarix.sourceforge.net/plugins/gx_hogsfoot_#_hogsfoot_
http://guitarix.sourceforge.net/plugins/gx_hornet_#_hornet_
http://guitarix.sourceforge.net/plugins/gx_hotbox_#_hotbox_
http://guitarix.sourceforge.net/plugins/gx_hyperion_#_hyperion_
http://guitarix.sourceforge.net/plugins/gx_jcm800pre_#_jcm800pre_
http://guitarix.sourceforge.net/plugins/gx_jcm800pre_st#_jcm800pre_st
http://guitarix.sourceforge.net/plugins/gx_liquiddrive_#_liquiddrive_
http://guitarix.sourceforge.net/plugins/gx_livelooper_#_livelooper_
http://guitarix.sourceforge.net/plugins/gx_maestro_fz1b_#_maestro_fz1b_
http://guitarix.sourceforge.net/plugins/gx_maestro_fz1s_#_maestro_fz1s_
http://guitarix.sourceforge.net/plugins/gx_mbcompressor_#_mbcompressor_
http://guitarix.sourceforge.net/plugins/gx_mbdelay_#_mbdelay_
http://guitarix.sourceforge.net/plugins/gx_mbdistortion_#_mbdistortion_
http://guitarix.sourceforge.net/plugins/gx_mbecho_#_mbecho_
http://guitarix.sourceforge.net/plugins/gx_mbreverb_#_mbreverb_
http://guitarix.sourceforge.net/plugins/gx_mole_#_mole_
http://guitarix.sourceforge.net/plugins/gx_muff_#_muff_
http://guitarix.sourceforge.net/plugins/gx_mxrdist_#_mxrdist_
http://guitarix.sourceforge.net/plugins/gx_oc_2_#_oc_2_
http://guitarix.sourceforge.net/plugins/gx_phaser#_phaser
http://guitarix.sourceforge.net/plugins/gx_quack_#_quack_
http://guitarix.sourceforge.net/plugins/gx_rangem_#_rangem_
http://guitarix.sourceforge.net/plugins/gx_redeye#bigchump
http://guitarix.sourceforge.net/plugins/gx_redeye#chump
http://guitarix.sourceforge.net/plugins/gx_redeye#vibrochump
http://guitarix.sourceforge.net/plugins/gx_reverb_stereo#_reverb_stereo
http://guitarix.sourceforge.net/plugins/gx_room_simulator_#_room_simulator_
http://guitarix.sourceforge.net/plugins/gx_saturate_#_saturate_
http://guitarix.sourceforge.net/plugins/gx_scream_#_scream_
http://guitarix.sourceforge.net/plugins/gx_sd1sim_#_sd1sim_
http://guitarix.sourceforge.net/plugins/gx_sd2lead_#_sd2lead_
http://guitarix.sourceforge.net/plugins/gx_sfp_#_sfp_
http://guitarix.sourceforge.net/plugins/gx_shimmizita_#_shimmizita_
http://guitarix.sourceforge.net/plugins/gx_slowgear_#_slowgear_
http://guitarix.sourceforge.net/plugins/gx_studiopre#studiopre
http://guitarix.sourceforge.net/plugins/gx_studiopre_st#studiopre_st
http://guitarix.sourceforge.net/plugins/gx_susta_#_susta_
http://guitarix.sourceforge.net/plugins/gx_switched_tremolo_#_switched_tremolo_
http://guitarix.sourceforge.net/plugins/gx_tonemachine_#_tonemachine_
http://guitarix.sourceforge.net/plugins/gx_tremolo#_tremolo
http://guitarix.sourceforge.net/plugins/gx_uvox_#_uvox_
http://guitarix.sourceforge.net/plugins/gx_vfm_#_vfm_
http://guitarix.sourceforge.net/plugins/gx_vibe_#_vibe_
http://guitarix.sourceforge.net/plugins/gx_vibe_#_vibe_mono
http://guitarix.sourceforge.net/plugins/gx_vmk2d_#_vmk2d_
http://guitarix.sourceforge.net/plugins/gx_voodoo_#_voodoo_
http://guitarix.sourceforge.net/plugins/gx_voxbass_#_voxbass_
http://guitarix.sourceforge.net/plugins/gx_voxtb_#_voxtb_
http://guitarix.sourceforge.net/plugins/gx_vstb_#_vstb_
http://guitarix.sourceforge.net/plugins/gx_w20#w20
http://guitarix.sourceforge.net/plugins/gx_zita_rev1_stereo#_zita_rev1_stereo
http://guitarix.sourceforge.net/plugins/gxautowah#autowah
http://guitarix.sourceforge.net/plugins/gxautowah#wah
http://guitarix.sourceforge.net/plugins/gxbooster#booster
http://guitarix.sourceforge.net/plugins/gxechocat#echocat
http://guitarix.sourceforge.net/plugins/gxmetal_amp#metal_amp
http://guitarix.sourceforge.net/plugins/gxmetal_head#metal_head
http://guitarix.sourceforge.net/plugins/gxtape#tape
http://guitarix.sourceforge.net/plugins/gxtape_st#tape
http://guitarix.sourceforge.net/plugins/gxtilttone#tilttone
http://guitarix.sourceforge.net/plugins/gxts9#ts9sim
http://guitarix.sourceforge.net/plugins/gxtubedelay#tubedelay
http://guitarix.sourceforge.net/plugins/gxtubetremelo#tubetremelo
http://guitarix.sourceforge.net/plugins/gxtubevibrato#tubevibrato
http://guitarix.sourceforge.net/plugins/gxtuner#tuner
Now where is this "Tonestack module"? Heck, I can't even find the noise gate :p

EDIT : I think the "Tone Stack" could be "GxAmplifier-X" (URI http://guitarix.sourceforge.net/plugins/gx_amp#GUITARIX) right? It sounds really good anyway :)

pedrobotero
Established Member
Posts: 19
Joined: Thu Oct 18, 2018 10:08 pm

Re: Guitarix as a plugin?

Post by pedrobotero »

tramp wrote:Hi, and welcome to linux! :)

Well, it is possible, but it requires some work to be done.
At first, you need carla, from the KxStudio repository, for the case you haven't already enabled the KxStudio repositories, check out here how to do it:
http://kxstudio.linuxaudio.org/Repositories

After enabled you need to install carla, as best just install all related carla packages.

Then, start carla and select from the top bar "add jack application". In the popup window insert as
Name: guitarix
Command : guitarix
set
Audio Inputs to 2 (this is needed because carla-rack could only load plugins with equal in/output ports)
enable "use previus client output buffer as input for next client"
and press ok.

Now you've loaded guitarix in carla. Next step is to export as LV2 plugin. In the Rack view, make a right click on the Guitarix Rack, select "export as LV2 plugin", give it a name and be done.
After that, you need to copy the newly created folder from (properly your home directory, to the hidden folder ~/.lv2.
When done you must rescan the plugins in Carla.
After all this you could start tracktion and insert Carla-RackFX, which is a vst-plugin(host). Then you could load guitarix inside Carla-RackFX as LV2 plugin with the "add Plugin" button.
Now you've Guitarix as plugin in Tracktion.

Here is the Ultimate Guide to Getting Started With Guitarix
Hi,
Sorry for my bad english...

where is the "add jack application" on carla?
when I open carla I don't see that option on the top bar

I paste screenshot:
Image
Image

Regards!


Hi, edit!

I found a solution in youtube

https://www.youtube.com/watch?v=bRrC42D5i4E

tramp
Established Member
Posts: 1610
Joined: Mon Jul 01, 2013 8:13 am

Re: Guitarix as a plugin?

Post by tramp »

pedrobotero wrote:where is the "add jack application" on carla?
when I open carla I don't see that option on the top bar
You need to go to Settings -> Configure Carla
In the Settings widget select Experimental, tick "Enable jack applications" and "Export single plugins to LV2"

Close the widget and the new shiny Add Jack application button will appear in the top bar.

regards
hermann
On the road again.

pedrobotero
Established Member
Posts: 19
Joined: Thu Oct 18, 2018 10:08 pm

Re: Guitarix as a plugin?

Post by pedrobotero »

tramp wrote:
pedrobotero wrote:where is the "add jack application" on carla?
when I open carla I don't see that option on the top bar
You need to go to Settings -> Configure Carla
In the Settings widget select Experimental, tick "Enable jack applications" and "Export single plugins to LV2"

Close the widget and the new shiny Add Jack application button will appear in the top bar.

regards
hermann

Thanks!!!
Regards

User avatar
AlexTheBassist
Established Member
Posts: 353
Joined: Mon May 19, 2014 3:44 am
Location: Russia, Moscow

Re: Guitarix as a plugin?

Post by AlexTheBassist »

tramp wrote:
lilith wrote: Mabye using the gx lv2 plugins will be easier under the line
I guess it depend on what you are used to use. If you are familiar with guitarix and have your preset banks set up, it may come handy to use them as

Not really, as some “warmers” from Guitarix that I like aren't present as LV2s. ColorSound Overdrive, for instance, is available only inside Guitarix, and though building it as LV2 gives a result, it isn't functional both in Carla and Ardour. It doesn't load in Ardour and loads in Carla, but mutes JACK until its restart.
Being creative does not imply being lazy, stupid, or illiterate.

Working in Harrison Mixbus and Ardour on KDE Neon + KXStudio.

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

Re: Guitarix as a plugin?

Post by Musicteacher »

Hi,

I am experimenting with this (Guitarix inside Carla, Guitarix exported as LV2 plugin by carla).

Guitarix starts in the state in which I left it when I put it in Carla. If I change something (select a preset, for instance), this is not saved.

Is there a possibility to save state (and to keep different state for more than one guitarix instance)?

I would like (optimum solution) to use Guitarix (complete, not the single plugins) as a plugin in QTractor, I would like more than one instance. Each instance should start in the state in which I left it when I saved my QTractor document. This would be ideal. If this is not possible, a workaround is welcome, too!

I want to use this in a live-setup, and I would like to change settings for the whole band at once, that's what it's for.

Thank you + regards,

Andreas

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

Re: Guitarix as a plugin?

Post by Musicteacher »

I have experimented a bit more. It seems that non session manager is capable of saving guitarix state, so I will use that, as (at the moment) it is for live usage anyway.

Also this might be useful for the recording situation if you use Guitarix as a standalone app, not a plugin. You can define a session in non session manager for each file you record.

Still, using the complete guitarix as a plugin and save the state of the plugin together with the file in your recording software would be cool, too. So if anyone has a hint on how to do that, it would still be very welcome.

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

Re: Guitarix as a plugin?

Post by Musicteacher »

Hi,
sorry for bumping. I still had no success in using Guitarix as a plugin (exported by carla) with saving state.

If I start guitarix from the console I can keep different states by using the -f Mystatefile option.

But (contrary to what @Tramp indicated ) the state is not saved when used as a plugin. I had hoped that this would work for each instance separately.

Does this work for anyone? Maybe I am doing something wrong.

The alternative is to write a script which starts several Instances of guitarix with different state files. But then I would have to write (or modify) a script for each song.

Thanks,

Andreas

User avatar
lilith
Established Member
Posts: 1295
Joined: Fri May 27, 2016 11:41 pm
Location: bLACK fOREST
Contact:

Re: Guitarix as a plugin?

Post by lilith »

As I understood you have to export 3 versions of the plugin if you want to use 3 different presets / settings in a song.

It's described here: viewtopic.php?t=18280&start=15#p94835

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

Re: Guitarix as a plugin?

Post by Musicteacher »

Thank you. That's exactly was I did.

But if I insert a plugin that was generated as described in QTractor, it starts with no preset + no effects each time.

I have experimentet with the -f parameter in the plugin-xml. It seems that saving state does not occur at all when used this way as a plugin.

Normally Guitarix saves state when the program is closed, maybe QTractor closes it by killing hard, so it cannot save state. I don't know.

If someone has a working setup, this would indicate that I am doing something wrong. Then I would investigate further.

Thanks,
Andreas

User avatar
lilith
Established Member
Posts: 1295
Joined: Fri May 27, 2016 11:41 pm
Location: bLACK fOREST
Contact:

Re: Guitarix as a plugin?

Post by lilith »

I just did test it here and it's working with Qtractor. The Plugin comes up with the old parameters.

The xml file looks like:

Code: Select all

<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE CARLA-PRESET>
<CARLA-PRESET VERSION='2.0'>
  <Info>
   <Type>JACK</Type>
   <Name>guitarix_Right</Name>
   <Filename>guitarix -D -n Right</Filename>
   <Setup>220001</Setup>
  </Info>

  <Data>
   <Active>Yes</Active>
   <ControlChannel>1</ControlChannel>
   <Options>0x0</Options>
  </Data>
</CARLA-PRESET>

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

Re: Guitarix as a plugin?

Post by Musicteacher »

Interesting. My xml file looks exactly the same (it had the -f parameter in it, but I removed it to resemble yours).

It does not work. Guitarix starts with no preset. The effects are those that were present when guitarix was last started in standalone mode.

Could you please post me the exact version number of Carla, Guitarix and QTractor you are using?

Thanks,
Andreas

User avatar
lilith
Established Member
Posts: 1295
Joined: Fri May 27, 2016 11:41 pm
Location: bLACK fOREST
Contact:

Re: Guitarix as a plugin?

Post by lilith »

Hmm.. I tested if my own settings are recalled which is the case. When loading presets I get errors like the following in Qtractor and in Ardour. This didn't happen in the past.

Code: Select all

[22:58:24]  loaded state  ***  from file /home/marco/.config/guitarix/Right_rc
[22:58:24]  Jack init  ***  The jack sample rate is 48000/sec
[22:58:24]  Jack init  ***  The jack buffer size is 528/frames is not power of two, Convolver wont run
[22:58:26]  read parameter  ***  parameter tremolo.SINE: unknown enum value: triangle
[22:58:26]  loaded preset  ***  clean_clean from file /usr/share/gx_head/factorysettings/Sonnie_Tele.gx
[22:58:26]  convolver  ***  error in Convproc::configure
[22:58:26]  convolver  ***  error in Convproc::configure
[22:58:30]  read parameter  ***  parameter tremolo.SINE: unknown enum value: triangle
[22:58:30]  loaded preset  ***  brett_flat_saw from file /usr/share/gx_head/factorysettings/Sonnie_Tele.gx
[22:58:30]  convolver  ***  error in Convproc::configure
[22:58:32]  read parameter  ***  parameter tremolo.SINE: unknown enum value: triangle
[22:58:32]  loaded preset  ***  crunch_picking from file /usr/share/gx_head/factorysettings/Sonnie_Tele.gx
[22:58:32]  convolver  ***  error in Convproc::configure
[22:58:33]  read parameter  ***  parameter tremolo.SINE: unknown enum value: triangle
[22:58:33]  loaded preset  ***  bass_finger_dist from file /usr/share/gx_head/factorysettings/Sonnie_Tele.gx
[22:58:33]  convolver  ***  error in Convproc::configure
[22:58:33]  convolver  ***  error in Convproc::configure
[22:58:35]  read parameter  ***  parameter tremolo.SINE: unknown enum value: triangle
[22:58:35]  loaded preset  ***  Bass_finger_clean from file /usr/share/gx_head/factorysettings/Sonnie_Tele.gx
[22:58:35]  convolver  ***  error in Convproc::configure
[22:58:35]  convolver  ***  error in Convproc::configure
[22:58:37]  read parameter  ***  parameter tremolo.SINE: unknown enum value: triangle
[22:58:37]  loaded preset  ***  clean_clean from file /usr/share/gx_head/factorysettings/Sonnie_Tele.gx
[22:58:37]  convolver  ***  error in Convproc::configure
[22:58:37]  convolver  ***  error in Convproc::configure
[22:58:50]  read parameter  ***  parameter tremolo.SINE: unknown enum value: triangle
[22:58:50]  loaded preset  ***  brett_flat_saw from file /usr/share/gx_head/factorysettings/Sonnie_Tele.gx
[22:58:50]  convolver  ***  error in Convproc::configure
[22:58:57]  read parameter  ***  parameter tremolo.SINE: unknown enum value: triangle
[22:58:57]  loaded preset  ***  brett_jcm from file /usr/share/gx_head/factorysettings/Sonnie_Tele.gx
[22:58:57]  convolver  ***  error in Convproc::configure

Code: Select all

marco@fox:~$ carla --version
Using Carla version 1.9.12 (2.0-RC2)
  Python version: 3.5.3
  Qt version:     5.7.1
  PyQt version:   5.7
  Binary dir:     /usr/lib/carla
  Resources dir:  /usr/share/carla/resources

Code: Select all

marco@fox:~$ guitarix  --version
Guitarix version 0.37.2git
   Copyright @ 2010 Hermman Meyer - James Warden - Andreas Degert

Code: Select all

marco@fox:~$ qtractor  --version
Qt: 5.7.1
Qtractor: 0.9.1.5git.aebd7a

Post Reply