You are here

Hi to all and bug found in PadthV1

Hi to everyone, (this is my first post here) :)

First off, thanks for all the great apps, rncbc! They are really good!!

I installed the git version of PadthV1 and (almost) all seems to be working fine. However, two problems:

(I wasn't able to log in to Sourceforge to post the bugs there, so apologies if this is not the right place.)

- twice the synth locked up while playing notes and changing the values of the harmonics levels. (all works fine if I don't play notes while changing the harmonic levels)

- I got this message in the terminal once, and had to restart the synth:

SuspendRefNum error
JackClient::Execute error name = padthv1
Server is not running

However, QJackCtl was indeed still running and usable with other instruments.

Hth!

brian

Forums: 

I'm wondering then if my lockups (and off-screen GUI) are caused by a permissions issue. I'm using AntiX (Debian) and permissions are a bit more strict than on Ubuntu and others.

Here is the error I got today when saving a preset:

/usr/local/bin/padthv1_jack
SuspendRefNum error
Gtk-Message: (for origin information, set GTK_DEBUG): failed to retrieve property `GtkRange::activate-slider' of type `gboolean' from rc file value "((GString*) 0x8bdc670)" of type `GString'

And when I closed the GUI:

Server is not running
Server is not running
Server is not running
Server is not running
Server is not running
Server is not running
WARNING: 1 message buffer overruns!

Hth,
brian

rncbc's picture

having GTK messages from on a Qt application may only be attributed to the widget style as default from the DE environment in use (eg. gnome, xfce, etc.)

please go to menu Help > Configure... > Options > "Custom style theme" and choose anything else but the "(default)" or "Gtk+" for that matter ... set this style to "Fusion" which is my favorite and the one shown as of the official screenshots ;)

and while you're at it, make sure you keep "Use native desktop environment dialogs" to OFF (unchecked).

hth.
cheers

Ok, I set it to Fusion.
I have never used the "native desktop environment dialogs" box.

What I notice, is that the audio and midi connections are disconnected when I save a preset. (But I can still use the GUI and change presets.)

This is what QJackCtl reads when it disconnects:

Fri Sep 8 17:14:50 2017: Disconnecting 'a2j:MOTIF8 [24] (capture): MOTIF8 MIDI 1' from 'padthv1:in'
Fri Sep 8 17:14:50 2017: Disconnecting 'padthv1:out_1' from 'system:playback_1'
Fri Sep 8 17:14:50 2017: Disconnecting 'padthv1:out_2' from 'system:playback_2'
17:15:37.200 JACK connection change.
Fri Sep 8 17:15:37 2017: ERROR: Cannot connect ports owned by inactive clients: "padthv1" is not active
Fri Sep 8 17:15:37 2017: ERROR: Cannot connect ports owned by inactive clients: "padthv1" is not active
17:15:41.805 JACK connection change.
Fri Sep 8 17:15:41 2017: ERROR: Cannot connect ports owned by inactive clients: "padthv1" is not active

Hth...

brian

rncbc's picture

i believe your're connecting an external MIDI master keyboard (MOTIF8?) through a2j then padthv1 (ie. JACK-MIDI interface).
may I ask why not plain directly ALSA-MIDI ?
nb. JACK-MIDI is indeed recommended for inter-application MIDI connectivity, but when dealing with outboard equipment you don't have one single benefit from it, quite the contrary, may i say.
beware, remember to never connect simultaneously both ALSA-MIDI and JACK-MIDI inputs on padthv1 (or on any other v1 for that matter) as results are proverbially undefined :)
cheers

I connected the Motif through ALSA-MIDI and now when I save presets there's no lock-up! Yay! :D
Can you explain a bit more about the difference between using ALSA-MIDI and JACK-MIDI? I thought they were basically "interchangable."

I've updated the preset bank: http://linuxsynths.com/Padthv1PatchesDemos/Padthv1Presets01.tar.gz

Demos and webpage coming soon! :)

brian

PS: Feature request: legato mode when monophonic, and velocity sensitivity for the filter?

rncbc's picture

re. the difference between using ALSA-MIDI and JACK-MIDI? I thought they were basically "interchangable.

