New GxValveCaster.lv2

All your LV2 and LADSPA goodness and more.

Moderators: MattKingUSA, khz

tramp
Established Member
Posts: 2335
Joined: Mon Jul 01, 2013 8:13 am
Has thanked: 9 times
Been thanked: 454 times

New GxValveCaster.lv2

Post by tramp »

Hi

I've pushed a new Lv2 plug to github, the GxValveCaster:
Image

It's a little tube boost pedal simulation. It adds some overdrive and tube compression along with boosting the signal.
This one is the perfect pre-processor to drive the GxCreamMachine a bit harder. :mrgreen:

https://github.com/brummer10/GxValveCaster.lv2
On the road again.
User avatar
AlexTheBassist
Established Member
Posts: 353
Joined: Mon May 19, 2014 3:44 am
Location: Russia, Moscow
Been thanked: 1 time

Re: New GxValveCaster.lv2

Post by AlexTheBassist »

I liked the sound, it's probably the best tube driver on Linux for this moment. But there's a bug: knobs react only to mouse wheel, but not to dragging them.
Being creative does not imply being lazy, stupid, or illiterate.

Working in Harrison Mixbus and Ardour on KDE Neon + KXStudio.
tramp
Established Member
Posts: 2335
Joined: Mon Jul 01, 2013 8:13 am
Has thanked: 9 times
Been thanked: 454 times

Re: New GxValveCaster.lv2

Post by tramp »

AlexTheBassist wrote:I liked the sound, it's probably the best tube driver on Linux for this moment. But there's a bug: knobs react only to mouse wheel, but not to dragging them.
Glade you like the sound.

mmm, works here as expected, tried in carla, mixbus, qtractor and jalv.

When you click with the left mouse-button on a knob, it should show the value on the knob and lighten up the label below the knob. This shows that a controller is active. Now, when you move the mouse up and down the controller should react accordingly. It ain't react on left/right movement.
It is controllable from the keyboard (tab (+shift for backwards) to select and up/down or left/right to move) as well, just, it seems that ardour/mixbus ain't forward this events to the plugin, so it only works in carla, qtractor and jalv.

Which host do you use?
On the road again.
User avatar
Loki Harfagr
Established Member
Posts: 268
Joined: Thu Aug 02, 2018 1:28 pm
Has thanked: 151 times
Been thanked: 53 times

Re: New GxValveCaster.lv2

Post by Loki Harfagr »

AlexTheBassist wrote:I liked the sound, it's probably the best tube driver on Linux for this moment. But there's a bug: knobs react only to mouse wheel, but not to dragging them.
Same problem here for me, I only tested with Jalv and Carla (2.0RC2) as host.
Distro is Slackware 14.2 multilib (and a bunch of extra libs :D) from SlackBuilds or locally made)

The mouse wheel works on the knobs, the "value" appears when clicked or wheeled but neither the mouse dragging nor any combination of keys does anything.

Though, the sound is splendid :)
tramp
Established Member
Posts: 2335
Joined: Mon Jul 01, 2013 8:13 am
Has thanked: 9 times
Been thanked: 454 times

Re: New GxValveCaster.lv2

Post by tramp »

Loki Harfagr wrote:Same problem here for me, I only tested with Jalv and Carla (2.0RC2) as host.
mm, really strange.
As it works here without issues, I don't really know were to start debugging this.

Do one of yours have checked out the GxPlugins.lv2 or the GxCreamMachine.lv2, and if so, do they've the same issue?

If I prepare a debug source, would one of you be willing to build and run it, and send me the output?
On the road again.
carlv
Established Member
Posts: 278
Joined: Tue Jul 12, 2016 6:10 pm
Has thanked: 32 times
Been thanked: 38 times

Re: New GxValveCaster.lv2

Post by carlv »

1stly. Much love for both the ValveCaster and Reverse Delay.
Thanks !
I'll just to add another 2 cents with the other's reports, i have the same behaviour (scroll wheel control only in particular) on this end, too. Both in Ardour and Mixbus. Sessions both old and new. It also seems to have a global effect on all instances of the other Gx plugins Rat, Screamer, SVT etc... they 'now' exhibit that same behaviour as well.

If it helps, i noticed this happening after installing and running the latest GxPlugins.lv2 package release...v0.5...
tramp
Established Member
Posts: 2335
Joined: Mon Jul 01, 2013 8:13 am
Has thanked: 9 times
Been thanked: 454 times

Re: New GxValveCaster.lv2

Post by tramp »

carlv wrote:If it helps, i noticed this happening after installing and running the latest GxPlugins.lv2 package release...v0.5...
Yes, that's were I switched to use plain X11 interfaces instead GTK based.

Which desktop manager do you use?
On the road again.
tramp
Established Member
Posts: 2335
Joined: Mon Jul 01, 2013 8:13 am
Has thanked: 9 times
Been thanked: 454 times

Re: New GxValveCaster.lv2

Post by tramp »

So I've pushed a new version to github, this one could be build for debugging purpose.
Simply run

Code: Select all

