ycollet / psi-plugins

A repository for LV2 psi-plugins from bsjones
GNU General Public License v2.0
9 stars 0 forks source link

super welle working ? #3

Open trebmuh opened 4 years ago

trebmuh commented 4 years ago

@ycollet il fonctionne chez toi?

ycollet commented 4 years ago

Je testerai ce week-end et je te tiens au courant.

trebmuh commented 4 years ago

ok

SpotlightKid commented 4 years ago

I get this, when I try to load super welle:

$ jalv.gtk http://bjones.it/psi-plugins/super_welle
Plugin:       http://bjones.it/psi-plugins/super_welle
UI:           http://bjones.it/psi-plugins/super_welle/ui
JACK Name:    Super Welle
Sample rate:  48000 Hz
Block length: 256 frames
MIDI buffers: 32768 bytes
Comm buffers: 32768 bytes
Update rate:  25,0 Hz
lilv_lib_open(): error: Failed to open library /home/chris/.lv2/super_welle-psi.lv2/super_welle.so (/home/chris/.lv2/super_welle-psi.lv2/super_welle.so: undefined symbol: bl_freq)
Failed to instantiate plugin.
Exiting...

Manjaro x86_64, GCC 9.2

ycollet commented 4 years ago

I will try to see where this problem comes from? Can you try a ldd /home/chris/.lv2/super_welle-psi.lv2/super_welle.so ?

SpotlightKid commented 4 years ago
$ ldd /home/chris/.lv2/super_welle-psi.lv2/super_welle.so
    linux-vdso.so.1 (0x00007ffd943b2000)
    libc.so.6 => /usr/lib/libc.so.6 (0x00007f8e52dbd000)
    /usr/lib64/ld-linux-x86-64.so.2 (0x00007f8e53030000)
SpotlightKid commented 4 years ago

Steps I took for building & installation:

python2 waf configure --prefix=/usr --lv2-user
python2 waf build
python2 waf install
ycollet commented 4 years ago

Thanks a lot. I check ..

ycollet commented 4 years ago

I just pushed a commit. I modified some h / c files to remove inline. I added in wscript the link to libm.so ...

SpotlightKid commented 4 years ago

Now it opens in jalv.gtk with the generic UI and jalv prints this error message:

suil error: Unable to open UI library /home/chris/.lv2/super_welle-psi.lv2/super_welle_ui.so (/home/chris/.lv2/super_welle-psi.lv2/super_welle_ui.so: undefined symbol: _Z7bl_freqP6BL_Oscd)

In Carla, also just the generic UI.

SpotlightKid commented 4 years ago

BTW, plugins having more than one lv2:InputPort, atom:AtomPort do not work in most LV2 hosts.

https://github.com/ycollet/psi-plugins/blob/master/super_welle.lv2/super_welle.ttl.in#L42 https://github.com/ycollet/psi-plugins/blob/master/super_welle.lv2/super_welle.ttl.in#L106

See also: https://github.com/falkTX/Carla/issues/915 https://github.com/sjaehn/BShapr/issues/6

ycollet commented 4 years ago

Hmm, I just tested the super_welle.so file. Let's check the other one :)

ycollet commented 4 years ago

The first part is now fixed (build + link of the so files). I have pushed the changes I will try to fix the ttl files now.

SpotlightKid commented 4 years ago

I an confirm it works now in jalv. Not in Carla though (due to the two atom input ports most probably).

ycollet commented 4 years ago

The last part is a little bit touchy. I am not the original dev of these plugins. I think removing this input is managable. I'll post a message once this is done.