not quite or better said, there's a catch:

JACK-MIDI system builds on top of the ALSA-MIDI system so that, when dealing with external MIDI equipment to drive a terminal MIDI soft-instrument like padthv1_jack, the ALSA-MIDI interface is one direct shunt, while the JACK-MIDI will have to go through and over an extra conversion bridge eg. a2j(midid); maybe a picture is worth a thousand words:

                (MIDI/USB cable)
                       |                                 .-------.    .------------------.
 .----------------.    |    .----------------.      .--->|  a2j  |---->in  JACK-MIDI  etc.
 |     MIDI       |    V    |      ALSA      |     /     '-------'    '------------------'
 |   keyboard  out>--------->in    MIDI   out>----<
 |  (external)    |         |    (system)    |     \                  .------------------.
 '----------------'         '----------------'      `----------------->in  ALSA-MIDI  etc.
                                                                      '------------------'

re. Feature request: legato mode when monophonic, and velocity sensitivity for the filter?

while on the other V1's that share almost the same synth engine architecture, I've been thinking on implementing the legato mode over the years but unfortunately didn't come with anything pretty or kin to my liking--all are supposed to be polyphonic instruments to start with, though the current mono(phonic) mode was quite an indulgence i've made some years ago: it only does lousy *staccato* mode for the time being:)

[UPDATE:] - Mono(phonic) "Legato" mode option is now being introduced on git head master to synthv1, samplv1 and padthv1, as time of this writing; the old single "Mono" switch is now replaced by a fake-LED radio-button list: 1) "Poly" meaning normal polyphonic mode or old Mono=Off; 2) "Mono" which stands the same as old Mono=On; and finally 3) "Legato" as the special new Mono mode ;)

i'll try and keep thinking on this and on the DCF Velocity sensitivity as well, maybe for X-mas :)

stay tuned
cheers

Hi rncbc,
wow! Thanks for the new feature! And thank you for the explanation above. In the past, I always thought either MIDI connection would be fine, as some synths only work with a2jmidid and others (like Csound) are not usable if a2jmidid is enabled at start-up. So I'll need to keep this all in mind as we go forward.. :)
One quick question: as I have the git version of Padthv1 installed, what must I do to update my version to this new one with legato?

Thx!
brian

rncbc's picture

just build and install it again as usual, after a git pull or fresh git clone:

./autogen.sh clean   # only if not a fresh git clone
./autogen.sh
./configure && make && make install

hth
cheers

Thanks for the explanation. (Git has always been a bit mysterious to me. But I'm studying it a bit more now..)
I did a fresh clone (in another directory).
It's not so clear to my understanding whether the new version "erases" the first one, or if the first one remains accessible for future use, if needed. But when I ran the usual /usr/local/bin/padthv1_jack command, I noticed that I had the newest version, so that's good. :)

The legato function works fine. (If you had a second legato mode locking to the filter/amp sustain levels rather than retriggering, you could (imo) eliminate the first mono button. ...Just a thought, of course.. :) )
Thanks for adding it!

brian

rncbc's picture

maybe i have been calling it a wrong name :/

the current legato mode--which now applies to all said polyphonic v1's, not only padthv1--makes it as re-triggering or reset to the Attack stage for all EG's.

that second legato mode would make it to the Sustain stage, right? Ok, that's of course feasible... but, keeping the so called old "Mono" mode as it ever was (before and still is), what should we call this new second (legato) mode? smooth legato?

i'm sure you musicians/performers/synthesists do know better and more ;)

[EDIT:] well, i now reckon i've been a dang moron on this whole mono(phonic) mode subject: even in Wikipedia > Legato > Synthesizers section it says it all... yep, that old V1 "Mono" mode is facing the edge of extinction... better now than never ;)

[EDIT2:] and there it goes:- Mono re-triggers (resets) into Attack stage and Legato now fastens into the Sustain stage... all in git head now. OK., it's not perfect, specially on the samplv1 front, where the new "Mono" re-triggering mode should really mean it ;)

[EDIT3:] samplv1 old Mono vs. new Legato mode now fixed.

cheers

Pages

Add new comment