make debug
run the debug build in jalv via terminal. try to move a knob and paste the output here (or paste it to pastebin and give the link)

You could rebuild for normal use with simple make command.

I'm eager to find out what goes wrong here. :)
On the road again.
User avatar
Loki Harfagr
Established Member
Posts: 268
Joined: Thu Aug 02, 2018 1:28 pm
Has thanked: 151 times
Been thanked: 53 times

Re: New GxValveCaster.lv2

Post by Loki Harfagr »

tramp wrote:So I've pushed a new version to github, this one could be build for debugging purpose.
Simply run

Code: Select all

make debug
run the debug build in jalv via terminal. try to move a knob and paste the output here (or paste it to pastebin and give the link)

You could rebuild for normal use with simple make command.

I'm eager to find out what goes wrong here. :)

Here it goes, done using Jalv.qt4 but it goes the same with jalv.gtk, just tried the left click then move the "gain" button, seems the move is "well seen" but the value still doesn't update!?

Code: Select all

------------
Comm buffers: 524288 bytes
Update rate:  25.0 Hz

Button 1 pressed 
Button1_event 
get_active_ctl_num 1 
Button1_event set start value 0.500000 
mouse move from 68 to 68  
mouse move from 68 to 67  
mous/usr/bin/JALVe move from 68 to 65  
mouse move from 68 to 63  
mouse move from 68 to 61  
mouse move from 68 to 59  
mouse move from 68 to 58  
mouse move from 68 to 57  
mouse move from 68 to 54  
mouse move from 68 to 53  
mouse move from 68 to 51  
mouse move from 68 to 49  
mouse move from 68 to 47  
mouse move from 68 to 45  
mouse move from 68 to 43  
mouse move from 68 to 41  
mouse move from 68 to 37  
mouse move from 68 to 35  
mouse move from 68 to 31  
mouse move from 68 to 26  
mouse move from 68 to 22  
mouse move from 68 to 20  
mouse move from 68 to 16  
mouse move from 68 to 10  
mouse move from 68 to 6  
mouse move from 68 to 4  
mouse move from 68 to -3  
mouse move from 68 to -5  
mouse move from 68 to -10  
mouse move from 68 to -17  
mouse move from 68 to -19  
mouse move from 68 to -22  
mouse move from 68 to -25  
mouse move from 68 to -29  
mouse move from 68 to -31  
mouse move from 68 to -35  
mouse move from 68 to -39  
mouse move from 68 to -42  
mouse move from 68 to -47  
mouse move from 68 to -50  
mouse move from 68 to -52  
mouse move from 68 to -54  
mouse move from 68 to -56  
mouse move from 68 to -58  
mouse move from 68 to -60  
mouse move from 68 to -62  
mouse move from 68 to -64  
mouse move from 68 to -66  
mouse move from 68 to -67  
mouse move from 68 to -70  
mouse move from 68 to -72  
mouse move from 68 to -75  
mouse move from 68 to -78  
mouse move from 68 to -82  
mouse move from 68 to -84  
mouse move from 68 to -88  
mouse move from 68 to -93  
mouse move from 68 to -97  
mouse move from 68 to -99  
mouse move from 68 to -103  
mouse move from 68 to -106  
mouse move from 68 to -110  
mouse move from 68 to -114  
mouse move from 68 to -118  
mouse move from 68 to -120  
mouse move from 68 to -124  
mouse move from 68 to -126  
mouse move from 68 to -130  
mouse move from 68 to -134  
mouse move from 68 to -137  
mouse move from 68 to -141  
mouse move from 68 to -143  
mouse move from 68 to -145  
mouse move from 68 to -149  
mouse move from 68 to -151  
mouse move from 68 to -155  
mouse move from 68 to -162  
mouse move from 68 to -166  
mouse move from 68 to -169  
mouse move from 68 to -171  
mouse move from 68 to -175  
mouse move from 68 to -177  
mouse move from 68 to -181  
mouse move from 68 to -183  
mouse move from 68 to -185  
mouse move from 68 to -187  
mouse move from 68 to -189  
mouse move from 68 to -191  
mouse move from 68 to -193  
mouse move from 68 to -195  
mouse move from 68 to -197  
mouse move from 68 to -199  
mouse move from 68 to -200  
mouse move from 68 to -201  
mouse move from 68 to -203  
mouse move from 68 to -205  
mouse move from 68 to -207  
mouse move from 68 to -209  
mouse move from 68 to -212  
mouse move from 68 to -213  
mouse move from 68 to -215  
mouse move from 68 to -217  
mouse move from 68 to -219  
mouse move from 68 to -223  
mouse move from 68 to -228  
mouse move from 68 to -235  
mouse move from 68 to -240  
mouse move from 68 to -247  
mouse move from 68 to -252  
mouse move from 68 to -257  
mouse move from 68 to -261  
mouse move from 68 to -269  
mouse move from 68 to -271  
mouse move from 68 to -273  
mouse move from 68 to -275  
Exiting...
Plugin:       http://guitarix.sourceforge.net/plugins/gx_valvecaster_#_valvecaster_
JACK Name:    GxValveCaster
Sample rate:  48000 Hz
Block length: 256 frames
MIDI buffers: 32768 bytes
JACK Name:    GxValveCaster
BYPASS = 1.000000
GAIN   = 0.500000
TONE   = 0.500000
VOLUME = 0.500000
Unknown error...
terminate called after throwing an instance of 'Jack::JackTemporaryException'
  what():  
