ix@replic.net schrieb:
I'm curious how to set the values of a LADSPA plugin uing the [plugin~] object. Seems like it's a bit of a pain in the ass to use. For example
you got further than me, just get "LADSPA plugin not found in any library" for anything here. the one time i did manage to get it to load something, i recall the above 'control inputs' msg is just sent to stderr, so theres no way to populate a menu in PD? not to mention theres no way to get a list of all plugins without globbing the .so files in a shell...and no way to host DSSI, and PD is totally broken/useless for DSP on 64bit anyways..
Hi, make sure, you have the LADSPA-PATH env-var set correctly. On my system my pd startup reads like this:
export LADSPA_PATH=/usr/lib/ladspa cd /home/lutz/Documents/pd pd -path /usr/lib/pd/externs -rt -blocksize 512 -audiobuf 64 -jack -lib zexy:...
attached you'll find a small example-patch on how to control a LADSPA-pluggie (requires freeverb, its either in the 'swh-' or in the 'cmt-plugins' package)
m.f.g
Lutz
#N canvas 109 86 631 380 10; #X obj 490 198 adc~ 1 2; #X obj 428 245 plugin~ freeverb3; #X msg 227 155 control #5 $1; #X obj 227 20 vsl 8 128 0 1 0 1 empty empty empty 0 -8 0 8 -262144 -1 -1 0 1; #X obj 127 20 vsl 8 128 0 1 0 1 empty empty empty 0 -8 0 8 -262144 -1 -1 6300 1; #X msg 127 155 control #4 $1; #X msg 327 155 control #2 $1; #X obj 327 20 vsl 8 128 0 1 0 1 empty empty empty 0 -8 0 8 -262144 -1 -1 5600 1; #X text 354 132 roomsize; #X text 146 132 wetlevel; #X text 257 131 drylevel; #X obj 428 20 vsl 8 128 0 1 0 1 empty empty empty 0 -8 0 8 -262144 -1 -1 8400 1; #X text 454 133 damping; #X msg 428 155 control #3 $1; #X obj 27 20 vsl 8 128 0 1 0 1 empty empty empty 0 -8 0 8 -262144 -1 -1 7700 1; #X msg 27 155 control #6 $1; #X text 60 133 width; #X obj 486 267 dac~ 1 2; #X obj 486 222 *~; #X obj 541 222 *~; #X obj 573 139 vsl 8 80 0 1 0 1 empty empty empty 0 -8 0 8 -262144 -1 -1 5300 1; #X text 542 114 input gain; #X connect 0 0 18 0; #X connect 0 1 19 0; #X connect 1 1 17 0; #X connect 1 2 17 1; #X connect 2 0 1 0; #X connect 3 0 2 0; #X connect 4 0 5 0; #X connect 5 0 1 0; #X connect 6 0 1 0; #X connect 7 0 6 0; #X connect 11 0 13 0; #X connect 13 0 1 0; #X connect 14 0 15 0; #X connect 15 0 1 0; #X connect 18 0 1 1; #X connect 19 0 1 2; #X connect 20 0 18 1; #X connect 20 0 19 1;