I'm in the process of converting quasimodo/csound opcodes to ladpsa.
Thanks to Paul's clean header files, I was able to write a python script
that parses all headers, and generates wrapper code for ladspa.
It works fairly well for simple one, like filters, but I encountered
some general problems:
1 - how to cleanly handle wave tables ? If you were to write an
oscillator
for example, how would you write the plugin:
a - you woudl have 1 port for the "number" of the table (a la
csound) ?
(it would requires a function provided by the host that would
returns
the buffer, and the buffer size)
b - you would have 2 ports, one for the wave buffer, and one for the
wave size ?
2 -how to handle a list of parameters ? simply by accessing through a
LADSPA_Data[]
and a size, as in 1.b ?
--
Stéphane Conversy
http://www-ihm.lri.fr/~conversy/
mailto:[EMAIL PROTECTED]