tramp
Established Member
Posts: 2335
Joined: Mon Jul 01, 2013 8:13 am
Has thanked: 9 times
Been thanked: 454 times

Re: New GxValveCaster.lv2

Post by tramp »

Hi Loki

Many thanks, well I see now were it hangs and I believe I could fix it.
I've pushed again a new version, could you try it and report back?
For the case it works now, could you press then the tab, shift+tab, up and down key's, in order to check why the keycodes ain't work?

regards
hermann
On the road again.
User avatar
Loki Harfagr
Established Member
Posts: 268
Joined: Thu Aug 02, 2018 1:28 pm
Has thanked: 151 times
Been thanked: 53 times

Re: New GxValveCaster.lv2

Post by Loki Harfagr »

tramp wrote:Hi Loki

Many thanks, well I see now were it hangs and I believe I could fix it.
I've pushed again a new version, could you try it and report back?
For the case it works now, could you press then the tab, shift+tab, up and down key's, in order to check why the keycodes ain't work?

regards
hermann
Good catch!

The mouse sag is now repaired, all moves are OK on every button :)

Then, the debug test with the keys, I mouse left clicked once in the middle of the plugin panel (so get sure that I was actually using the keys on the correct process!) and then only used these exact keys: Tab, ShiftTab, UpArrow, DownArrow.
Nothing seems to log! :

Code: Select all

-----------
Comm buffers: 524288 bytes
Update rate:  25.0 Hz

JACK Name:    GxValveCaster
BYPASS = 1.000000
GAIN   = 0.500000
TONE   = 0.500000
VOLUME = 0.500000
Button 1 pressed 
Button1_event 
Exiting...
tramp
Established Member
Posts: 2335
Joined: Mon Jul 01, 2013 8:13 am
Has thanked: 9 times
Been thanked: 454 times

Re: New GxValveCaster.lv2

Post by tramp »

Loki Harfagr wrote:Good catch!

The mouse sag is now repaired, all moves are OK on every button :)
Nice, that's good, now I could fix that for all the GxPlugins. :)
Loki Harfagr wrote:Then, the debug test with the keys, I mouse left clicked once in the middle of the plugin panel (so get sure that I was actually using the keys on the correct process!) and then only used these exact keys: Tab, ShiftTab, UpArrow, DownArrow.
Nothing seems to log! :
That's bad, means that keypress events ain't reach the ValveCaster GUI.
May I ask which desktop/window manager you use?
On the road again.
carlv
Established Member
Posts: 278
Joined: Tue Jul 12, 2016 6:10 pm
Has thanked: 32 times
Been thanked: 38 times

Re: New GxValveCaster.lv2

Post by carlv »

tramp wrote:[quote="... which desktop/window manager you use?
Ubuntu 18.04 GNOME/Nautilus on this end.
User avatar
Loki Harfagr
Established Member
Posts: 268
Joined: Thu Aug 02, 2018 1:28 pm
Has thanked: 151 times
Been thanked: 53 times

Re: New GxValveCaster.lv2

Post by Loki Harfagr »

tramp wrote: That's bad, means that keypress events ain't reach the ValveCaster GUI.
May I ask which desktop/window manager you use?
I use Fluxbox (version 1.3.7) and I just checked with 'xev' that these Tabs and arrows keys are not captured by the DE and are indeed seen by xev as actual and recognized keys, curiouser and curiouser ;)

Edit: Just in case it'd may help to debug since it uses a quite similar though different recog scheme, I tested this short example of X GL example program and it recognized the keys just fine:
https://www.khronos.org/opengl/wiki/Pro ... X_and_Xlib
tramp
Established Member
Posts: 2335
Joined: Mon Jul 01, 2013 8:13 am
Has thanked: 9 times
Been thanked: 454 times

Re: New GxValveCaster.lv2

Post by tramp »

Loki Harfagr wrote:Edit: Just in case it'd may help to debug since it uses a quite similar though different recog scheme, I tested this short example of X GL example program and it recognized the keys just fine:
Yes, really strange, the only difference seems to be the use of OpneGL (which ain't should have a impact on the event loop), and, that the window open direct on the root window ( the desktop), while a LV2 window, open in a window provided by the host ( child window).
If you are willing to do some more experience, you may check out my knobmake project, and check if keyboard events get fetched there. Don't mind the mouse move bug, it still is there as well, just to see if the keypress event get fetched there.
https://github.com/brummer10/knobmake

It'll provide a little Xwindow with a knob, that's all-

I'll install fluxbox (seems to me more lighter to install then gnome) and check out the results here.
I'm myself using cinnamon on debian/sid right now.
On the road again.
Post Reply